We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77511c3 commit b21e1d2Copy full SHA for b21e1d2
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp
@@ -509,11 +509,14 @@ void BLE::stack_setup()
509
DmConnRegister(DM_CLIENT_ID_APP, BLE::device_manager_cb);
510
#endif
511
512
+#if BLE_FEATURE_GATT_SERVER
513
+ AttConnRegister(BLE::connection_handler);
514
+#endif
515
+
516
#if BLE_FEATURE_ATT
517
#if BLE_FEATURE_GATT_CLIENT
518
AttRegister((attCback_t) ble::pal::vendor::cordio::CordioAttClient::att_client_handler);
519
#else
- AttConnRegister(BLE::connection_handler);
520
AttRegister((attCback_t) ble::vendor::cordio::GattServer::att_cb);
521
#endif // BLE_FEATURE_GATT_CLIENT
522
0 commit comments