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.
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of BLE_API by
Diff: ble/services/LinkLossService.h
- Revision:
- 713:9f4251b3355c
- Parent:
- 712:b04b5db36865
diff -r b04b5db36865 -r 9f4251b3355c ble/services/LinkLossService.h
--- a/ble/services/LinkLossService.h Fri Jun 19 15:53:29 2015 +0100
+++ b/ble/services/LinkLossService.h Fri Jun 19 23:45:12 2015 +0000
@@ -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);
}
}
