File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
connectivity/FEATURE_BLE/source/cordio/source Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1735,7 +1735,7 @@ void GattServer::handleEvent(
1735
1735
switch (type) {
1736
1736
case GattServerEvents::GATT_EVENT_UPDATES_ENABLED:
1737
1737
tr_info (" Updates enabled for attribute %d on connection %d" , attributeHandle, connHandle);
1738
- get_value_handle_by_cccd_handle (attributeHandle, charHandle);
1738
+ MBED_ASSERT ( get_value_handle_by_cccd_handle (attributeHandle, charHandle) );
1739
1739
if (eventHandler) {
1740
1740
GattUpdatesEnabledCallbackParams params ({
1741
1741
.connHandle = connHandle,
@@ -1752,7 +1752,7 @@ void GattServer::handleEvent(
1752
1752
break ;
1753
1753
case GattServerEvents::GATT_EVENT_UPDATES_DISABLED:
1754
1754
tr_info (" Updates disabled for attribute %d on connection %d" , attributeHandle, connHandle);
1755
- get_value_handle_by_cccd_handle (attributeHandle, charHandle);
1755
+ MBED_ASSERT ( get_value_handle_by_cccd_handle (attributeHandle, charHandle) );
1756
1756
if (eventHandler) {
1757
1757
GattUpdatesDisabledCallbackParams params ({
1758
1758
.connHandle = connHandle,
You can’t perform that action at this time.
0 commit comments