aboutsummaryrefslogtreecommitdiffstats
path: root/src/systemtask/SystemTask.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Code cleanuphubmartin2021-10-031-6/+0
|
* Call battery controller updatehubmartin2021-10-031-1/+3
|
* GPIOTE fix of button and power detection experimenthubmartin2021-10-031-9/+13
|
* Merge pull request #664 from Riksu9000/disable_notif_onlyJF0022021-09-231-3/+5
|\ | | | | Toggle notifications only, keep vibrations.
| * Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-141-2/+3
| |\
| * \ Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-131-25/+32
| |\ \
| * | | Toggle notifications only, keep vibrations.Riku Isokoski2021-09-121-3/+5
| | | |
* | | | Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants2021-09-181-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
| * | | | Move Backup to the system task.Tim Keller2021-08-191-0/+1
| | | | |
* | | | | resolve conflict in src/systemtask/Messages.hMark Russell2021-09-161-27/+35
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge branch 'refactor_adv' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2021-09-131-2/+3
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | into evergreen22-refactor_adv # Conflicts: # src/components/ble/NimbleController.cpp
| | * | | Advertise fast for at least 30 secs then slow downJames A. Jerkins2021-09-051-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).
| | * | | WIP Refactor ble advertisingJames A. Jerkins2021-08-291-2/+0
| | |/ / | | | | | | | | | | | | | | | | Refactor ble advertising based on ble standards and conventions. Changes are based on the bleprph example code, bluetooth docs, and nimble docs.
| * | | Merge pull request #549 from hubmartin/pinmapJF0022021-09-131-9/+11
| |\ \ \ | | | | | | | | | | Put all duplicated GPIO pin definitions to a single file
| | * \ \ Merge branch 'develop' into pinmaphubmartin2021-09-131-15/+20
| | |\ \ \
| | * \ \ \ Merge branch 'develop' into pinmaphubmartin2021-08-291-26/+22
| | |\ \ \ \ | | | | |_|/ | | | |/| |
| | * | | | Merge branch 'develop' into pinmaphubmartin2021-08-221-3/+2
| | |\ \ \ \ | | | | |_|/ | | | |/| |
| | * | | | PinMap with namespace and constexprhubmartin2021-08-031-9/+11
| | | | | |
| * | | | | docs: Fix a few typos (#606)Tim Gates2021-09-131-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`.
| * | | | Merge remote-tracking branch 'upstream/develop' into timer_battery_readingRiku Isokoski2021-08-301-6/+8
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Merge branch 'develop' into timer_battery_readingRiku Isokoski2021-08-281-20/+14
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' into timer_battery_readingRiku Isokoski2021-08-141-3/+2
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Make battery reading periodic. Add events. Disable pullupRiku Isokoski2021-08-141-15/+20
| | |_|_|/ | |/| | |
* | | | | Revert "Merge upstream"Mark Russell2021-09-161-35/+27
| | | | | | | | | | | | | | | | | | | | This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
* | | | | Merge upstreamMark Russell2021-09-161-27/+35
| | | | |
* | | | | Fixes per Riksu9000's feedbackMark Russell2021-09-161-1/+1
| | | | |
* | | | | Fixes based on code reviews (formatting, UI code)Mark Russell2021-09-131-2/+1
| | | | |
* | | | | Created basic alarm appMark Russell2021-09-101-0/+14
| |_|_|/ |/| | |
* | | | Fix wake on tap/double tap.Jean-François Milants2021-08-281-6/+8
| |_|/ |/| |
* | | Fix touchinfo typo in SystemTask.Jean-François Milants2021-08-281-1/+1
| | |
* | | Merge branch 'twimaster_rework' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-08-281-16/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into Riksu9000-twimaster_rework # Conflicts: # src/systemtask/SystemTask.cpp
| * | | Only enable the bus when neededRiku Isokoski2021-08-101-9/+0
| |/ /
* | | Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-08-181-3/+2
|\ \ \ | | |/ | |/|
| * | Remove leftoverRiku Isokoski2021-08-011-5/+0
| | |
| * | ImprovementsRiku Isokoski2021-08-011-4/+5
| | |
| * | Merge branch 'develop' into HEADRiku Isokoski2021-08-011-66/+144
| |\|
| * | cleaned up the code and reduced the size of the diff by removing things like ↵Florian Kraupa2021-05-161-1/+1
| | | | | | | | | | | | additional whitespaces
| * | only activate the timeout on call notification previews after they have been ↵Florian Kraupa2021-05-161-1/+1
| | | | | | | | | | | | interacted with
| * | implemented continuous vibration pattern for incoming callsFlorian Kraupa2021-05-161-1/+5
| | |
* | | Make diff smaller and revert some changes in DisplayAppRiku Isokoski2021-08-101-0/+1
| | |
* | | Rework TouchHandler into not a taskRiku Isokoski2021-08-101-3/+5
| | |
* | | Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-07-251-9/+32
|\ \ \ | | |/ | |/|
| * | Dim screen before sleep (#464)Riku Isokoski2021-07-241-11/+34
| | | | | | | | | * Implement dimming
* | | Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-07-231-3/+8
|\| |
| * | Make firmware updating more foolproof (#469)Riku Isokoski2021-07-221-3/+8
| | | | | | | | | | | | | | | | | | | | | * Make firmware updating more foolproof and fix bugs * No need to manually handle overflow * Make startTime TickType_t * Don't process TouchEvents::None * Fix sleep getting re-enabled issue more directly
* | | UpdateRiku Isokoski2021-07-181-0/+3
| | |
* | | Fix touch wakeup and code cleanupRiku Isokoski2021-07-161-19/+19
| | |
* | | Fix most issuesRiku Isokoski2021-07-161-1/+1
| | |
* | | New touch handler, with issuesRiku Isokoski2021-07-151-1/+0
|/ /
* | Multiple wakeup sources (#290)Kozova12021-07-141-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow multiple wakeup modes at the same time. This commit adds multiple wakeup modes support. It does so by storing them as a uint8_t bitfield enum. It changes the following functions: Since multiple modes can be on now, older version would not cut it: WakeUpMode getWakeupMode() -> std::bitset<3> getWakeUpModes() Where each bit corresponds to a WakeUpMode We still need a way to check whether a specific wakeup mode is on, so: bool isWakeUpModeOn(const WakeUpMode mode) This function was changed to work correctly with the new implementation. setWakeUpMode(WakeupMode mode, bool enable) Previously, systemtask would exit SystemTask::OnTouchEvent() if the wake up mode was None or RaiseWrist, to prevent waking up when a touch was received. However, after enabling using multiple WakeUpModes, this caused a bug where when RaiseWrist was checked with SingleTap or DoubleTap, the tap detection wouldn't work. This commit fixes that bug. Next commit will update the settings WakeUpMode select UI to reflect these changes. Signed-off-by: Kozova1 <mug66kk@gmail.com> * Updated UI to reflect multiple WakeUp sources being available. Signed-off-by: Kozova1 <mug66kk@gmail.com>