summaryrefslogtreecommitdiff
path: root/src/components
AgeCommit message (Collapse)AuthorFilesLines
2021-11-28Merge branch 'restructure_includes' of ↵Jean-François Milants37-53/+54
https://github.com/NeroBurner/InfiniTime into NeroBurner-restructure_includes # Conflicts: # doc/contribute.md # src/displayapp/screens/BatteryInfo.h
2021-11-15Move up file header include to topReinhold Gschweicher3-3/+3
2021-11-15Add missing standard includesReinhold Gschweicher1-0/+1
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher36-53/+53
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-11-15fix Motion Service UUID in doc and code commentsmabuch1-2/+2
2021-10-26Motion service : fix step notifications that were sent as a single byte ↵Jean-François Milants2-2/+2
instead of 4 (uint32_t).
2021-10-20Add mention to Call characteristic (which was missing in the doc) and change ↵Jean-François Milants1-1/+1
the UUID of the new Motion service from 00020000-* to 00030000-*.
2021-10-17Enable/disable notifications for motion service.Jean-François Milants1-0/+3
2021-10-17Add MotionService : expose step count and RAW X/Y/Z values to the host.Jean-François Milants6-2/+185
2021-10-17MotionService : fix typo and characteristic array size + send notification ↵Jean-François Milants3-3/+30
only if the host subscribed to them.
2021-10-10DateTimeController : remove unused methods and variables.Jean-François Milants2-81/+9
2021-10-10Merge with develop and fix conflicts from timaios:set-datetime-manually.Jean-François Milants2-2/+38
2021-10-09Merge pull request #719 from Riksu9000/improve_battery_reportingJF2-7/+18
Improve battery percentage calculation and reporting
2021-10-09Merge pull request #522 from jonvmey/fix-nav-uuid-docsJF2-41/+21
Fix Navigation Service UUID docs
2021-10-09Merge pull request #524 from jonvmey/ble-uuid-c-castsJF10-64/+55
Remove unnecessary C-style casts with BLE UUIDs
2021-10-09Don't measure and notify percentage on charging event.Riku Isokoski2-2/+7
2021-10-04Improve battery percentage calculation and reportingRiku Isokoski2-5/+11
While charging, percentage should only go up, and while discharging, percentage should only go down.
2021-10-03Merge pull request #638 from Riksu9000/detect_full_chargeJF2-3/+12
Detect full charge and improve watchface battery display
2021-10-03Merge pull request #692 from danielgjackson/fix-fs-sizeJF1-1/+1
Fix the size of the filesystem.
2021-10-02Remove static declartion on batteryValue preventing read attribute from ↵Tim Keller1-1/+1
updating.
2021-09-27Fix the size of the filesystem.Daniel Jackson1-1/+1
Correct typo: 0x400000 - 0x0B4000 = 0x34C000.
2021-09-23Merge pull request #664 from Riksu9000/disable_notif_onlyJF0025-32/+10
Toggle notifications only, keep vibrations.
2021-09-22Show plug icon while plugged inRiku Isokoski1-1/+1
2021-09-22Merge branch 'develop' into detect_full_chargeRiku Isokoski13-84/+313
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 branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants2-1/+6
into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
2021-09-16resolve conflict in src/systemtask/Messages.hMark Russell9-83/+124
2021-09-16Revert "Merge upstream"Mark Russell9-124/+83
This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
2021-09-16Merge upstreamMark Russell9-83/+124
2021-09-16Fixes per Riksu9000's feedbackMark Russell4-14/+7
2021-09-14Merge branch 'develop' into disable_notif_onlyRiku Isokoski3-46/+87
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 Russell2-3/+12
2021-09-13Fixes based on code reviews (formatting, UI code)Mark Russell2-35/+40
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski8-38/+38
2021-09-13Merge branch 'refactor_adv' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2-45/+87
into evergreen22-refactor_adv # Conflicts: # src/components/ble/NimbleController.cpp
2021-09-13Merge pull request #549 from hubmartin/pinmapJF0026-30/+26
Put all duplicated GPIO pin definitions to a single file
2021-09-13docs: Fix a few typos (#606)Tim Gates1-1/+1
* 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-13Merge branch 'develop' into pinmaphubmartin3-8/+12
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-12Toggle notifications only, keep vibrations.Riku Isokoski5-32/+10
2021-09-10Created basic alarm appMark Russell4-0/+175
2021-09-05Advertise fast for at least 30 secs then slow downJames A. Jerkins2-1/+17
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-03Use percentage instead of IsFullRiku Isokoski1-4/+0
2021-09-03Detect full charge and improve watchface displayRiku Isokoski2-3/+16
2021-09-01Fix styles issues - no change to functionalityJames A. Jerkins1-6/+6
2021-09-01Fix race condition, connect->disconnect->discoveryJames A. Jerkins1-1/+3
2021-08-30Completely reset connection state on failJames A. Jerkins1-0/+3