Reaction: Fix Conversational Awareness resuming media too early#601
Merged
Conversation
The pod only signals CA start and end, not continuous keep-alives. On fw 6861 it held CA engaged for 21s with zero 0x4B frames while the wearer kept talking, so the 12s stale-timeout fired mid-speech and resumed media; the pod never re-sent a start frame, so it didn't re-pause. Disengage now waits for the explicit not-speaking frame (status 5 added as a terminal STOP, since that firmware winds down 3->5 and never reaches 6/8/9). Transitional/unknown statuses stay engaged. The stale timer is demoted to a long 5min backstop for a fully-dropped terminal frame; constants moved to Kotlin Durations.
This was referenced Jun 9, 2026
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.
What changed
Fixed Conversational Awareness bringing your media back while you're still talking. Previously, during a longer stretch of talking the music/podcast would resume on its own after about 12 seconds and then fail to pause again when you kept speaking. Now it stays paused (or volume-lowered) for as long as you're actually talking, and only resumes when you stop.
Technical Context
0x4Bframes as "speaking ended". But the pod does not stream keep-alives during sustained speech — on fw…6861it sent an onset (1,2) then no frames for 21s while CA stayed engaged (it held ANC=transparency the whole time), so the stale-timeout fired mid-speech. The pod never re-sent an onset, so it never re-paused.5is added to the terminal STOP set, since that firmware winds down3→5and never reaches6/8/9; transitional/unknown statuses stay engaged.Duration.…6503compressed1,2,3,0xB,4,8,9wind-down;…6861sparse1,2,…,3,5); a regression test reproduces the 20s-silence case.