summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-13Fixes based on code reviews (formatting, UI code)Mark Russell
2021-09-13Fix DisplayAppRecovery : fix include error by forward declaring Controllers ↵Jean-François Milants
in header file.
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski
2021-09-13Merge branch 'evergreen22-refactor_adv' into developJean-François Milants
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-13Add WATCH_COLMI_P8 option to cmake & docshubmartin
2021-09-13Merge branch 'develop' into pinmaphubmartin
2021-09-12Merge pull request #617 from ColinKinloch/wake_up_mode_setting_changeJF002
Correct change test for wake up mode setting
2021-09-12Merge pull request #602 from Riksu9000/del_unusedJF002
Remove unused variables
2021-09-12Merge pull request #580 from Riksu9000/timer_battery_readingJF002
Make battery reading periodic
2021-09-12Merge pull request #552 from Riksu9000/new_to_infinitimeJF002
Make README more friendly for new users.
2021-09-12Merge pull request #551 from hubmartin/patch-3JF002
Add FW validation note after DFU flash
2021-09-12Merge pull request #550 from hubmartin/patch-2JF002
Add link to WebBLEWatch to sync time
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski
2021-09-11Merge pull request #615 from Utopiah/patch-1JF002
Infini-iOS
2021-09-11Merge pull request #636 from Itai-Nelken/move-about-firmware-settings-downJF002
Move PineTimeStyle settings up
2021-09-10Created basic alarm appMark Russell
2021-09-10Run CI on master and develop branchNeroBurner
The documentation https://github.com/JF002/InfiniTime/blob/develop/doc/contribute.md#how-to-submit-a-pull-request- tells us to make pull requests against `develop` branch. Update the CI to run on those pull requests to have a check if the PR breaks something unintentionally.
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-09-05Revert "Linear decrease of advert rate to conserve battery"James A. Jerkins
This reverts commit c32ba844e04017a3fd31444c384deb3542bd76be.
2021-09-04Linear decrease of advert rate to conserve batteryJames A. Jerkins
Start advertising aggressively when powered on then slow down linearly over 75 seconds. This will conserve battery by not advertising rapidly the whole time we are seeking a connection. The slowest rate is approximately once every 4.5 seconds to balance responsiveness and battery life. We use a fixed advertising duration of 5 seconds and start with a 62.5 ms advertising interval. Every 5 seconds (the advertising duration) we step up to a larger advertising interval (slower advertising). We continue to increase the advertising interval linearly for 75 seconds from the start of advertising. At 75 seconds we have an advertising interval of 4.44 seconds which we keep until connected. A reboot will restart the sequence. When we receive a disconnect event we restart the sequence with fast advertising and then slow down as described above. Note that we are not using the BLE high duty cycle setting to change the advertising rate. The rate is managed by repeatedly setting the minimum and maximum intervals. The linear rate of decrease and the slowest interval size were determined experimentally by the author. The 5.3 Core spec suggests that you not advertise slower than once every 1.2 seconds to preserve responsiveness but we ignored that suggestion.
2021-09-03Use percentage instead of IsFullRiku Isokoski
2021-09-03Auto realign battery icon in Analog watch faceRiku Isokoski
2021-09-03Detect full charge and improve watchface displayRiku Isokoski
2021-09-02Add some commentsTim Keller
2021-09-02Update Settings.cppItai Nelken
2021-09-02Set version to 1.4.0.Jean-François Milants
2021-09-02Fix styles issues - no change to functionalityJames A. Jerkins
2021-09-02Fix race condition, connect->disconnect->discoveryJames A. Jerkins
2021-09-01Merge pull request #579 from mabuch/fix-github-buildJF002
fix Github Action build Firmware
2021-08-31Fix notifications that wouldn't auto close when the timeout elapsed (in ↵Jean-François Milants
preview mode).
2021-08-31Completely reset connection state on failJames A. Jerkins
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.
2021-08-29Merge branch 'develop' into pinmaphubmartin
2021-08-29Let lvgl control queueTimeoutRiku Isokoski
2021-08-28Fix wake on tap/double tap.Jean-François Milants
2021-08-28Settings : use enums instead of ints to store colors. Group all PTS settings ↵Jean-François Milants
into a struct. PTS/SettingsPTS : Convert to/from LVGL color and Settings::Color, add functions to reduce code duplication. Adapt SettingPineTimeStyle with the last Screen Interface
2021-08-28Merge pull request #458 from kieranc/pinetimestyle-colorpickerJF002
Add color picker for PineTimeStyle watchface
2021-08-28Merge pull request #497 from Riksu9000/refresh_reworkJF002
Rework Refresh
2021-08-28Merge branch 'develop' into refresh_reworkRiku Isokoski
2021-08-28Merge branch 'develop' into update_touch_driverRiku Isokoski
2021-08-28Merge branch 'develop' into fit_more_tasksRiku Isokoski
2021-08-28Merge branch 'develop' into timer_battery_readingRiku Isokoski
2021-08-28Fix recovery firmware since last changes in DisplayApp.Jean-François Milants
2021-08-28Fix touchinfo typo in SystemTask.Jean-François Milants
2021-08-28Merge branch 'Riksu9000-twimaster_rework' into developJean-François Milants
2021-08-28Merge branch 'twimaster_rework' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants
into Riksu9000-twimaster_rework # Conflicts: # src/systemtask/SystemTask.cpp