This commit is contained in:
hathach committed 2019-01-22 23:04:29 +07:00
1 parent 89be3a197f
commit 5d76dfa012
7 files changed
+8 -11

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ void BLEGatt::_eventHandler(ble_evt_t* evt)
const uint16_t evt_conn_hdl = evt->evt.common_evt.conn_handle;
const uint16_t evt_id = evt->header.evt_id;
BLEConnection* conn = (evt_conn_hdl == BLE_CONN_HANDLE_INVALID) ? NULL : Bluefruit.Gap.Connection(evt_conn_hdl);
BLEConnection* conn = Bluefruit.Gap.Connection(evt_conn_hdl);
/*------------- Server service -------------*/
// TODO multiple peripherals