code clean up
This commit is contained in:
1 parent
8034f79236
commit
a96bcc04d2
2 files changed
+15
-9
No files matched your search
@@ -514,15 +514,6 @@ void AdafruitBluefruit::_ble_handler(ble_evt_t* evt)
|
||||
Advertising.start();
|
||||
break;
|
||||
|
||||
case BLE_GAP_EVT_TIMEOUT:
|
||||
if (evt->evt.gap_evt.params.timeout.src == BLE_GAP_TIMEOUT_SRC_ADVERTISING)
|
||||
{
|
||||
// TODO advanced advertising
|
||||
// Restart Advertising
|
||||
Advertising.start();
|
||||
}
|
||||
break;
|
||||
|
||||
case BLE_GAP_EVT_SEC_PARAMS_REQUEST:
|
||||
{
|
||||
// Pairing in progress
|
||||
|
||||
Reference in new issue
Block a user