diff options
author | JF <jf@codingfield.com> | 2020-05-03 15:48:42 +0200 |
---|---|---|
committer | JF <jf@codingfield.com> | 2020-05-03 15:48:42 +0200 |
commit | f96c048debc84bf2ccd10c4e7356e8e20df9bb3a (patch) | |
tree | e23dd0fb286c24e9ad4658e4ce055d0ee794b2d0 /src/Components/Ble/DfuService.h | |
parent | 59287e518ca4c6feb058c3746f5d3782adcea5d2 (diff) |
Read and log info from Start and Ini packets.
Diffstat (limited to 'src/Components/Ble/DfuService.h')
-rw-r--r-- | src/Components/Ble/DfuService.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |