nrf_rpc: allow more verbose error info#2092
Draft
MarekPorwisz wants to merge 2 commits intonrfconnect:mainfrom
Draft
nrf_rpc: allow more verbose error info#2092MarekPorwisz wants to merge 2 commits intonrfconnect:mainfrom
MarekPorwisz wants to merge 2 commits intonrfconnect:mainfrom
Conversation
This was referenced Apr 24, 2026
kderda
reviewed
Apr 27, 2026
|
|
||
| /** Report an error that cannot be reported as a function return value */ | ||
| #ifdef CONFIG_NRF_RPC_DETAILED_ERROR_REPORTING | ||
| void nrf_rpc_err_impl(int code, enum nrf_rpc_err_src src, |
There was a problem hiding this comment.
As it's a library - shouldn't we just have both implementations available and dispatch which to use in the uper layer?
885545f to
8b9ae0e
Compare
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Apr 29, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-nrfxlib#2092 Signed-off-by: Nordic Builder <[email protected]>
8b9ae0e to
cd94a72
Compare
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Apr 29, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-nrfxlib#2092 Signed-off-by: Nordic Builder <[email protected]>
cd94a72 to
d2c9379
Compare
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
Apr 30, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-nrfxlib#2092 Signed-off-by: Nordic Builder <[email protected]>
d2c9379 to
7c8aa38
Compare
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
May 4, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-nrfxlib#2092 Signed-off-by: Nordic Builder <[email protected]>
Modified the nrf_rpc error repoting api to provide more detailed error information. This will help in debugging RPC communication related issues. Additional file/function/line number were added to the error description. Signed-off-by: Marek Porwisz <[email protected]>
For debug purposes due to the number of occurrences of the nrf_rpc_cbor_*_no_err function calls. The function/file/line value is passed from the calling function. Signed-off-by: Marek Porwisz <[email protected]>
1660810 to
2f9e94c
Compare
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
May 5, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-nrfxlib#2092 Signed-off-by: Nordic Builder <[email protected]>
NordicBuilder
added a commit
to NordicBuilder/sdk-nrf
that referenced
this pull request
May 5, 2026
Automatically created by action-manifest-pr GH action from PR: nrfconnect/sdk-nrfxlib#2092 Signed-off-by: Nordic Builder <[email protected]>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Modified the nrf_rpc error repoting api to provide more detailed error information. This will help in debugging RPC communication related issues. Additional file/function/line number were added to the error description.