aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* Adjust BLE/LL stacks, style, comments, refactoringJames A. Jerkins2021-12-092-15/+27
| | | | | Increase BLE task stack +200 and decrease LL task stack -200 more braces!
* Persist bond between rebootsJames A. Jerkins2021-12-092-9/+115
| | | | | | | | | Save bond information in the FS after a disconnect or encryption change if the bond is not already stored. The bond is restored on boot enabling automatic reconnection to a previously bonded central. Two consecutive watch reboots with the central out of range (or BLE off) will remove the stored bond from the watch.
* Connect and bond with a passkeyJames A. Jerkins2021-12-093-32/+87
| | | | | | | | | | | | | | This commit adds the following: Passkey pairing - passkey is displayed on watch Swipe down to clear passkey screen Connection encryption Connection bonding Automatic reconnects to a bonded peripheral Trusted device on Android Note that persisting the bond between reboots is NOT included in this commit. Therefore, rebooting the watch will cause reconnect failures. You must delete the bond from the phone to reconnect/pair.
* Settings: remove unused driver includeReinhold Gschweicher2021-12-021-1/+0
|
* Merge branch 'develop' into motionservice_fix_typo_in_includeJF2021-11-2837-55/+56
|\
| * Merge branch 'restructure_includes' of ↵Jean-François Milants2021-11-2837-53/+54
| |\ | | | | | | | | | | | | | | | | | | | | | https://github.com/NeroBurner/InfiniTime into NeroBurner-restructure_includes # Conflicts: # doc/contribute.md # src/displayapp/screens/BatteryInfo.h
| | * Move up file header include to topReinhold Gschweicher2021-11-153-3/+3
| | |
| | * Add missing standard includesReinhold Gschweicher2021-11-151-0/+1
| | |
| | * Update includes to to be relative to src directoryReinhold Gschweicher2021-11-1536-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.
| * | fix Motion Service UUID in doc and code commentsmabuch2021-11-151-2/+2
| |/
* / MotionService: fix not needed '/' in includeReinhold Gschweicher2021-10-301-1/+1
|/
* Motion service : fix step notifications that were sent as a single byte ↵Jean-François Milants2021-10-262-2/+2
| | | | instead of 4 (uint32_t).
* Add mention to Call characteristic (which was missing in the doc) and change ↵Jean-François Milants2021-10-201-1/+1
| | | | the UUID of the new Motion service from 00020000-* to 00030000-*.
* Enable/disable notifications for motion service.Jean-François Milants2021-10-171-0/+3
|
* Add MotionService : expose step count and RAW X/Y/Z values to the host.Jean-François Milants2021-10-176-2/+185
|
* MotionService : fix typo and characteristic array size + send notification ↵Jean-François Milants2021-10-173-3/+30
| | | | only if the host subscribed to them.
* DateTimeController : remove unused methods and variables.Jean-François Milants2021-10-102-81/+9
|
* Merge with develop and fix conflicts from timaios:set-datetime-manually.Jean-François Milants2021-10-102-2/+38
|\
| * Merge branch 'JF002:develop' into set-datetime-manuallyTim2021-08-0811-144/+376
| |\
| * | Exposed Month and DayOfWeek texts in DateTimeControllerTim Taenny2021-07-092-9/+45
| | | | | | | | | | | | | | | Added static methods to return the text of a given month or dayOfWeek.
* | | Merge pull request #719 from Riksu9000/improve_battery_reportingJF2021-10-092-7/+18
|\ \ \ | | | | | | | | Improve battery percentage calculation and reporting
| * | | Don't measure and notify percentage on charging event.Riku Isokoski2021-10-092-2/+7
| | | |
| * | | Improve battery percentage calculation and reportingRiku Isokoski2021-10-042-5/+11
| | | | | | | | | | | | | | | | | | | | While charging, percentage should only go up, and while discharging, percentage should only go down.
* | | | Merge pull request #522 from jonvmey/fix-nav-uuid-docsJF2021-10-092-41/+21
|\ \ \ \ | | | | | | | | | | Fix Navigation Service UUID docs
| * | | | Move callback function into anonymous namespaceJonathan Vander Mey2021-07-241-5/+5
| | | | |
| * | | | Update nav service UUID macro to constexpr functionsJonathan Vander Mey2021-07-242-28/+20
| | | | |
| * | | | Set navigation service id is base UUID macroJonathan Vander Mey2021-07-242-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Avoids the need to copy the same ID into every characteristic UUID genereated from it.
| * | | | Update Navigation UUID documentationJonathan Vander Mey2021-07-241-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Fixed mismatch between the service and characteristic IDs in the navigation service comments and documentation. They had old values not reflecting the current code and changes in doc/ble.md
* | | | Merge pull request #524 from jonvmey/ble-uuid-c-castsJF2021-10-0910-63/+54
|\ \ \ \ | |_|/ / |/| | | Remove unnecessary C-style casts with BLE UUIDs
| * | | Remove unnecessary C-style casts with BLE UUIDsJonathan Vander Mey2021-07-2410-63/+54
| |/ / | | | | | | | | | | | | | | | Instead of casting the UUID object to the ble_uuid_t* used throughout the NimBLE API just pass the address of the ble_uuid_t member that's at the start of each of the UUID structs.
* | | Merge pull request #638 from Riksu9000/detect_full_chargeJF2021-10-032-3/+12
|\ \ \ | | | | | | | | Detect full charge and improve watchface battery display
| * | | Show plug icon while plugged inRiku Isokoski2021-09-221-1/+1
| | | |
| * | | Merge branch 'develop' into detect_full_chargeRiku Isokoski2021-09-2213-84/+313
| |\ \ \
| * | | | Use percentage instead of IsFullRiku Isokoski2021-09-031-4/+0
| | | | |
| * | | | Detect full charge and improve watchface displayRiku Isokoski2021-09-032-3/+16
| | | | |
* | | | | 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.
* | | | | Merge pull request #664 from Riksu9000/disable_notif_onlyJF0022021-09-235-32/+10
|\ \ \ \ \ | |_|/ / / |/| | | | Toggle notifications only, keep vibrations.
| * | | | Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-143-46/+87
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-138-38/+38
| |\ \ \ \ \
| * | | | | | Toggle notifications only, keep vibrations.Riku Isokoski2021-09-125-32/+10
| | |_|/ / / | |/| | | |
* | | | | | 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-182-1/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
| * | | | | | Move Backup to the system task.Tim Keller2021-08-192-2/+0
| | | | | | |
| * | | | | | Add clearing of noinit segment on bad wordTim Keller2021-08-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Code readability cleanup
| * | | | | | Make Clock Persistant.Tim Keller2021-08-172-1/+8
| | | | | | |
* | | | | | | resolve conflict in src/systemtask/Messages.hMark Russell2021-09-169-83/+124
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Remove unused include in MotoController.hReinhold Gschweicher2021-09-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the unused include `app_timer.h` in `MotorController.h`
| * | | | | | Merge branch 'refactor_adv' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants2021-09-132-45/+87
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into evergreen22-refactor_adv # Conflicts: # src/components/ble/NimbleController.cpp