From f96c048debc84bf2ccd10c4e7356e8e20df9bb3a Mon Sep 17 00:00:00 2001 From: JF Date: Sun, 3 May 2020 15:48:42 +0200 Subject: Read and log info from Start and Ini packets. --- src/Components/Ble/DfuService.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Components/Ble/DfuService.h') diff --git a/src/Components/Ble/DfuService.h b/src/Components/Ble/DfuService.h index 7077bf02..f59ba2c9 100644 --- a/src/Components/Ble/DfuService.h +++ b/src/Components/Ble/DfuService.h @@ -85,6 +85,10 @@ namespace Pinetime { uint32_t nbPacketReceived = 0; uint32_t bytesReceived = 0; + uint32_t softdeviceSize = 0; + uint32_t bootloaderSize = 0; + uint32_t applicationSize = 0; + int SendDfuRevision(os_mbuf *om) const; void SendNotification(uint16_t connectionHandle, const uint8_t *data, const size_t size); int WritePacketHandler(uint16_t connectionHandle, os_mbuf *om); -- cgit v1.2.3