-
Notifications
You must be signed in to change notification settings - Fork 2.1k
pkg/nimble: ver bump + config improvement #12775
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
pkg/nimble: ver bump + config improvement #12775
Conversation
do not merge yet, there is one other bugfix that needs should go in before the version bump: apache/mynewt-nimble#678 |
c815178
to
ffd8fc9
Compare
All dependencies are merged and I updated the NimBLE version accordingly. This PR is ready to be merged now. |
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.
ACK. @haukepetersen is doing a lot of experimenting with NimBLE at the moment and confirmed offline that he is using this version for that already (I've seen it), so no need for me to do more testing.
Murdock still found some issues. |
In July the NimBLE GAP API changed slightly: the data of an advertising packet is now passed as I pushed a fix for this, so now Murdock should be happy. |
@@ -143,7 +143,7 @@ static void _filter_and_connect(struct ble_gap_disc_desc *disc) | |||
int res; | |||
bluetil_ad_t ad; | |||
|
|||
bluetil_ad_init(&ad, disc->data, | |||
bluetil_ad_init(&ad, (uint8_t *)disc->data, |
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.
Please add a comment why this is possible and won't lead to a crash.
Wouldn't it be better to change |
02f1b4e
to
a612002
Compare
Nope, as |
a612002
to
20af661
Compare
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.
ACK.
All green -> go. |
Contribution description
In the last month some (for us) relevant bugs in NimBLE got fixed (e.g. apache/mynewt-nimble#650), so its time for another version bump.
On top, this PR includes a configuration improvement to enable the link layer data length extension to be used whenever
nimble_netif
is used -> this improves network performance quite a bit.Both commits are included in the same PR, as testing is identical and therefore this reduces the workload...
Testing procedure
Verify that
examples/nimble_gatt
,examples/gnrc_networking
, andtests/nimble_l2cap
are still working. Anynrf52xxx
-based platform does the job to test this.Issues/PRs references
none