Skip to content

_bleio: document that disabling the adapter resets its state - #12030

Merged
tannewt merged 1 commit into
adafruit:mainfrom
mmabey:mabey/bleio-adapter-enabled-docs
Dec 4, 2026
Merged

tannewt merged 1 commit into
adafruit:mainfrom
mmabey:mabey/bleio-adapter-enabled-docs

Conversation

@mmabey

@mmabey mmabey commented Dec 4, 2026

Copy link
Copy Markdown

Documents on Adapter.enabled that disabling and re-enabling the adapter resets all of its state (the name reverts to its default and existing services are no longer served), and recommends stopping advertising and disconnecting instead when the goal is saving power. Prompted by a discussion with tannewt on Discord after I spent a while debugging an empty GATT table following a disable/enable cycle used for low-power idle.

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@tannewt
tannewt merged commit f455186 into adafruit:main Dec 4, 2026
307 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants