adding Client Current Time Service

This commit is contained in:
hathach committed 2017-07-18 21:03:11 +07:00
1 parent f56c0dc458
commit c8c05f3125
4 files changed
+126 -1

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ void BLEGatt::_eventHandler(ble_evt_t* evt)
for(int i=0; i<_client.chr_count; i++)
{
if ( evt_conn_hdl == _client.chr_list[i]->_conn_hdl )
if ( evt_conn_hdl == _client.chr_list[i]->connHandle() )
{
_client.chr_list[i]->disconnect();
}