fix memory issue with discovery characteristic

- when Number of found chars > Number of expected chars
This commit is contained in:
hathach committed 2017-09-25 20:11:09 +07:00
1 parent e33fe9374c
commit f7f4daa395
4 files changed
+17 -8

No files matched your search

@@ -91,6 +91,11 @@ uint16_t BLEClientService::connHandle(void)
return _conn_hdl;
}
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)
{
_hdl_range.start_handle = start_hdl;