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 726:6884e374e2eb, committed 2015-07-02
- Comitter:
- rgrover1
- Date:
- Thu Jul 02 09:06:12 2015 +0100
- Parent:
- 725:f4a355b35cf8
- Child:
- 727:1a1f5c5aedfe
- Commit message:
- Synchronized with git rev 4ac9700a
Author: Rohit Grover
update LinkLossService with changes to GattWriteCallbackParams
Changed in this revision
| ble/services/LinkLossService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/services/LinkLossService.h Thu Jul 02 09:06:12 2015 +0100
+++ b/ble/services/LinkLossService.h Thu Jul 02 09:06:12 2015 +0100
@@ -81,7 +81,7 @@
* Information about the characterisitc being updated.
*/
virtual void onDataWritten(const GattWriteCallbackParams *params) {
- if (params->charHandle == alertLevelChar.getValueHandle()) {
+ if (params->handle == alertLevelChar.getValueHandle()) {
alertLevel = *reinterpret_cast<const AlertLevel_t *>(params->data);
}
}
