-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove deprecated BLE:: APIs and unsupported services #12676
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
Note: The BLE() constructor is now private.
*/ | ||
MBED_DEPRECATED("Use BLE::Instance() instead of BLE constructor.") | ||
BLE(InstanceID_t instanceID = DEFAULT_INSTANCE); |
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.
Now the constructor is private as the internal stack still needs it.
(This comment forces GitHub to render large diff too)
@LDong-Arm, thank you for your changes. |
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: SUCCESSSummary: 6 of 6 test jobs passed |
@LDong-Arm Is this ready (WIP was removed, just checking) ? @ARMmbed/mbed-os-pan Please review |
@0xc0170 Yes it is ready |
@pan- @paul-szczepanek-arm could one of you review this please ? |
Lets get this in in the next day or so, please review |
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.
Would be good if @donatieng or @pan- or @paul-szczepanek-arm could review
Is work on |
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.
Looks good to me, sanity checked with the Hearthrate example, GCC and WB55 and NRF52840 boards.
This needs to go through CI again as it was last run 7 days again so the results are stale. |
CI started |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
Summary of changes
BLE
namespace.DFUService
,UARTService
and beacon-related services (iBeacon, EddyStone) whose standards/stacks are externally maintained.Impact of changes
BLE
namespace are no longer available.DFUService
,UARTService
and beacon-related services (iBeacon, EddyStone) are no longer available.Migration actions required
BLE
namespace need to be updated to use up-to-date APIs.Documentation
None
Pull request type
Test results
Manual testing: mbed-os-example-ble/BLE_SM example runs on DISCO_L475VG_IOT01A and NRF52840_DK.
Reviewers
@pan- @evedon