High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 301:54c87189e423, committed 2015-03-02
- Comitter:
- rgrover1
- Date:
- Mon Mar 02 11:50:48 2015 +0000
- Parent:
- 300:d9a39f759a6a
- Child:
- 302:8f4348c2b6b5
- Commit message:
- Synchronized with git rev 44bf3f4c
Author: Rohit Grover
#33: minor fix for a typo
Changed in this revision
public/GattServer.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/GattServer.h Mon Mar 02 11:50:48 2015 +0000 +++ b/public/GattServer.h Mon Mar 02 11:50:48 2015 +0000 @@ -69,11 +69,11 @@ * A virtual function to allow underlying stacks to indicate if they support * onDataRead(). It should be overridden to return true as applicable. */ - virtual bool isOnDataReadAvaialble() const { + virtual bool isOnDataReadAvailable() const { return false; } ble_error_t setOnDataRead(void (*callback)(const GattCharacteristicReadCBParams *eventDataP)) { - if (!isOnDataReadAvaialble()) { + if (!isOnDataReadAvailable()) { return BLE_ERROR_NOT_IMPLEMENTED; } @@ -82,7 +82,7 @@ } template <typename T> ble_error_t setOnDataRead(T *objPtr, void (T::*memberPtr)(const GattCharacteristicReadCBParams *context)) { - if (!isOnDataReadAvaialble()) { + if (!isOnDataReadAvailable()) { return BLE_ERROR_NOT_IMPLEMENTED; }