High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 245:712e0719d7e9, committed 2014-12-11
- Comitter:
- rgrover1
- Date:
- Thu Dec 11 11:52:32 2014 +0000
- Parent:
- 244:aa639ef2f290
- Child:
- 246:6c2402f286f6
- Commit message:
- Synchronized with git rev eed20c82
Author: Rohit Grover
make use of getValueHandle() as a short cut.
Changed in this revision
services/DFUService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/services/DFUService.h Thu Dec 11 11:52:32 2014 +0000 +++ b/services/DFUService.h Thu Dec 11 11:52:32 2014 +0000 @@ -96,7 +96,7 @@ * Information about the characterisitc being updated. */ virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { - if (params->charHandle == controlPoint.getValueAttribute().getHandle()) { + if (params->charHandle == controlPoint.getValueHandle()) { /* At present, writing anything will do the trick--this needs to be improved. */ if (handoverCallback) { handoverCallback();