diff options
| author | JF <jf@codingfield.com> | 2020-05-01 13:36:48 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-05-01 13:36:48 (GMT) |
| commit | 0195ece317d15bcba7dfbd74b58bb8dbcd3bca0a (patch) | |
| tree | 55b7522972849e5696e724ea7bf6a06cedd0e501 /src/Components/Ble/DfuService.h | |
| parent | 5291bcc7de582cfe3a83b94781ee80aa79765706 (diff) | |
Working DfuService with quick'n'ugly code
Diffstat (limited to 'src/Components/Ble/DfuService.h')
| -rw-r--r-- | src/Components/Ble/DfuService.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Components/Ble/DfuService.h b/src/Components/Ble/DfuService.h index 221b6e8..bb64363 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 |
