aboutsummaryrefslogtreecommitdiffstats
path: root/src/Components/Ble/DfuService.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-05-01 15:36:48 +0200
committerJF <jf@codingfield.com>2020-05-01 15:36:48 +0200
commit0195ece317d15bcba7dfbd74b58bb8dbcd3bca0a (patch)
tree55b7522972849e5696e724ea7bf6a06cedd0e501 /src/Components/Ble/DfuService.h
parent5291bcc7de582cfe3a83b94781ee80aa79765706 (diff)
Working DfuService with quick'n'ugly code
Diffstat (limited to 'src/Components/Ble/DfuService.h')
-rw-r--r--src/Components/Ble/DfuService.h6
1 files changed, 6 insertions, 0 deletions
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