summaryrefslogtreecommitdiff
path: root/src/SystemTask/SystemTask.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-06-27Re-enable watchdogJF1-2/+2
2020-06-16Update to nimble 1.3.0 + WIP : debug BLE connection issue with android phones.JF1-2/+2
2020-06-13Fix idle timer bug that would prevent the screen from waking up.JF1-0/+3
2020-06-01Automatically go to sleep after 5 sec of inactivity.JF1-7/+46
Advertise for 3 minutes at startup and on wake-up. Disable automatic continuous StartAdvertising.
2020-06-01DFU : add timeout detection : abort dfu procedure after 10s without any data ↵JF1-1/+2
from the host.
2020-06-01Improve DFU procedure :JF1-0/+1
- 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-24Add driver for writing into the internal flash.JF1-27/+7
Write the OK flag for mcuboot using this driver.
2020-05-24Refactor CMake files to allow building 2 binaries : one standalone and one ↵JF1-5/+5
compatible with mcuboot bootloader (the offset in memory is different). Add documentation about mcuboot image generation and OTA. Re-enable watchdog
2020-05-24Working demo of OTA using MCUBoot ↵JF1-0/+29
https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.4
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF1-8/+6
DFUService (WIP)
2020-05-07Add SPI NOR Flash driver, WIP.JF1-2/+4
2020-05-02Merge branch 'nimble' into nimble-otaJF1-2/+2
2020-05-02Add new screen that is displayed during the OTA transfert.JF1-0/+6
2020-05-01Defer the discovery of services using the system task.JF1-0/+16
2020-04-27Re-enable watchdogJF1-2/+2
2020-04-27BLE : Display the actual status of the connection on the screen.JF1-1/+2
2020-04-27Remove references to BLE ManagerAdam Pigg1-1/+0
2020-04-25NimbleController : CTS & ANS working but not at the same time (conflict ↵JF1-1/+1
during discovery)
2020-04-22NimbleController : support CTSJF1-1/+1
2020-04-19Encapsulate nimble code into NimbleController.JF1-75/+4
Handle all GAP events.
2020-04-19Integration of nimble, work in progress.JF1-6/+84
Advertising is working.
2020-03-28Encapsulate Notification management in NotificationManager. It implement a ↵JF1-6/+9
static array of notifications to avoid dynamic allocation.
2020-03-25Add support for BLE notification (ANS client).JF1-1/+7
Work In Progress!!!
2020-03-22Add new App : Sysinfo. It displays various info about the running system : ↵JF1-2/+4
version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
2020-03-14Display battery level and BLE connection status using icon on Clock screen.JF1-3/+3
2020-03-08When a full screen refresh is done, apply a vertical scroll during the ↵JF1-2/+2
refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
2020-03-06Call ble_manager_init_peer_manager() _after_ the scheduler has been started. ↵JF1-0/+1
This fixes an issue that would prevent the firmware from running correctly after a full reset or after the flashing of the firmware. Before this fix, ble_manager_init_peer_manager() was called before the scheduler, which trigged an assert in an IRQ routine.
2020-03-02Re-Enable BLEJF1-1/+1
2020-02-26Add new Screens (gauge, meter,...)JF1-1/+1
2020-02-23Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF1-1/+7
than 7s.
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF1-2/+4
2020-02-23Do not compile GFX and older fonts anymore.JF1-0/+115
Refactor SystemTask in its own class. Refactor Screen to be able to close current screen and open a new one. Re-enable sleep/wake up and propagate button event to Screens.