Skip to content

Prevent auto-restarting BLE when disabling it on nRF52#1991

Merged
liamcottle merged 1 commit intomeshcore-dev:devfrom
weebl2000:prevent-auto-restart-ble-nrf52
Mar 11, 2026
Merged

Prevent auto-restarting BLE when disabling it on nRF52#1991
liamcottle merged 1 commit intomeshcore-dev:devfrom
weebl2000:prevent-auto-restart-ble-nrf52

Conversation

@weebl2000
Copy link
Contributor

@weebl2000 weebl2000 commented Mar 10, 2026

If client is still connected, client would automatically reconnect immediately thus keeping BLE on. When disabling bluetooth, stop advertising first to prevent clients keeping the connection open.

fixes #1933

Try this PR by building here

Tested & works fine on T1000E too.

If client is still connected, client would automatically reconnect
immediately thus keeping BLE on

fixes meshcore-dev#1933
@weebl2000
Copy link
Contributor Author

Confirmed working by 1 user so far.

@liamcottle
Copy link
Member

Tested on my Wio Tracker L1 Pro, seems to be behaving as expected now.

@liamcottle liamcottle merged commit 8ac8c4d into meshcore-dev:dev Mar 11, 2026
9 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