summaryrefslogtreecommitdiff
path: root/src/components/ble/BatteryInformationService.cpp
AgeCommit message (Collapse)AuthorFilesLines
2023-01-04Update clang-{format,tidy} to 14Finlay Davidson1-0/+1
Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
2021-12-21Optional secure pairing with a passkeyJames A. Jerkins1-1/+1
Support passkey pairing when requested by the central Fix a comment and reorder warning
2021-12-09Connect and bond with a passkeyJames A. Jerkins1-1/+1
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.
2021-11-15Move up file header include to topReinhold Gschweicher1-1/+1
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-1/+1
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-10-09Merge pull request #524 from jonvmey/ble-uuid-c-castsJF1-2/+2
Remove unnecessary C-style casts with BLE UUIDs
2021-10-02Remove static declartion on batteryValue preventing read attribute from ↵Tim Keller1-1/+1
updating.
2021-07-24Remove unnecessary C-style casts with BLE UUIDsJonathan Vander Mey1-2/+2
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.
2021-07-11Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants1-2/+6
Refactor battery percent : only use uint8_t to store the battery % remaining.
2021-04-24Reformatted all the files according to clang-format styleAvamander1-32/+20
2021-02-02Update to nimble 1.3 master branch commit ↵Jean-François Milants1-0/+1
82153e744833821e20e9a8b0d61c38b2b0dbcfe1 WARNING : heartbeat task is disabled!
2020-10-02Fixed all the includes that were broken due to the renamesAvamander1-0/+62