aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add memory print usagehubmartin2021-08-181-6/+6
|
* Fix music app buttonsRiku Isokoski2021-08-181-1/+1
|
* Adjust inner padding in applistRiku Isokoski2021-08-151-1/+1
|
* Clean up using variablesRiku Isokoski2021-08-151-10/+16
|
* Adjust previously missed scrollbar and firmware validation buttonsRiku Isokoski2021-08-152-11/+11
|
* Add image with example layoutsRiku Isokoski2021-08-152-0/+2
|
* Ui updateRiku Isokoski2021-08-1510-107/+113
|
* Merge branch 'Riksu9000-call-improvements' into developJean-François Milants2021-08-148-68/+85
|\
| * Merge branch 'call-improvements' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-08-148-68/+85
|/| | | | | | | | | | | | | into Riksu9000-call-improvements # Conflicts: # src/displayapp/screens/Metronome.cpp
| * Remove leftoverRiku Isokoski2021-08-011-5/+0
| |
| * FixesRiku Isokoski2021-08-013-12/+21
| |
| * ImprovementsRiku Isokoski2021-08-018-131/+70
| |
| * Merge branch 'develop' into HEADRiku Isokoski2021-08-01139-1783/+5328
| |\
| * | NotificationItem now also redefines the start of the timeoutFlorian Kraupa2021-05-162-8/+16
| | |
| * | cleaned up the code and reduced the size of the diff by removing things like ↵Florian Kraupa2021-05-166-19/+14
| | | | | | | | | | | | additional whitespaces
| * | only activate the timeout on call notification previews after they have been ↵Florian Kraupa2021-05-163-14/+31
| | | | | | | | | | | | interacted with
| * | implemented continuous vibration pattern for incoming callsFlorian Kraupa2021-05-167-24/+78
| | |
* | | Add VSCode ST-link debug config (#567)Martin Hub2021-08-141-1/+19
| | |
* | | Improve metronomeRiku Isokoski2021-08-143-99/+69
| | |
* | | Set pin before loopRiku Isokoski2021-08-141-0/+1
| | |
* | | Better pin configurationRiku Isokoski2021-08-141-1/+6
| | |
* | | Try to fix bootloopRiku Isokoski2021-08-141-0/+9
| | |
* | | Update contribute.md (#475)Riku Isokoski2021-08-142-51/+40
| | | | | | | | | | | | | | | * Update contribute.md * Add newlines and remove spaces * Replace CONTRIBUTING.md with doc/contribute.md
* | | Merge pull request #505 from geekbozu/devconJF0022021-08-1016-59/+473
|\ \ \ | | | | | | | | VSCode Devcontainer
| * | | Setup plugins for Clang-tidy/formatTim Keller2021-08-093-3/+6
| | | |
| * | | Fix intellisenseTim Keller2021-08-081-1/+1
| | | |
| * | | Typos for daysTim Keller2021-08-072-18/+18
| | | |
| * | | Updated documentationTim Keller2021-08-076-8/+54
| | | |
| * | | Added cmake variantsTim Keller2021-08-0712-69/+245
| | | |
| * | | added extra .sh build filesNiall Cooling2021-08-073-0/+21
| | | |
| * | | added clang-tidy/format to containerNiall Cooling2021-08-071-0/+2
| | | |
| * | | added dos2unix to docker for Win10 and default to release buildNiall Cooling2021-08-073-3/+5
| | | |
| * | | macOS and Win10 dockerfileNiall Cooling2021-08-073-3/+7
| | | |
| * | | removed dependency on build.shAzureAD\NiallCooling2021-08-071-5/+12
| | | |
| * | | added devcontainer filesNiall Cooling2021-08-073-0/+153
| | | |
* | | | Merge pull request #483 from Riksu9000/fix_adcJF0022021-08-102-57/+16
|\ \ \ \ | | | | | | | | | | Fix misconfigured ADC and remove now unnecessary filtering
| * | | | Remove floating point calculationRiku Isokoski2021-08-011-2/+2
| | | | |
| * | | | Increase ADC precisionRiku Isokoski2021-07-271-4/+4
| | | | |
| * | | | Merge branch 'develop' into fix_adcRiku Isokoski2021-07-2745-312/+480
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Merge branch 'develop' into fix_adcRiku Isokoski2021-07-1324-102/+78
| |\ \ \ \
| * | | | | Fix misconfigured ADC and remove now unnecessary filteringRiku Isokoski2021-07-122-48/+4
| | | | | |
* | | | | | Merge branch 'hassless-improve-battery-percentage-to-battery-icon-mapping' ↵Jean-François Milants2021-08-101-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into develop
| * | | | | | Merge branch 'improve-battery-percentage-to-battery-icon-mapping' of ↵Jean-François Milants2021-08-101-4/+4
|/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/hassless/InfiniTime into hassless-improve-battery-percentage-to-battery-icon-mapping # Conflicts: # src/displayapp/screens/BatteryIcon.cpp
| * | | | | | Merge branch 'JF002:develop' into ↵hassless2021-06-1861-467/+947
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | improve-battery-percentage-to-battery-icon-mapping