Introduce ChainableGapEventHandler subclass of ChainableEventHandler
The ChainableGapEventHandler enables chaining together Gap::EventHandlers so separate parts of an application can be notified of Gap events as needed. The application can register multiple Gap::EventHandler objects to one ChainableGapEventHandler and then set the global Gap::EventHandler to the ChainableGapEventHandler. All registered EventHandlers will then be called when a Gap Event occurs.
ls
1 parent 751674b commit cda2c8bb8dbadc8b9256a35034bccd192094e632
@George Beckstein George Beckstein authored on 8 Oct 2020
Showing 5 changed files
View
connectivity/FEATURE_BLE/include/ble/Gap.h
View
connectivity/FEATURE_BLE/include/ble/GattServer.h
View
connectivity/FEATURE_BLE/include/ble/common/ChainableEventHandler.h
View
connectivity/FEATURE_BLE/include/ble/gap/ChainableGapEventHandler.h 0 → 100644
View
connectivity/FEATURE_BLE/include/ble/gatt/ChainableGattServerEventHandler.h