Skip to content

Commit e83bf40

Browse files
committed
Changed to use the first cccd descriptor found.
1 parent 4fd1d0c commit e83bf40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/Bluefruit52Lib/src/BLEClientCharacteristic.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ bool BLEClientCharacteristic::_discoverDescriptor(uint16_t conn_handle, ble_gatt
155155
{
156156
LOG_LV2("DISC", "Found CCDD: handle = %d", disc_rsp.descs[i].handle);
157157
_cccd_handle = disc_rsp.descs[i].handle;
158+
159+
break;
158160
}
159161
}
160162

0 commit comments

Comments
 (0)