Skip to content
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

Add two stage reset for BLE #6389

Merged
merged 2 commits into from
May 13, 2022
Merged

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented May 12, 2022

This lets the BLE stack run through the wait period after a VM run
when it may be waiting for more writes due to an auto-reload.

User BLE functionality will have their events stopped. Scanning and
advertising is also stopped.

This lets the BLE stack run through the wait period after a VM run
when it may be waiting for more writes due to an auto-reload.

User BLE functionality will have their events stopped. Scanning and
advertising is also stopped.
@tannewt tannewt added this to the 7.3.0 milestone May 12, 2022
@tannewt tannewt requested a review from dhalbert May 12, 2022 20:38
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me!

bleio_user_reset() needs to be added to devices/ble_hci/, I think, to fix the undefined errors.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
@kattni want to test BLE reload again?

@dhalbert dhalbert requested a review from kattni May 13, 2022 01:33
@kattni
Copy link

kattni commented May 13, 2022

Works successfully with PyLeap.

@kattni kattni merged commit 395b550 into adafruit:main May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants