Minor temporary patch to allow DFU packet callback
Fork of BLE_API by
Diff: services/URIBeacon2Service.h
- Revision:
- 203:7b5178d2fa03
- Parent:
- 202:c19c327cb985
- Child:
- 204:479f81fd5d3b
diff -r c19c327cb985 -r 7b5178d2fa03 services/URIBeacon2Service.h --- a/services/URIBeacon2Service.h Mon Dec 01 14:31:17 2014 +0000 +++ b/services/URIBeacon2Service.h Mon Dec 01 14:31:17 2014 +0000 @@ -264,7 +264,7 @@ return encodedBytes; } - virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { + void onDataWritten(const GattCharacteristicWriteCBParams *params) { if (params->charHandle == uriDataChar.getValueAttribute().getHandle()) { if (lockedState) { /* When locked, the device isn't allowed to update the uriData characteristic. */ /* Restore GATT database with previous value. */