summaryrefslogtreecommitdiff
path: root/src/systemtask
AgeCommit message (Collapse)AuthorFilesLines
2021-12-09Fixed unpopped diagnosticAvamander1-1/+1
2021-12-09Improved format specifiers, bracing, removed C-style casts, whitespace fixes ↵Avamander1-17/+28
and removed Tiles shadowing
2021-12-09Break not return thanks @FintasticManTim Keller1-1/+1
2021-12-09Adjust systemtask to respect doNotGoToSleep.Tim Keller1-1/+4
2021-12-09Adjust BLE/LL stacks, style, comments, refactoringJames A. Jerkins1-1/+2
Increase BLE task stack +200 and decrease LL task stack -200 more braces!
2021-12-09Persist bond between rebootsJames A. Jerkins1-1/+2
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. Jerkins2-0/+8
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 Gschweicher2-3/+3
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 Milants1-0/+1
controller boot error.
2021-11-07Disable the warning that is displayed when the initialization of the touch ↵Jean-François Milants1-0/+5
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 Isokoski2-4/+10
2021-10-25Only wake up on press. Fixes issue with longer press and sleepRiku Isokoski1-5/+4
2021-10-25Return button action instead of pushing messagesRiku Isokoski3-31/+47
2021-10-25Use enum classes, remove old commentRiku Isokoski1-2/+2
2021-10-25Newer buttonhandlerRiku Isokoski3-24/+53
2021-10-17Add MotionService : expose step count and RAW X/Y/Z values to the host.Jean-François Milants1-1/+2
2021-10-14Make new notifications refresh idle timerFederico Igne1-5/+8
2021-10-10Merge branch 'update_touch_driver' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants1-2/+7
into Riksu9000-update_touch_driver # Conflicts: # src/displayapp/Apps.h
2021-10-09Remove call to `batteryController.Update();` which was replaced by ↵Jean-François Milants1-3/+0
`batteryController.MeasureVoltage()`.
2021-10-09Merge pull request #715 from hubmartin/gpiote-fixJF1-9/+10
Fix GPIOTE not calling ISR when button is held during boot
2021-10-09Merge pull request #719 from Riksu9000/improve_battery_reportingJF3-12/+7
Improve battery percentage calculation and reporting
2021-10-09Don't measure and notify percentage on charging event.Riku Isokoski1-3/+4
2021-10-08Call also ReloadIdleTimerhubmartin1-0/+1
2021-10-08Add wake on charge eventhubmartin1-0/+3
2021-10-05Merge branch 'develop' into update_touch_driverRiku Isokoski1-3/+5
2021-10-04Improve battery percentage calculation and reportingRiku Isokoski3-9/+3
While charging, percentage should only go up, and while discharging, percentage should only go down.
2021-10-03Code cleanuphubmartin1-6/+0
2021-10-03Call battery controller updatehubmartin1-1/+3
2021-10-03GPIOTE fix of button and power detection experimenthubmartin1-9/+13
2021-09-23Merge pull request #664 from Riksu9000/disable_notif_onlyJF0021-3/+5
Toggle notifications only, keep vibrations.
2021-09-18Merge branch 'develop' into update_touch_driverRiku Isokoski3-0/+20
2021-09-18Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants2-0/+2
into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
2021-09-16resolve conflict in src/systemtask/Messages.hMark Russell3-39/+43
2021-09-16Revert "Merge upstream"Mark Russell3-43/+39
This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
2021-09-16Merge upstreamMark Russell3-39/+43
2021-09-16Fixes per Riksu9000's feedbackMark Russell1-1/+1
2021-09-14Merge branch 'develop' into disable_notif_onlyRiku Isokoski1-2/+3
2021-09-14Merge branch 'develop' into update_touch_driverRiku Isokoski3-45/+51
2021-09-13Fixes based on code reviews (formatting, UI code)Mark Russell1-2/+1
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski3-37/+40
2021-09-13Merge branch 'refactor_adv' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants1-2/+3
into evergreen22-refactor_adv # Conflicts: # src/components/ble/NimbleController.cpp
2021-09-13Merge pull request #549 from hubmartin/pinmapJF0022-18/+12
Put all duplicated GPIO pin definitions to a single file
2021-09-13docs: Fix a few typos (#606)Tim Gates1-1/+1
* 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 pinmaphubmartin3-18/+27
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski1-3/+5
2021-09-10Created basic alarm appMark Russell3-1/+20
2021-09-05Advertise fast for at least 30 secs then slow downJames A. Jerkins1-0/+3
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 Isokoski1-6/+8
2021-08-29WIP Refactor ble advertisingJames A. Jerkins1-2/+0
Refactor ble advertising based on ble standards and conventions. Changes are based on the bleprph example code, bluetooth docs, and nimble docs.
2021-08-29Merge branch 'develop' into pinmaphubmartin2-29/+30