Open ghost opened 3 years ago
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.
ble.println(F("AT+BLEGETADDR"));
("AT+BLEGETADDR");
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.