aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #623 from Riksu9000/lvgl_queuetimeoutJF2021-10-032-23/+4
|\ | | | | Let LVGL control queueTimeout
| * Remove unused variableRiku Isokoski2021-09-211-1/+0
| |
| * Let lvgl control queueTimeoutRiku Isokoski2021-08-292-22/+4
| |
* | Merge pull request #638 from Riksu9000/detect_full_chargeJF2021-10-039-25/+71
|\ \ | | | | | | Detect full charge and improve watchface battery display
| * | Show plug icon while plugged inRiku Isokoski2021-09-223-5/+5
| | |
| * | Merge branch 'develop' into detect_full_chargeRiku Isokoski2021-09-2236-214/+837
| |\ \
| * | | Use percentage instead of IsFullRiku Isokoski2021-09-032-5/+1
| | | |
| * | | Auto realign battery icon in Analog watch faceRiku Isokoski2021-09-031-0/+1
| | | |
| * | | Detect full charge and improve watchface displayRiku Isokoski2021-09-039-26/+75
| | | |
* | | | Merge pull request #692 from danielgjackson/fix-fs-sizeJF2021-10-031-1/+1
|\ \ \ \ | | | | | | | | | | Fix the size of the filesystem.
| * | | | Fix the size of the filesystem.Daniel Jackson2021-09-271-1/+1
| | | | | | | | | | | | | | | Correct typo: 0x400000 - 0x0B4000 = 0x34C000.
* | | | | Remove static declartion on batteryValue preventing read attribute from ↵Tim Keller2021-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | updating.
* | | | | Correctly return the tick at which the RF will be fully enabled.Daniel Jackson2021-09-251-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.
* | | | Merge pull request #664 from Riksu9000/disable_notif_onlyJF0022021-09-239-43/+19
|\ \ \ \ | |_|/ / |/| | | Toggle notifications only, keep vibrations.
| * | | Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-147-65/+117
| |\ \ \
| * \ \ \ Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-1322-143/+150
| |\ \ \ \
| * | | | | Toggle notifications only, keep vibrations.Riku Isokoski2021-09-129-43/+19
| | | | | |
* | | | | | Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-09-191-1/+1
|\ \ \ \ \ \
| * \ \ \ \ \ Merge pull request #669 from ↵JF0022021-09-181-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NeroBurner/fix_unsigned_comparison_warning_metronome Fix unsigned/signed comparison warning in Metronome.cpp
| | * | | | | | Fix unsigned/signed comparison warning in Metronome.cppReinhold Gschweicher2021-09-161-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.
* | / | | | | Fix the display of the date after a reset : when the date/time was restored ↵Jean-François Milants2021-09-191-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.
* | | | | | Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants2021-09-185-2/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
| * | | | | | Add some commentsTim Keller2021-09-021-2/+6
| | | | | | |
| * | | | | | Move Backup to the system task.Tim Keller2021-08-194-2/+2
| | | | | | |
| * | | | | | Add clearing of noinit segment on bad wordTim Keller2021-08-193-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Code readability cleanup
| * | | | | | Make Clock Persistant.Tim Keller2021-08-173-2/+18
| | | | | | |
* | | | | | | Fix DisplayAppRecovery : add AlarmController to ctor().Jean-François Milants2021-09-182-0/+3
| | | | | | |
* | | | | | | resolve conflict in src/systemtask/Messages.hMark Russell2021-09-1626-209/+268
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Remove unused include in MotoController.hReinhold Gschweicher2021-09-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the unused include `app_timer.h` in `MotorController.h`
| * | | | | | Fix DisplayAppRecovery : fix include error by forward declaring Controllers ↵Jean-François Milants2021-09-132-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in header file.
| * | | | | | Merge branch 'refactor_adv' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2021-09-134-51/+97
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into evergreen22-refactor_adv # Conflicts: # src/components/ble/NimbleController.cpp
| | * | | | | Advertise fast for at least 30 secs then slow downJames A. Jerkins2021-09-053-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).
| | * | | | | Revert "Linear decrease of advert rate to conserve battery"James A. Jerkins2021-09-052-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c32ba844e04017a3fd31444c384deb3542bd76be.
| | * | | | | Linear decrease of advert rate to conserve batteryJames A. Jerkins2021-09-042-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.
| | * | | | | Fix styles issues - no change to functionalityJames A. Jerkins2021-09-011-6/+6
| | | | | | |
| | * | | | | Fix race condition, connect->disconnect->discoveryJames A. Jerkins2021-09-011-1/+3
| | | | | | |
| | * | | | | Completely reset connection state on failJames A. Jerkins2021-08-301-0/+3
| | | | | | |
| | * | | | | WIP Refactor ble advertisingJames A. Jerkins2021-08-294-46/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1314-92/+108
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Put all duplicated GPIO pin definitions to a single file
| | * \ \ \ \ \ Merge branch 'develop' into pinmaphubmartin2021-09-1313-53/+45
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Merge branch 'develop' into pinmaphubmartin2021-08-2994-539/+968
| | |\ \ \ \ \ \ \ | | | | |_|_|_|_|/ | | | |/| | | | |
| | * | | | | | | Update startup SCL toggling pinmap definitionshubmartin2021-08-221-4/+5
| | | | | | | | |
| | * | | | | | | Merge branch 'develop' into pinmaphubmartin2021-08-2220-288/+288
| | |\ \ \ \ \ \ \ | | | | |_|/ / / / | | | |/| | | | |
| | * | | | | | | Merge branch 'develop' into pinmaphubmartin2021-08-1112-217/+80
| | |\ \ \ \ \ \ \
| | * | | | | | | | Rename backlight level pinshubmartin2021-08-042-18/+18
| | | | | | | | | |
| | * | | | | | | | Cleanup, set Pinetime as defaulthubmartin2021-08-033-42/+18
| | | | | | | | | |
| | * | | | | | | | PinMap with namespace and constexprhubmartin2021-08-0313-87/+96
| | | | | | | | | |
| | * | | | | | | | DRAFT: Put gpio pins to separate filehubmartin2021-08-025-3/+32
| | | | | | | | | |
| * | | | | | | | | docs: Fix a few typos (#606)Tim Gates2021-09-132-2/+2
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 pull request #617 from ColinKinloch/wake_up_mode_setting_changeJF0022021-09-121-1/+1
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Correct change test for wake up mode setting