-
Notifications
You must be signed in to change notification settings - Fork 26
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
pal: switch to multi-advertising BLE API #603
base: main
Are you sure you want to change the base?
Conversation
Regarding |
|
good job, but Sidewalk has also API for disabling BLE, I think that we should have some kind of global reference counter and do not disable the BLE stack if some other part of the application uses it sdk-sidewalk/subsys/sal/sid_pal/src/sid_ble_adapter.c Lines 254 to 267 in 7238295
update: maybe we should move ble init/deinit to sample in the mutliple adverising/connection use case? |
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.
Thre is yet another place which modifies Bluetooth paramters utils/sidewalk_dfu/nordic_dfu.c
We shoould make sure it works correct (I tnik the CI tests will verify it, just make sure the correct suit passed). As a next step we can add Nordic DFU service as a second (third?) advertising set
d21fea1
to
488d413
Compare
71672a6
to
a06d443
Compare
2e21ba8
to
c594774
Compare
c594774
to
f234846
Compare
Unit tests need to be reviewed. I made them green, but at this point I doubt if they test anything (or at list they does not clearly communicate what is actually tested) |
681e4fe
to
ddde8b8
Compare
This implementation does not introduce paralel SMP and Sidewalk connection, but lays a ground for such implementaiton by separating and filtering advertising and connections based on ID. The parallel Sidewalk and SMP service will be made by separate PR, as it needs more sophisticated way of calling bt_disable to make sure that sidewalk does not disable BLE when it switches transport while SMP is working on DFU |
ddde8b8
to
ad10528
Compare
This commit prepares PAL to be used alongside other BLE instances. Signed-off-by: Konrad Derda <[email protected]>
update unit tests Co-authored-by: Robert Gałat <[email protected]> Co-authored-by: Konrad Derda <[email protected]> Signed-off-by: Konrad Derda <[email protected]> Signed-off-by: Robert Gałat <[email protected]>
ad10528
to
5b52afe
Compare
This commit prepares PAL to be used alongside other BLE instances.
CI parameters
Description
JIRA ticket: KRKNWK-19430
Self review