-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Resurrect "Cleanup PASE code, error handling and error logging (#6852)"" #6907
Conversation
…ct-chip#6852)"" This reverts commit 6bfdd05.
Size increase report for "gn_qpg6100-example-build" from 1a21a3f
Full report output
|
Size increase report for "nrfconnect-example-build" from 1a21a3f
Full report output
|
Size increase report for "esp32-example-build" from 1a21a3f
Full report output
|
strlen(kSpake2pKeyExchangeSalt), myKeyId, delegate); | ||
SuccessOrExit(err); | ||
ReturnErrorOnFailure(WaitForPairing(0, kSpake2p_Iteration_Count, | ||
reinterpret_cast<const unsigned char *>(kSpake2pKeyExchangeSalt), |
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.
nit: should "unsigned char" here be uint8_t for consistency with the rest of the codebase?
Realise this code is not really changed at this level, so optional change for sure if it even makes sense.
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.
WaitForPairing
is exposed to the rest of the code as an API, and it currently takes unsigned char
as the argument. We should be able to change it to uint8_t
, but maybe better to do this in a separate PR.
…ct-chip#6852)"" (project-chip#6907) * Resurrect "Cleanup PASE code, error handling and error logging (project-chip#6852)"" This reverts commit 6bfdd05. * cleanup code * Address review comments * fix error check * address review comments
Problem
The PR #6852 was causing build issues for QPG6100. This PR tries to fix the error and resurrect the change.
Summary of Changes
Fix the issues caused by the reverted PR.
Testing
TestPASESession
unit test suiteManual testing using Python controller app
Manual testing using iOS CHIPTool app
CI runs Darwin tests that exercise the PASE Session setup process.