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(
17351735 switch (type) {
17361736 case GattServerEvents::GATT_EVENT_UPDATES_ENABLED:
17371737 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) );
17391739 if (eventHandler) {
17401740 GattUpdatesEnabledCallbackParams params ({
17411741 .connHandle = connHandle,
@@ -1752,7 +1752,7 @@ void GattServer::handleEvent(
17521752 break ;
17531753 case GattServerEvents::GATT_EVENT_UPDATES_DISABLED:
17541754 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) );
17561756 if (eventHandler) {
17571757 GattUpdatesDisabledCallbackParams params ({
17581758 .connHandle = connHandle,
You can’t perform that action at this time.
0 commit comments