-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
lib: Update identity_key and hw_uniq_key libraries to return error codes #11557
Conversation
Test specificationCI/Jenkins/NRF
CI/Jenkins/integration
Detailed information of selected test modules Note: This message is automatically posted and updated by the CI |
ff516df
to
29749bf
Compare
29749bf
to
dd3b5e2
Compare
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.
Nice UX improvement
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publishing GitHub Action. |
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.
Changelog entry required.
dd3b5e2
to
86fa6fe
Compare
86fa6fe
to
36afb0f
Compare
36afb0f
to
5f4bfe7
Compare
cc934e9
to
25be3db
Compare
25be3db
to
4c1e81c
Compare
@mia-ko I did some small changes in the changelog, could you check them please? |
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.
Thank you for your patience
The identity key library until now panicked with k_panic in case of error in most of the cases. It is a preferred practice to return error codes and let the application decide what to do with the error. This updates the functions from void to int and adds some extra error codes to cover all the cases. Ref: NCSDK-21839 Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
The functionality of this sample is presented in other samples (see hw_unique_key) making it redundant. Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
The hardware unique key library until now panicked with k_panic in case of error in most of the cases. It is a preferred practice to return error codes and let the application decide what to do with the error. This updates the functions from void to int and adds some extra error codes to cover all the cases. Ref: NCSDK-21839 Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
eadc800
to
c8ccbcc
Compare
Updates the two identity key and the hardware unique key libraries so that they don't panic but instead they return an error code. This will allow the application to handle the error as they seem fit.
Also removes the random_hw_unique_key sample since it is now redundant.
Ref: NCSDK-21839