Adafruit_BluefruitLE_nRF51 icon indicating copy to clipboard operation
Adafruit_BluefruitLE_nRF51 copied to clipboard

Not getting HWADDR back

Open Fossil01 opened this issue 3 years ago • 0 comments

void setup(void)
{

  //while (!Serial);
  delay(500);

  Serial.begin(115200);
  Serial.println(F("BT Remote"));
  Serial.println(F("---------------------------------------"));

  /* Initialise the module */
  Serial.print(F("Initialising the Bluefruit LE module: "));

  if (!ble.begin(VERBOSE_MODE))
  {
    error(F("Couldn't find Bluefruit, make sure it's in CoMmanD mode & check wiring?"));
  }
  Serial.println(F("OK!"));

   ble.println(F("AT+BLEGETADDR"));
   ble.waitForOK();
   Serial.print(F("Done."));
}

Whatever I try I cannot get the HWAddr from the Feather 32u4. I need either that or the serial number.

With ble.println(F("AT+BLEGETADDR")); or just ble.println ("AT+BLEGETADDR"); nothing is printed in the console.

Fossil01 avatar Apr 11 '21 21:04 Fossil01