improve bonding with on-the-fly semaphore

enhance central bond
This commit is contained in:
hathach committed 2018-02-26 17:30:14 +07:00
1 parent e81f60cd2e
commit f3136abcda
6 files changed
+101 -37

No files matched your search

+4 -4
View File
@@ -731,13 +731,13 @@ void AdafruitBluefruit::printInfo(void)
Serial.println();
/*------------- List the paried device -------------*/
Serial.printf(title_fmt, "Peripheral Paired Devices\n");
Serial.printf(title_fmt, "Peripheral Paired Devices");
Serial.println();
bond_print_list(BLE_GAP_ROLE_PERIPH);
Serial.println();
Serial.printf(title_fmt, "Central Paired Devices\n");
bond_print_list(BLE_GAP_ROLE_CENTRAL);
Serial.printf(title_fmt, "Central Paired Devices");
Serial.println();
bond_print_list(BLE_GAP_ROLE_CENTRAL);
Serial.println();
}