-
Notifications
You must be signed in to change notification settings - Fork 3k
BLE: remove deprecated APIs from Gatt and SecurityManager #12742
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
Conversation
@LDong-Arm, thank you for your changes. |
55292fe
to
bee6819
Compare
rebased |
CI started |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
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.
Thanks @LDong-Arm That looks good however removing the default event handler makes the code more fragile if an event handler hasn't been set.
In GenericSecurityManager.tpp, could you guard access to a null event handler ?
@pan- Thanks, that's a good point. Since nothing in EventHandler is pure virtual, maybe we can use a default handler (as before) that overrides nothing. I'll make the change. |
bee6819
to
70759b2
Compare
70759b2
to
07c25bb
Compare
@pan- I've brought back |
Test run: FAILEDSummary: 2 of 3 test jobs failed Failed test jobs:
|
Please ignore lts jobs here , not valid for this PR. We will restart testing and fix lts status here later once 5.15 jobs are in |
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.
LGTM
CI started |
Test run: FAILEDSummary: 2 of 3 test jobs failed Failed test jobs:
|
@0xc0170 The failures are specific to a few targets and unrelated to BLE? |
The CI was fixed on Friday, CI restarted |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
Preceding PR: #12676Summary of changes
Impact of changes
Deprecated APIs from Gatt and SecurityManager do not exist anymore, applications that use them will not compile until updated with current APIs.
Migration actions required
Applications that compile without deprecation warnings on mbed-os-5.15 will continue to work. Otherwise, please fix any deprecated API usages, for example by referring to compilation warnings from mbed-os-5.15.
Documentation
None.
Pull request type
Test results
Manual testing: BLE_SM, BLE_GattClient and BLE_GattServer examples compile and function as expected on NRF52840_DK.
Reviewers
@ARMmbed/mbed-os-pan @evedon