From 0195ece317d15bcba7dfbd74b58bb8dbcd3bca0a Mon Sep 17 00:00:00 2001 From: JF Date: Fri, 1 May 2020 15:36:48 +0200 Subject: Working DfuService with quick'n'ugly code --- src/Components/Ble/DfuService.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Components/Ble/DfuService.h') diff --git a/src/Components/Ble/DfuService.h b/src/Components/Ble/DfuService.h index 221b6e89..bb643632 100644 --- a/src/Components/Ble/DfuService.h +++ b/src/Components/Ble/DfuService.h @@ -51,6 +51,12 @@ namespace Pinetime { uint16_t packetCharacteristicHandle; uint16_t controlPointCharacteristicHandle; uint16_t revisionCharacteristicHandle; + uint8_t opcode = 0; + uint8_t param = 0; + uint8_t nbPacketsToNotify = 0; + uint32_t nbPacketReceived = 0; + bool dataMode = false; + uint32_t bytesReceived = 0; }; } } \ No newline at end of file -- cgit v1.2.3-70-g09d2