Skip to content

Conversation

@eivindj-nordic
Copy link
Contributor

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

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 11 times, most recently from 965ce66 to 9081c8f Compare October 24, 2025 08:09
@eivindj-nordic eivindj-nordic added this to the v1.0.0 milestone Oct 24, 2025
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 2 times, most recently from 15e31c8 to 54ac6bd Compare October 24, 2025 11:44
@eivindj-nordic eivindj-nordic marked this pull request as ready for review October 24, 2025 11:47
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 5 times, most recently from ad2cee7 to fd60847 Compare October 24, 2025 13:25
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 2 times, most recently from a1438e1 to 76978a0 Compare October 28, 2025 07:21
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 3 times, most recently from f3c889e to 0208f86 Compare October 28, 2025 13:54
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 5 times, most recently from bcbaa25 to c12373f Compare November 3, 2025 11:47
@eivindj-nordic eivindj-nordic force-pushed the error_code_alignment_ble_conn_param branch 2 times, most recently from 28b49c8 to 8e87716 Compare November 4, 2025 09:07
@eivindj-nordic
Copy link
Contributor Author

@nrfconnect/ncs-bm-test @nrfconnect/ncs-eris Please review.

Removed a compliance warning.

Signed-off-by: Eivind Jølsgard <[email protected]>
Rename nrf error variables from err to nrf_err.
Rename nrfx error variables to nrfx_err and use nrfx_err_t type.
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]>
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]>
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 8e87716 to dfe6a1c Compare November 7, 2025 07:33
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