-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Cordio configure identity address #13622
Cordio configure identity address #13622
Conversation
@pan-, thank you for your changes. |
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Failure unrelated, but I recall seeing it few days ago. @jeromecoutant Wasn't this fixed or we got the recent changes that increased the size and causing it to fail? |
yes, should be fixed by #13587 |
Thanks, I did not realize this is for the feature branch. @pan- please rebase the feature branch |
// The code should replace the random static address with the identity | ||
// address if this is the case. | ||
if (_db->get_local_identity_address() != gap.getRandomStaticAddress()) { | ||
ble_error_t err =gap.setRandomStaticAddress(_db->get_local_identity_address()); |
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.
missing space after =
cab0b0c
to
de531fd
Compare
4b524e6
to
e2d1bf1
Compare
Pull request has been modified.
…platform. The function to get it has been removed as this operation is driven by the security manager.
e2d1bf1
to
a675ce6
Compare
This also ensure the random static address used by gap is the correct one.
a675ce6
to
fd3bda3
Compare
Thanks for your review @paul-szczepanek-arm . I fixed the typo and rebased the branch. |
Summary of changes
This adds new API to the cordio stack to set the identity address. It also change the random static address in GAP if it doesn't match the address in the security DB.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers