-
Notifications
You must be signed in to change notification settings - Fork 3k
Ble extended advertising fixes #8904
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
…ion parameter. Unlike the public address, the RANDOM address is guaranteed to exist. If privacy is enabled, it means the controller will generates random resolvable addresses or non resolvable addresses depending on the config. If privacy is not enabled then the device will use the device's random static address that doesn't change between radio processes.
This are fixes for recent feature (5.11 one), is that correct? |
@@ -145,10 +145,10 @@ class ConnectionParameters { | |||
phy_t phy = phy_t::LE_1M, | |||
scan_interval_t scanInterval = scan_interval_t::min(), | |||
scan_window_t scanWindow = scan_window_t::min(), | |||
conn_interval_t minConnectionInterval = conn_interval_t::min(), | |||
conn_interval_t maxConnectionInterval = conn_interval_t::max(), | |||
conn_interval_t minConnectionInterval = conn_interval_t(50), |
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.
any reason for these particular values?
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.
Yes, they are more balanced with common use cases than the previous one (62 to 124 ms for the connection interval instead of 7.5 to 4 seconds).
@0xc0170 Correct. |
Looks good! |
More fixes incoming. |
@donatieng @paul-szczepanek-arm Could you re-review ?
@cmonr I think that's all. |
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.
One tiny Doxygen change required
scan_duration_t duration = scan_duration_t::forever(), | ||
duplicates_filter_t filtering = duplicates_filter_t::DISABLE, |
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.
Needs doxygen update
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.
Fixed.
This change makes it consistent with PeriodicAdvertisingReportEvent.
CI started |
Test run: SUCCESSSummary: 4 of 4 test jobs passed |
Description
Updating the examples revealed few defects in the ble extended feature. This PR intend to fix those.
We're waiting for OOB to add more if necessary.
Pull request type
The "breaking changes" are in the new API:
Pull request type