Skip to content

Recover missing ears while preserving existing connections - #311

Merged
TobiasRoeddiger merged 4 commits into
automation/bump-version-1.5.4-36858743484from
codex/reconcile-system-reconnects
Oct 2, 2026
Merged

TobiasRoeddiger merged 4 commits into
automation/bump-version-1.5.4-36858743484from
codex/reconcile-system-reconnects

Conversation

@TobiasRoeddiger

Copy link
Copy Markdown
Member

Recover missing ears by checking Android's system-connected devices as well as scanning. Preserve existing wearable instances when auto-connect restarts, keep active scans running between system checks, and only count a connection after a wearable was initialized successfully.

Verified: regression covers retry after an “already connected” error, both same-name ears, repeated start/resume, disconnect recovery, and avoiding unnecessary scan restarts. Android release build and three live restarts restored the left ear and sensor data automatically (8.4, 6.9 and 37.4 s; the rapid sequence hit Android's scan cooldown). The right ear continued streaming, with a maximum sample gap of 60 ms.

Live-test limit: raw SWD reset separately left firmware looping on ADAU1860: No power up. Controlled restarts powered down the codec first, matching the codec shutdown done by PowerManager::reboot(). This app change does not fix that firmware startup loop.

Addresses the app reconnect path in OpenEarable/open-earable-2#327, item 11.

@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

PR Build Artifacts

Full workflow run: https://github.com/OpenEarable/app/actions/runs/36994922072

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Visit the preview URL for this PR (updated for commit 4ae5d25):

https://open-earable-web--pr311-codex-reconcile-syst-r6zl5rft.web.app

(expires Fri, 30 Oct 2026 10:23:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c7397c11177c71d8d81172cea9365829823fb41c

@TobiasRoeddiger
TobiasRoeddiger merged commit 6525a06 into automation/bump-version-1.5.4-36858743484 Oct 2, 2026
9 checks passed
@TobiasRoeddiger
TobiasRoeddiger deleted the codex/reconcile-system-reconnects branch October 2, 2026 10:41
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.

1 participant