summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.cpp
AgeCommit message (Collapse)Author
2021-12-10List Dir works?Tim Keller
2021-12-09Fixed unpopped diagnosticAvamander
2021-12-09Improved format specifiers, bracing, removed C-style casts, whitespace fixes ↵Avamander
and removed Tiles shadowing
2021-12-09Break not return thanks @FintasticManTim Keller
2021-12-09Adjust systemtask to respect doNotGoToSleep.Tim Keller
2021-12-09Adjust BLE/LL stacks, style, comments, refactoringJames A. Jerkins
Increase BLE task stack +200 and decrease LL task stack -200 more braces!
2021-12-09Persist bond between rebootsJames A. Jerkins
Save bond information in the FS after a disconnect or encryption change if the bond is not already stored. The bond is restored on boot enabling automatic reconnection to a previously bonded central. Two consecutive watch reboots with the central out of range (or BLE off) will remove the stored bond from the watch.
2021-12-09Connect and bond with a passkeyJames A. Jerkins
This commit adds the following: Passkey pairing - passkey is displayed on watch Swipe down to clear passkey screen Connection encryption Connection bonding Automatic reconnects to a bonded peripheral Trusted device on Android Note that persisting the bond between reboots is NOT included in this commit. Therefore, rebooting the watch will cause reconnect failures. You must delete the bond from the phone to reconnect/pair.
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-11-07Fix previous commit, call touchPanel.Init() even if we disabled the touch ↵Jean-François Milants
controller boot error.
2021-11-07Disable the warning that is displayed when the initialization of the touch ↵Jean-François Milants
controller fails, as some users reported that it was displayed when a valid touch controller was installed.
2021-10-25Make it so special actions can be input while sleeping, like in #480Riku Isokoski
2021-10-25Only wake up on press. Fixes issue with longer press and sleepRiku Isokoski
2021-10-25Return button action instead of pushing messagesRiku Isokoski
2021-10-25Use enum classes, remove old commentRiku Isokoski
2021-10-25Newer buttonhandlerRiku Isokoski
2021-10-17Add MotionService : expose step count and RAW X/Y/Z values to the host.Jean-François Milants
2021-10-14Make new notifications refresh idle timerFederico Igne
2021-10-10Merge branch 'update_touch_driver' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants
into Riksu9000-update_touch_driver # Conflicts: # src/displayapp/Apps.h
2021-10-09Remove call to `batteryController.Update();` which was replaced by ↵Jean-François Milants
`batteryController.MeasureVoltage()`.
2021-10-09Merge pull request #715 from hubmartin/gpiote-fixJF
Fix GPIOTE not calling ISR when button is held during boot
2021-10-09Merge pull request #719 from Riksu9000/improve_battery_reportingJF
Improve battery percentage calculation and reporting
2021-10-09Don't measure and notify percentage on charging event.Riku Isokoski
2021-10-08Call also ReloadIdleTimerhubmartin
2021-10-08Add wake on charge eventhubmartin
2021-10-05Merge branch 'develop' into update_touch_driverRiku Isokoski
2021-10-03Improve battery percentage calculation and reportingRiku Isokoski
While charging, percentage should only go up, and while discharging, percentage should only go down.
2021-10-03Code cleanuphubmartin
2021-10-03Call battery controller updatehubmartin
2021-10-03GPIOTE fix of button and power detection experimenthubmartin
2021-09-23Merge pull request #664 from Riksu9000/disable_notif_onlyJF002
Toggle notifications only, keep vibrations.
2021-09-18Merge branch 'develop' into update_touch_driverRiku Isokoski
2021-09-18Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants
into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
2021-09-16resolve conflict in src/systemtask/Messages.hMark Russell
2021-09-16Revert "Merge upstream"Mark Russell
This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
2021-09-16Merge upstreamMark Russell
2021-09-16Fixes per Riksu9000's feedbackMark Russell
2021-09-14Merge branch 'develop' into disable_notif_onlyRiku Isokoski
2021-09-14Merge branch 'develop' into update_touch_driverRiku Isokoski
2021-09-13Fixes based on code reviews (formatting, UI code)Mark Russell
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski
2021-09-13Merge branch 'refactor_adv' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants
into evergreen22-refactor_adv # Conflicts: # src/components/ble/NimbleController.cpp
2021-09-13Merge pull request #549 from hubmartin/pinmapJF002
Put all duplicated GPIO pin definitions to a single file
2021-09-13docs: Fix a few typos (#606)Tim Gates
* docs: Fix a few typos There are small typos in: - doc/versioning.md - src/components/ble/NimbleController.cpp - src/libs/mynewt-nimble/CODING_STANDARDS.md - src/libs/mynewt-nimble/docs/btshell/btshell_GAP.rst - src/systemtask/SystemTask.cpp Fixes: - Should read `milliseconds` rather than `miliseconds`. - Should read `unnecessary` rather than `uncesseray`. - Should read `target` rather than `tharget`. - Should read `project` rather than `projct`. - Should read `preferred` rather than `prefered`. - Should read `functioning` rather than `functionning`. - Should read `forever` rather than `forver`. - Should read `existing` rather than `exisiting`.
2021-09-13Merge branch 'develop' into pinmaphubmartin
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski
2021-09-10Created basic alarm appMark Russell
2021-09-05Advertise fast for at least 30 secs then slow downJames A. Jerkins
On power up, advertise aggressively for at least 30 seconds then switch to a longer interval to conserve battery life. This fast/slow pattern is designed to balance connection response time and battery life. When a disconnect event is received restart the fast/slow pattern. When a failed connect event is received, restart the fast/slow pattern. When the screen is activated and ble is not connected, restart the fast/slow pattern. This pattern is consistent with Apple's BLE developer standards (QA 1931).
2021-08-30Merge remote-tracking branch 'upstream/develop' into timer_battery_readingRiku Isokoski
2021-08-29WIP Refactor ble advertisingJames A. Jerkins
Refactor ble advertising based on ble standards and conventions. Changes are based on the bleprph example code, bluetooth docs, and nimble docs.