Skip to content

Conversation

eivindj-nordic
Copy link
Contributor

@eivindj-nordic eivindj-nordic commented Oct 22, 2025

Work in progress.
#depends on #436

Change error codes to nrf_errors.
Moving forward all non-BLE libraries and components will return errnos, while BLE related code as BLE services, libraries and the SoftDevice will return nrf_errors.

@eivindj-nordic eivindj-nordic self-assigned this Oct 22, 2025
@eivindj-nordic eivindj-nordic requested review from a team as code owners October 22, 2025 07:38
@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 Oct 22, 2025
@eivindj-nordic eivindj-nordic changed the title lib: bluetooth: ble_conn_params: change error codes to nrf_error treewide: bluetooth: change error codes to nrf_error Oct 22, 2025
@github-actions
Copy link

You can find the documentation preview for this PR here.

@eivindj-nordic eivindj-nordic marked this pull request as draft October 22, 2025 07:40
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 4 times, most recently from a3bc308 to 0c2e340 Compare October 22, 2025 11:58
Change error codes to nrf_errors.

Signed-off-by: Eivind Jølsgard <[email protected]>
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 2 times, most recently from 2d887e6 to 650db0b Compare October 22, 2025 13:22
Removed a compliance warning.

Signed-off-by: Eivind Jølsgard <[email protected]>
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch from 650db0b to ac40aef Compare October 22, 2025 13:30
Rename nrf error variables from err to nrf_err.
Align success checks for nrf_errors.
Replace (nrf_err != NRF_SUCCESS) with (nrf_err).

Signed-off-by: Eivind Jølsgard <[email protected]>
Change error codes to nrf_errors.

Signed-off-by: Eivind Jølsgard <[email protected]>
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 2 times, most recently from 599d5ac to f7a56dc Compare October 22, 2025 13:42
Change error codes to nrf_errors.

Signed-off-by: Eivind Jølsgard <[email protected]>
Change error codes to nrf_errors.

Signed-off-by: Eivind Jølsgard <[email protected]>
Change error codes to nrf_errors.

Signed-off-by: Eivind Jølsgard <[email protected]>
Change error codes to nrf_errors.

Signed-off-by: Eivind Jølsgard <[email protected]>
Change error codes to nrf_errors.
Cleanup of ble_dis header.

Signed-off-by: Eivind Jølsgard <[email protected]>
Change error codes to nrf_errors.

Signed-off-by: Eivind Jølsgard <[email protected]>
Change error codes to nrf_errors.

Signed-off-by: Eivind Jølsgard <[email protected]>
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch from f7a56dc to 965ce66 Compare October 22, 2025 13:45
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.

1 participant