Changed to use the first cccd descriptor found.
This commit is contained in:
1 parent
4fd1d0c0ea
commit
e83bf4047a
1 file changed
+2
@@ -155,6 +155,8 @@ bool BLEClientCharacteristic::_discoverDescriptor(uint16_t conn_handle, ble_gatt
|
||||
{
|
||||
LOG_LV2("DISC", "Found CCDD: handle = %d", disc_rsp.descs[i].handle);
|
||||
_cccd_handle = disc_rsp.descs[i].handle;
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user