Commit Graph

17 Commits (latest)

Author SHA1 Message Date
Paul Szczepanek 55657c588b clarify ble event docs with corssreferences 2021-06-23 13:27:15 +01:00
Paul Szczepanek b61fc6b639 Deprecate indications event onConfirmationReceived 2021-04-28 14:02:56 +01:00
Paul Szczeanek 5e99ea8d7e correct the documentation for GattServer::addService 2021-01-04 17:11:03 +00:00
George Beckstein 9a6d207585 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.
2020-10-14 12:44:12 -04:00
George Beckstein cda2c8bb8d 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.
2020-10-14 12:44:09 -04:00
Vincent Coubard 241c69f50d BLE: Cleanup public headers 2020-08-25 11:26:28 +01:00
Vincent Coubard 7cbc0e38a4 BLE: Clang tidy on public headers. 2020-08-25 11:26:28 +01:00
Vincent Coubard 13c358717f BLE: Move GATT public header into ble/gatt
Move private headers GattServerEvents.h, GapEvents,h and GapType.h in relevant part of the source tree.
2020-08-25 11:26:26 +01:00
Vincent Coubard 27cb03824e BLE: Move common publi headers into ble/common 2020-08-25 11:26:26 +01:00
Vincent Coubard 41c8c22a96 BLE: Warning cleanup
- Missing default assignment operator
- Field order in construction list
- Typo
- Unused header
2020-08-25 11:26:26 +01:00
Vincent Coubard c773870d56 BLE: Bind interface to private implementation. 2020-08-25 11:26:26 +01:00
Vincent Coubard cf3ede0191 BLE: GattServer PIMPL 2020-08-25 11:26:25 +01:00
Paul Szczeanek ec4cbb7c23 make include path backwards compatible 2020-08-07 14:20:44 +01:00
Paul Szczeanek 98bb0f7e55 fix backwards compatibility 2020-08-07 11:59:14 +01:00
Paul Szczeanek 9603708fc5 import ble modules into global namespace 2020-08-07 11:59:14 +01:00
Paul Szczeanek 7e64019074 move pal to cordio, remove cordio mentions from API 2020-08-07 11:59:14 +01:00
Paul Szczeanek 365cb3c5d0 remove generic, TPPs, nested namespaces 2020-08-07 11:59:14 +01:00