-
Notifications
You must be signed in to change notification settings - Fork 178
BLE: Add reference of Battery service. #339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLE: Add reference of Battery service. #339
Conversation
@sg- @AnotherButler Could you review ? |
Make minor copy edits for clarity.
@pan- Is this for 5.7, or is it applicable now? |
It is applicable now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than the use of SIG versus body
|
||
The <a href="https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=245138" target="_blank">Bluetooth Battery Service</a> defines how to expose a battery charge level through a BLE link. It allows a client - usually a smartphone application - of a device to read the current battery charge level and follow its evolution. | ||
|
||
The BatteryService class implements the Bluetooth Battery Service as defined by the Bluetooth body. Makers of BLE devices operating on battery can use the API to expose interoperably the charge level of their products. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bluetooth body or SIG (special interest group) as they refer to themselves as?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've replaced Bluetooth body by Bluetooth SIG.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than the merge conflict
Update link.
@pan- I'm having some trouble finding the correct API reference link. Is the doxygen for this in a features folder? |
Yes, bless as a whole is in a feature folder. |
This page describes what the Bluetooth Battery Service is and what the BatteryService class do.