High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: ble/GattServer.h
- Revision:
- 721:8f92a1a943d6
- Parent:
- 710:b2e1a2660ec2
- Child:
- 724:80e065731d70
--- 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: