summaryrefslogtreecommitdiff
path: root/src/Components/Ble/DfuService.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-10-02Renamed Components/ to components/Avamander1-440/+0
2020-08-17Fix most of the warnings. Remaining warnings come from nimble source code.JF1-2/+2
2020-06-16Update to nimble 1.3.0 + WIP : debug BLE connection issue with android phones.JF1-2/+6
2020-06-07DfuService : fix Magic number : incorrect values were written in memory.JF1-2/+2
2020-06-01Encapsulate DFU Image buffering and writing into spi flash in DfuImage.JF1-81/+100
Add some const in SPI driver.
2020-06-01Encapsulate notification send (sync/async) into DfuService::NotificationManager;JF1-49/+61
2020-06-01DFU : add timeout detection : abort dfu procedure after 10s without any data ↵JF1-9/+37
from the host.
2020-06-01Improve DFU procedure :JF1-116/+153
- correctly write all bytes to flash - check CRC - Fix bug in notification : they cannot be sent from the control point handler (because it seems you cannot send a notification and a write acknowledge at the same time) using a timer (quick'n'dirty implementation to be improved) - Improve dfu screen - Reset if dfu image is correctly copied into flash and crc is ok.
2020-05-24Working demo of OTA using MCUBoot ↵JF1-5/+28
https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.4
2020-05-20Fix offset issues in OTA procedure.JF1-6/+61
CRC verification : work in progress (not fully working for now).
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF1-1/+16
DFUService (WIP)
2020-05-03Read and log info from Start and Ini packets.JF1-3/+23
2020-05-03Improve dfu state machineJF1-6/+17
2020-05-02Add new screen that is displayed during the OTA transfert.JF1-1/+12
2020-05-01Clean code of DfuServiceJF1-99/+122
2020-05-01Working DfuService with quick'n'ugly codeJF1-9/+69
2020-04-27Nimble OTA : work in progressJF1-68/+89
2020-04-26Add Nimble in libs directoryJF1-0/+101