summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-02Fix styles issues - no change to functionalityJames A. Jerkins
2021-09-02Fix race condition, connect->disconnect->discoveryJames A. Jerkins
2021-08-31Completely reset connection state on failJames A. Jerkins
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-18Add memory print usagehubmartin
2021-08-18Fix music app buttonsRiku Isokoski
2021-08-15Adjust inner padding in applistRiku Isokoski
2021-08-15Clean up using variablesRiku Isokoski
2021-08-15Adjust previously missed scrollbar and firmware validation buttonsRiku Isokoski
2021-08-15Add image with example layoutsRiku Isokoski
2021-08-15Ui updateRiku Isokoski
2021-08-14Merge branch 'Riksu9000-call-improvements' into developJean-François Milants
2021-08-14Merge branch 'call-improvements' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants
into Riksu9000-call-improvements # Conflicts: # src/displayapp/screens/Metronome.cpp
2021-08-14Add VSCode ST-link debug config (#567)Martin Hub
2021-08-14Improve metronomeRiku Isokoski
2021-08-14Set pin before loopRiku Isokoski
2021-08-14Better pin configurationRiku Isokoski
2021-08-14Try to fix bootloopRiku Isokoski
2021-08-14Update contribute.md (#475)Riku Isokoski
* Update contribute.md * Add newlines and remove spaces * Replace CONTRIBUTING.md with doc/contribute.md
2021-08-10Merge pull request #505 from geekbozu/devconJF002
VSCode Devcontainer
2021-08-10Merge pull request #483 from Riksu9000/fix_adcJF002
Fix misconfigured ADC and remove now unnecessary filtering
2021-08-10Merge branch 'hassless-improve-battery-percentage-to-battery-icon-mapping' ↵Jean-François Milants
into develop
2021-08-10Merge branch 'improve-battery-percentage-to-battery-icon-mapping' of ↵Jean-François Milants
https://github.com/hassless/InfiniTime into hassless-improve-battery-percentage-to-battery-icon-mapping # Conflicts: # src/displayapp/screens/BatteryIcon.cpp
2021-08-10Code cleaning in Clock, WatchFaceAnalog, WatchFaceDigital and PineTimeStyle, ↵Jean-François Milants
inspired by PR #232 by nscooling.
2021-08-09Setup plugins for Clang-tidy/formatTim Keller
2021-08-08Fix intellisenseTim Keller
2021-08-07Typos for daysTim Keller
2021-08-07Updated documentationTim Keller
2021-08-07Added cmake variantsTim Keller
2021-08-07added extra .sh build filesNiall Cooling
2021-08-07added clang-tidy/format to containerNiall Cooling
2021-08-07added dos2unix to docker for Win10 and default to release buildNiall Cooling
2021-08-07macOS and Win10 dockerfileNiall Cooling
2021-08-07removed dependency on build.shAzureAD\NiallCooling
2021-08-07added devcontainer filesNiall Cooling
2021-08-01Remove leftoverRiku Isokoski
2021-08-01Remove floating point calculationRiku Isokoski
2021-08-01FixesRiku Isokoski
2021-08-01ImprovementsRiku Isokoski
2021-08-01Merge branch 'develop' into HEADRiku Isokoski
2021-07-27Increase ADC precisionRiku Isokoski
2021-07-27Merge branch 'develop' into fix_adcRiku Isokoski
2021-07-25Tile event handler : read the event data only if the event is a "value ↵Jean-François Milants
changed event". LVGL sends many other event and some of them do not set the event data (global static variable) to a valid address, which may cause an invalid read. I noticed that when porting this class on RISC-V platform (BL602).
2021-07-25Fix compile warningsJonathan Vander Mey
2021-07-25Fix slow scrollRiku Isokoski
2021-07-25Correct spelling issue in documentation (#509)Grant
* Correct spelling issue
2021-07-25Fix cases where Get() isn't usedRiku Isokoski
2021-07-25Add new unique icons for some appsRiku Isokoski