commit | 71e3e674d24b9f8f837154cf9e620306f478e1c3 | [log] [tgz] |
---|---|---|
author | Ani Ramakrishnan <aniramakri@google.com> | Thu Apr 18 21:13:59 2024 +0000 |
committer | Ani Ramakrishnan <aniramakri@google.com> | Wed Apr 24 23:05:22 2024 +0000 |
tree | 2ec8f31c6c373b124facf91639820e2a5aa9d3b2 | |
parent | 9ec018be02aa436fccbf2105462432f226ffec48 [diff] |
rust/bt-battery: Subscribe to Battery Level characteristic notifications - The battery level characteristic is a mandatory characteristic published by the battery service. Support for notifications on this characteristic are optional but commonly provided as it is the main mechanism for receiving "push" style updates of the battery level. - Subscribe to notifications on the battery level characteristic and provide updates as a stream of battery events. Test: cargo test Change-Id: Ic0caa8d8a3ae7425af829f157237a84d69a2f436 Reviewed-on: https://bluetooth-review.git.corp.google.com/c/bluetooth/+/1700 Reviewed-by: Dayeong Lee <dayeonglee@google.com>
This is a repository for shared source libraries that can be useful for multiple Bluetooth stacks. Many of these are meant to be stack-agnostic and platform-agnostic and implement a useful part of a published Bluetooth specification.
It has been started as a repository for developing Rust crates but can be easily expanded to include libraries for other languages.