Age | Commit message (Collapse) | Author | Files | Lines |
|
Support passkey pairing when requested by the central
Fix a comment and reorder warning
|
|
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.
|
|
|
|
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.
|
|
Remove unnecessary C-style casts with BLE UUIDs
|
|
updating.
|
|
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.
|
|
Refactor battery percent : only use uint8_t to store the battery % remaining.
|
|
|
|
82153e744833821e20e9a8b0d61c38b2b0dbcfe1
WARNING : heartbeat task is disabled!
|
|
|