clean up
This commit is contained in:
1 parent
9d0979c8be
commit
a398152c87
1 file changed
+12
-6
@@ -704,13 +704,19 @@ void AdafruitBluefruit::printInfo(void)
|
||||
Serial.println();
|
||||
|
||||
/*------------- List the paried device -------------*/
|
||||
Serial.printf(title_fmt, "Peripheral Paired Devices");
|
||||
Serial.println();
|
||||
bond_print_list(BLE_GAP_ROLE_PERIPH);
|
||||
if ( _prph_count )
|
||||
{
|
||||
Serial.printf(title_fmt, "Peripheral Paired Devices");
|
||||
Serial.println();
|
||||
bond_print_list(BLE_GAP_ROLE_PERIPH);
|
||||
}
|
||||
|
||||
Serial.printf(title_fmt, "Central Paired Devices");
|
||||
Serial.println();
|
||||
bond_print_list(BLE_GAP_ROLE_CENTRAL);
|
||||
if ( _central_count )
|
||||
{
|
||||
Serial.printf(title_fmt, "Central Paired Devices");
|
||||
Serial.println();
|
||||
bond_print_list(BLE_GAP_ROLE_CENTRAL);
|
||||
}
|
||||
|
||||
Serial.println();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user