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 721:8f92a1a943d6, committed 2015-07-02
- Comitter:
- rgrover1
- Date:
- Thu Jul 02 09:06:12 2015 +0100
- Parent:
- 720:ce8a760a4504
- Child:
- 722:eab9499e4250
- Commit message:
- Synchronized with git rev 7fb8b66e
Author: Rohit Grover
minor rename of a variable.
Changed in this revision
| ble/GattServer.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/GattServer.h Thu Jul 02 09:06:12 2015 +0100
+++ b/ble/GattServer.h Thu Jul 02 09:06:12 2015 +0100
@@ -267,21 +267,21 @@
}
}
- void handleEvent(GattServerEvents::gattEvent_e type, GattAttribute::Handle_t charHandle) {
+ void handleEvent(GattServerEvents::gattEvent_e type, GattAttribute::Handle_t attributeHandle) {
switch (type) {
case GattServerEvents::GATT_EVENT_UPDATES_ENABLED:
if (updatesEnabledCallback) {
- updatesEnabledCallback(charHandle);
+ updatesEnabledCallback(attributeHandle);
}
break;
case GattServerEvents::GATT_EVENT_UPDATES_DISABLED:
if (updatesDisabledCallback) {
- updatesDisabledCallback(charHandle);
+ updatesDisabledCallback(attributeHandle);
}
break;
case GattServerEvents::GATT_EVENT_CONFIRMATION_RECEIVED:
if (confirmationReceivedCallback) {
- confirmationReceivedCallback(charHandle);
+ confirmationReceivedCallback(attributeHandle);
}
break;
default:
