add ble_gattc_handle_range_t to clientService
This commit is contained in:
1 parent
08187e3c15
commit
cece1ef746
5 files changed
+48
No files matched your search
@@ -75,6 +75,8 @@ bool BLEDiscovery::_discoverService(uint16_t conn_handle, BLEClientService& svc,
|
||||
if ( (disc_svc.count == 1) && (svc.uuid == disc_svc.services[0].uuid) )
|
||||
{
|
||||
_hdl_range = disc_svc.services[0].handle_range;
|
||||
svc.setHandleRange(_hdl_range.start_handle, _hdl_range.end_handle);
|
||||
|
||||
LOG_LV2(Discover, "[SVC] Found 0x%04X, Handle start = %d, end = %d", disc_svc.services[0].uuid.uuid, _hdl_range.start_handle, _hdl_range.end_handle);
|
||||
|
||||
_hdl_range.start_handle++; // increase for characteristic discovery
|
||||
|
||||
Reference in new issue
Block a user