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

extmod/nimble: Reset NimBLE BSS in mp_bluetooth_init. #6717

Closed
wants to merge 2 commits into from

Conversation

jimmo
Copy link
Member

@jimmo jimmo commented Dec 22, 2020

This prevents an issue where each call to gatts_register_services would result in an ever-increasing malloc().

multitests pass on pybd/unix-h4. I am running more combinations now.

Without this fix, each time service registration happened it would do an increasingly large malloc() for service state.

See apache/mynewt-nimble#896.
@dpgeorge
Copy link
Member

Thanks! Merged in f42a190 and f7aafc0

@dpgeorge dpgeorge closed this Dec 22, 2020
tannewt added a commit to tannewt/circuitpython that referenced this pull request Aug 11, 2022
Add them as MICROPY_HW_LED_STATUS so that we can share reset code
for them. They aren't actually used for the status if another RGB
option is available. (But maybe they should be.)

Fixes micropython#6717
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants