Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
|
|
https://github.com/NeroBurner/InfiniTime into NeroBurner-restructure_includes
# Conflicts:
# doc/contribute.md
# src/displayapp/screens/BatteryInfo.h
|
|
|
|
|
|
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.
|
|
|
|
|
|
instead of 4 (uint32_t).
|
|
the UUID of the new Motion service from 00020000-* to 00030000-*.
|
|
|
|
|
|
only if the host subscribed to them.
|
|
|
|
|
|
Improve battery percentage calculation and reporting
|
|
Fix Navigation Service UUID docs
|
|
Remove unnecessary C-style casts with BLE UUIDs
|
|
|
|
While charging, percentage should only go up, and while discharging,
percentage should only go down.
|
|
Detect full charge and improve watchface battery display
|
|
Fix the size of the filesystem.
|
|
updating.
|
|
Correct typo: 0x400000 - 0x0B4000 = 0x34C000.
|
|
Toggle notifications only, keep vibrations.
|
|
|
|
|
|
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.
|
|
into geekbozu-PersistantStorage
# Conflicts:
# src/systemtask/SystemTask.cpp
|
|
|
|
This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
|
|
|
|
|
|
|
|
Remove the unused include `app_timer.h` in `MotorController.h`
|
|
|
|
|
|
|
|
into evergreen22-refactor_adv
# Conflicts:
# src/components/ble/NimbleController.cpp
|
|
Put all duplicated GPIO pin definitions to a single file
|
|
* 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`.
|
|
|
|
Correct change test for wake up mode setting
|
|
|
|
|
|
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).
|
|
This reverts commit c32ba844e04017a3fd31444c384deb3542bd76be.
|
|
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.
|
|
|