Skip to content

Conversation

@eivindj-nordic
Copy link
Contributor

Add bond management service.

@eivindj-nordic eivindj-nordic self-assigned this Aug 18, 2025
@eivindj-nordic eivindj-nordic requested review from a team as code owners August 18, 2025 12:12
@eivindj-nordic eivindj-nordic added the DNM Do not merge label Aug 18, 2025
@eivindj-nordic eivindj-nordic added this to the v0.9.0 milestone Aug 19, 2025
@eivindj-nordic eivindj-nordic requested a review from a team as a code owner August 25, 2025 11:46
@github-actions
Copy link

You can find the documentation preview for this PR here.

@eivindj-nordic eivindj-nordic removed this from the v0.9.0 milestone Sep 2, 2025
@github-actions github-actions bot added changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval. labels Sep 29, 2025
@eivindj-nordic eivindj-nordic removed the DNM Do not merge label Oct 3, 2025
@eivindj-nordic eivindj-nordic added this to the v1.0.0 milestone Oct 13, 2025
@eivindj-nordic eivindj-nordic added the DNM Do not merge label Oct 21, 2025
@eivindj-nordic eivindj-nordic force-pushed the ble_bms branch 2 times, most recently from 0dd951c to 8a689af Compare November 7, 2025 13:03
@eivindj-nordic eivindj-nordic requested a review from a team as a code owner November 7, 2025 13:03
@eivindj-nordic
Copy link
Contributor Author

Added unit tests. Coverage is not perfect, though I have to prioritize other tasks.
image

/** Error sent back when a control point operation fails. */
#define BLE_BMS_OPERATION_FAILED (BLE_GATT_STATUS_ATTERR_APP_BEGIN + 1)


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra newline.

Copy link
Contributor Author

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.


Copy link
Contributor

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>`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:ref:`Battery Service API reference <api_ble_bms>`
:ref:`Bond Management Service API reference <api_ble_bms>`

default 512

config BLE_BMS_PEERS_TO_DELETE_ON_DISCONNECT_MAX
int "Maximum nmber of peers to delete pending peer disconnect"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
int "Maximum nmber of peers to delete pending peer disconnect"
int "Maximum number of peers to delete pending peer disconnect"

}
}


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra newline.

Copy link
Contributor Author

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. doc-required PR must not be merged without tech writer approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants