-
Notifications
You must be signed in to change notification settings - Fork 23
services: add ble_bms #280
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
base: main
Are you sure you want to change the base?
Conversation
e20c85f to
4d718f8
Compare
|
You can find the documentation preview for this PR here. |
4d718f8 to
92c4e79
Compare
92c4e79 to
9076412
Compare
9076412 to
8869608
Compare
0dd951c to
8a689af
Compare
8a689af to
96bc75e
Compare
96bc75e to
b201c25
Compare
| /** Error sent back when a control point operation fails. */ | ||
| #define BLE_BMS_OPERATION_FAILED (BLE_GATT_STATUS_ATTERR_APP_BEGIN + 1) | ||
|
|
||
|
|
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.
Extra newline.
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.
This is outdated.
| Events from the service are forwarded through the event handler specified during initialization. | ||
| For a full list of events see the :c:enum:`ble_bms_evt_type` enum. | ||
|
|
||
|
|
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.
Extra newline.
| | Header file: :file:`include/bluetooth/services/ble_bms.h` | ||
| | Source files: :file:`subsys/bluetooth/services/ble_bms/` | ||
|
|
||
| :ref:`Battery Service API reference <api_ble_bms>` |
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.
| :ref:`Battery Service API reference <api_ble_bms>` | |
| :ref:`Bond Management Service API reference <api_ble_bms>` |
samples/bluetooth/ble_bms/Kconfig
Outdated
| default 512 | ||
|
|
||
| config BLE_BMS_PEERS_TO_DELETE_ON_DISCONNECT_MAX | ||
| int "Maximum nmber of peers to delete pending peer disconnect" |
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.
| int "Maximum nmber of peers to delete pending peer disconnect" | |
| int "Maximum number of peers to delete pending peer disconnect" |
| } | ||
| } | ||
|
|
||
|
|
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.
Extra newline.
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.
Thanks, comments addressed.
Add bond management service. Signed-off-by: Eivind Jølsgard <[email protected]>
b201c25 to
552f994
Compare

Add bond management service.