move clearBonds() to PrPh
This commit is contained in:
1 parent
8f554493db
commit
cd45f0adc2
8 files changed
+70
-28
No files matched your search
@@ -22,7 +22,7 @@
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(115200);
|
||||
while ( !Serial ) delay(10); // for nrf52840 with native usb
|
||||
// while ( !Serial ) delay(10); // for nrf52840 with native usb
|
||||
|
||||
Serial.println("Bluefruit52 Clear Bonds Example");
|
||||
Serial.println("-------------------------------\n");
|
||||
@@ -34,7 +34,7 @@ void setup()
|
||||
bond_print_list(BLE_GAP_ROLE_PERIPH);
|
||||
bond_print_list(BLE_GAP_ROLE_CENTRAL);
|
||||
|
||||
Bluefruit.clearBonds();
|
||||
Bluefruit.Periph.clearBonds();
|
||||
Bluefruit.Central.clearBonds();
|
||||
|
||||
Serial.println();
|
||||
|
||||
Reference in new issue
Block a user