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.
ls
1 parent cda2c8b commit 9a6d2075858586229d6210d255622aa61cdd0561
@George Beckstein George Beckstein authored on 6 Oct 2020
Showing 6 changed files
View
connectivity/FEATURE_BLE/include/ble/GattServer.h
View
connectivity/FEATURE_BLE/include/ble/gatt/ChainableGattServerEventHandler.h
View
connectivity/FEATURE_BLE/include/ble/gatt/GattCallbackParamTypes.h
View
connectivity/FEATURE_BLE/source/GattServer.cpp
View
connectivity/FEATURE_BLE/source/cordio/source/GattServerImpl.cpp
View
connectivity/FEATURE_BLE/source/cordio/source/GattServerImpl.h