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

Teardown bluetooth phoneAPI better and fix client notification issue #4834

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

thebentern
Copy link
Contributor

@thebentern thebentern commented Sep 23, 2024

Closes #4388
Adding a ton of explicit tearing down seems to improve stability a lot between BLE disconnects.
Also fixed an inconsistency in how we were handling ClientNotification vs other FromRadio variants with their own queues
Tested on Heltec V3 and RAK-4631.

PS: Also hoping this has a side-effect of fixing some of the nodedb / config wipes on BLE disconnect and reconnect cycles sporadically.

Copy link
Collaborator

@jp-bennett jp-bennett left a comment

Choose a reason for hiding this comment

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

Not seeing anything problematic.

@jp-bennett jp-bennett force-pushed the phoneapi-close-ondisconnect branch from 103cb9b to 439782d Compare September 23, 2024 18:56
@thebentern thebentern force-pushed the phoneapi-close-ondisconnect branch from 439782d to 80a995f Compare September 23, 2024 19:41
@thebentern thebentern merged commit 9cbabb0 into master Sep 23, 2024
108 checks passed
@thebentern thebentern deleted the phoneapi-close-ondisconnect branch September 23, 2024 20:51
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.

[Bug]: Bluetooth connectivity drops repeatidly when MQTT JSON is activated
2 participants