summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-09-30Add templates for bug reports and feature requestsFederico Igne2-0/+100
2021-09-28Set version to 1.6.0Jean-François Milants1-1/+1
2021-09-28Merge pull request #688 from danielgjackson/fix-advertising-18-hoursJF0021-1/+1
Fix advertising packets stopping after 18.2 hours
2021-09-26Set version to 1.5.0Jean-François Milants1-1/+1
2021-09-25Correctly return the tick at which the RF will be fully enabled.Daniel Jackson1-1/+1
Always returning 0 (when `MYNEWT_VAL_BLE_LL_RFMGMT_ENABLE_TIME` is not defined), rather than a time near to the current tick, causes an issue in at least one place: `ble_ll_adv_sm_start()`, where the calculation of `delta` overflows when the system timer is at 0x80000000 or above -- causing an incorrect, huge adjustment to be made to the scheduled time, ultimately stopping adverts from being sent.
2021-09-23Merge pull request #664 from Riksu9000/disable_notif_onlyJF0029-43/+19
Toggle notifications only, keep vibrations.
2021-09-19Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants1-1/+1
2021-09-19Fix the display of the date after a reset : when the date/time was restored ↵Jean-François Milants1-0/+1
from the noinit area, the date was displayed as "--" instead of the actual date. This issue was caused by DateTime::SetCurrentTime() that would not update the internal state of the class : dayOfWeek, Month, Year were not properly updated according to the current time.
2021-09-18Merge pull request #669 from ↵JF0021-1/+1
NeroBurner/fix_unsigned_comparison_warning_metronome Fix unsigned/signed comparison warning in Metronome.cpp
2021-09-18Merge branch 'geekbozu-PersistantStorage' into developJean-François Milants9-8/+100
2021-09-18Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants9-8/+100
into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
2021-09-18Fix DisplayAppRecovery : add AlarmController to ctor().Jean-François Milants2-0/+3
2021-09-18Merge pull request #662 from mruss77/basic-alarm-appJF00214-2/+537
Basic alarm app
2021-09-16resolve conflict in src/systemtask/Messages.hMark Russell33-232/+300
2021-09-16Revert "Merge upstream"Mark Russell33-300/+232
This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
2021-09-16Merge upstreamMark Russell33-232/+300
2021-09-16Fixes per Riksu9000's feedbackMark Russell7-30/+27
2021-09-16Fix unsigned/signed comparison warning in Metronome.cppReinhold Gschweicher1-1/+1
`xTaskGetTickCount()` returns a `TickType_t`, which is defined as an `uint32_t`. This is compared to the `bpm` variable, which is a `int16_t` in the range of 40 to 220 as defined in the constructor. ```cpp lv_arc_set_range(bpmArc, 40, 220); ``` Just assume that `bpm` is greater than 0, as this would result in a divison by zero or negative values, which would unintentionally underflow to a very large number.
2021-09-14Merge branch 'develop' into disable_notif_onlyRiku Isokoski8-69/+121
2021-09-14Merge pull request #658 from NeroBurner/patch-2JF0021-4/+4
Run CI on master and develop branch
2021-09-14Merge pull request #668 from NeroBurner/motorcontroller_remove_unused_includeJF0021-1/+0
Remove unused include in MotoController.h
2021-09-13Remove unused include in MotoController.hReinhold Gschweicher1-1/+0
Remove the unused include `app_timer.h` in `MotorController.h`
2021-09-13License header fix, add missing bracesMark Russell4-5/+22
2021-09-13Fixes based on code reviews (formatting, UI code)Mark Russell5-89/+133
2021-09-13Fix DisplayAppRecovery : fix include error by forward declaring Controllers ↵Jean-François Milants2-13/+20
in header file.
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski28-162/+177
2021-09-13Merge branch 'evergreen22-refactor_adv' into developJean-François Milants4-51/+97
2021-09-13Merge branch 'refactor_adv' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants4-51/+97
into evergreen22-refactor_adv # Conflicts: # src/components/ble/NimbleController.cpp
2021-09-13Merge pull request #549 from hubmartin/pinmapJF00216-92/+118
Put all duplicated GPIO pin definitions to a single file
2021-09-13docs: Fix a few typos (#606)Tim Gates4-4/+4
* 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 & docshubmartin2-0/+10
2021-09-13Merge branch 'develop' into pinmaphubmartin17-86/+71
2021-09-12Merge pull request #617 from ColinKinloch/wake_up_mode_setting_changeJF0021-1/+1
Correct change test for wake up mode setting
2021-09-12Merge pull request #602 from Riksu9000/del_unusedJF0024-18/+2
Remove unused variables
2021-09-12Merge pull request #580 from Riksu9000/timer_battery_readingJF0028-31/+38
Make battery reading periodic
2021-09-12Merge pull request #552 from Riksu9000/new_to_infinitimeJF0021-17/+7
Make README more friendly for new users.
2021-09-12Merge pull request #551 from hubmartin/patch-3JF0021-0/+4
Add FW validation note after DFU flash
2021-09-12Merge pull request #550 from hubmartin/patch-2JF0021-0/+4
Add link to WebBLEWatch to sync time
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski9-43/+19
2021-09-11Merge pull request #615 from Utopiah/patch-1JF0021-0/+1
Infini-iOS
2021-09-11Merge pull request #636 from Itai-Nelken/move-about-firmware-settings-downJF0021-2/+2
Move PineTimeStyle settings up
2021-09-10Created basic alarm appMark Russell16-3/+480
2021-09-10Run CI on master and develop branchNeroBurner1-4/+4
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. Jerkins3-1/+20
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. Jerkins2-6/+0
This reverts commit c32ba844e04017a3fd31444c384deb3542bd76be.
2021-09-04Linear decrease of advert rate to conserve batteryJames A. Jerkins2-0/+6
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-02Add some commentsTim Keller1-2/+6
2021-09-02Update Settings.cppItai Nelken1-2/+2
2021-09-02Set version to 1.4.0.Jean-François Milants1-1/+1
2021-09-01Fix styles issues - no change to functionalityJames A. Jerkins1-6/+6