Update GattServer Callback API
Update parameters passed to onDataSent, onUpdatesEnabled/Disabled, and onConfirmationReceived callbacks. Deprecate single-callback-registering functions for event handling in lieu of the new EventHandler-based API. Introduce new GattServer::EventHandler callback functions to replace the deprecated versions. |
---|
|
connectivity/FEATURE_BLE/include/ble/GattServer.h |
---|
connectivity/FEATURE_BLE/include/ble/gatt/ChainableGattServerEventHandler.h |
---|
connectivity/FEATURE_BLE/include/ble/gatt/GattCallbackParamTypes.h |
---|
connectivity/FEATURE_BLE/source/GattServer.cpp |
---|
connectivity/FEATURE_BLE/source/cordio/source/GattServerImpl.cpp |
---|
connectivity/FEATURE_BLE/source/cordio/source/GattServerImpl.h |
---|