Skip to content

Disable left-side BLE link to right when UART link is healthy.#1552

Merged
kareltucek merged 1 commit into
masterfrom
disableBleOnLeftWhenUart
May 9, 2026
Merged

Disable left-side BLE link to right when UART link is healthy.#1552
kareltucek merged 1 commit into
masterfrom
disableBleOnLeftWhenUart

Conversation

@kareltucek
Copy link
Copy Markdown
Collaborator

Changelog:

  • Disconnect bluetooth link between halves when bridge cable is connected.

Closes #1523

When the left half's UART connection to the right half comes up, schedule
a check 10 seconds later. If both NUS and UART links to right are alive at
that point, disconnect the NUS link and suppress directed-NUS advertising
for as long as the UART link stays healthy. When UART later goes down,
clear the suppression and resume advertising.
@kareltucek kareltucek merged commit 5db3603 into master May 9, 2026
2 checks passed
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.

Feature: disable bluetooth on left side if uart connection is alive.

1 participant