add discover() to client characteristic

- add getHandleRange to client service
This commit is contained in:
hathach committed 2018-01-04 18:42:37 +07:00
1 parent 78b3906ec1
commit 0133b05fd7
4 files changed
+30 -10

No files matched your search

@@ -96,10 +96,9 @@ void BLEClientService::setHandleRange(ble_gattc_handle_range_t handle_range)
_hdl_range = handle_range;
}
void BLEClientService::setHandleRange(uint16_t start_hdl, uint16_t end_hdl)
ble_gattc_handle_range_t BLEClientService::getHandleRange(void)
{
_hdl_range.start_handle = start_hdl;
_hdl_range.end_handle = end_hdl;
return _hdl_range;
}
void BLEClientService::disconnect(void)