Repository navigation
Recover missing ears while preserving existing connections - #311
Merged
TobiasRoeddiger merged 4 commits intoOct 2, 2026
Merged
TobiasRoeddiger merged 4 commits into
TobiasRoeddiger merged 4 commits into
Conversation
Contributor
PR Build Artifacts
Full workflow run: https://github.com/OpenEarable/app/actions/runs/36994922072 |
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
merged commit Oct 2, 2026
6525a06
into
automation/bump-version-1.5.4-36858743484
9 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 byPowerManager::reboot(). This app change does not fix that firmware startup loop.Addresses the app reconnect path in OpenEarable/open-earable-2#327, item 11.