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
Revision 376:47ff130c1d74, committed 2015-05-13
- Comitter:
- rgrover1
- Date:
- Wed May 13 08:51:06 2015 +0100
- Parent:
- 375:9cb0b006227e
- Child:
- 377:5044c245e996
- Commit message:
- Synchronized with git rev a00bcb11
Author: Rohit Grover
use GattAttribute::Handle_t in a couple of places.
Changed in this revision
| public/GattServer.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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) {
