add ClientCharacteristic disconnect()

This commit is contained in:
hathach committed 2017-07-18 21:00:58 +07:00
1 parent 32767269c1
commit f56c0dc458
4 files changed
+19 -3

No files matched your search

@@ -76,7 +76,7 @@ void BLEClientUart::setRxCallback( rx_callback_t fp)
bool BLEClientUart::discover(uint16_t conn_handle)
{
// Call BLECentralService discover
// Call Base class discover
VERIFY( BLEClientService::discover(conn_handle) );
_conn_hdl = BLE_CONN_HANDLE_INVALID; // make as invalid until we found all chars