This commit is contained in:
hathach committed 2017-07-26 12:01:24 +07:00
1 parent 8add8a37b9
commit fdc0547f3e
5 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ void BLEGatt::_eventHandler(ble_evt_t* evt)
const uint16_t evt_id = evt->header.evt_id;
// Server Service TODO multiple peripherals
if ( evt_conn_hdl == Bluefruit.connHandle() )
// if ( evt_conn_hdl == Bluefruit.connHandle() )
{
if ( evt_id == BLE_GAP_EVT_DISCONNECTED || evt_id == BLE_GAP_EVT_CONNECTED )
{