aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/BatteryInformationService.cpp
Commit message (Collapse)AuthorAgeFilesLines
* src: Enable unused parameter warningRiku Isokoski2023-01-241-5/+3
| | | | | | Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
* Update clang-{format,tidy} to 14Finlay Davidson2023-01-041-0/+1
| | | | | Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
* Optional secure pairing with a passkeyJames A. Jerkins2021-12-211-1/+1
| | | | | Support passkey pairing when requested by the central Fix a comment and reorder warning
* Connect and bond with a passkeyJames A. Jerkins2021-12-091-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.
* Move up file header include to topReinhold Gschweicher2021-11-151-1/+1
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-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.
* Merge pull request #524 from jonvmey/ble-uuid-c-castsJF2021-10-091-2/+2
|\ | | | | Remove unnecessary C-style casts with BLE UUIDs
| * Remove unnecessary C-style casts with BLE UUIDsJonathan Vander Mey2021-07-241-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.
* | Remove static declartion on batteryValue preventing read attribute from ↵Tim Keller2021-10-021-1/+1
|/ | | | updating.
* Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-111-2/+6
| | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
* Reformatted all the files according to clang-format styleAvamander2021-04-241-32/+20
|
* Update to nimble 1.3 master branch commit ↵Jean-François Milants2021-02-021-0/+1
| | | | | | 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 WARNING : heartbeat task is disabled!
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-0/+62