Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: public/GattServer.h
- Revision:
- 376:47ff130c1d74
- Parent:
- 342:152bd9c825d6
- Child:
- 377:5044c245e996
--- a/public/GattServer.h Wed May 13 08:51:06 2015 +0100 +++ b/public/GattServer.h Wed May 13 08:51:06 2015 +0100 @@ -27,7 +27,7 @@ class GattServer { public: /* Event callback handlers. */ - typedef void (*EventCallback_t)(uint16_t attributeHandle); + typedef void (*EventCallback_t)(GattAttribute::Handle_t attributeHandle); typedef void (*ServerEventCallback_t)(void); /**< independent of any particular attribute */ protected: @@ -110,7 +110,7 @@ } } - void handleEvent(GattServerEvents::gattEvent_e type, uint16_t charHandle) { + void handleEvent(GattServerEvents::gattEvent_e type, GattAttribute::Handle_t charHandle) { switch (type) { case GattServerEvents::GATT_EVENT_UPDATES_ENABLED: if (onUpdatesEnabled) {