Minor temporary patch to allow DFU packet callback
Fork of BLE_API by
Diff: services/URIBeacon2Service.h
- Revision:
- 202:c19c327cb985
- Parent:
- 201:9bb7b3f45c20
- Child:
- 203:7b5178d2fa03
diff -r 9bb7b3f45c20 -r c19c327cb985 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,11 +264,6 @@ return encodedBytes; } - /** - * This callback allows the DFU service to receive the initial trigger to - * handover control to the bootloader; but first the application is given a - * chance to clean up. - */ virtual 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. */