Skip to content

fix(lib): correct A3957 In-Call Sound Awareness mapping - #419

Open
Scott-Nx wants to merge 1 commit into
Oppzippy:masterfrom
Scott-Nx:feat/a3957-in-call-sound-awareness
Open

Scott-Nx wants to merge 1 commit into
Oppzippy:masterfrom
Scott-Nx:feat/a3957-in-call-sound-awareness

Conversation

@Scott-Nx

@Scott-Nx Scott-Nx commented Oct 23, 2026 •

Copy link
Copy Markdown

Summary

The Liberty 5 has no transparency sub-mode; captured state updates show this byte is the In-Call Sound Awareness toggle.

This maps it to a boolean, exposes Sound Modes -> In-Call Sound Awareness, and sends it through the existing [6, 129] sound-mode packet.

Verification

  • Verified on a real Liberty 5
  • Added round-trip tests for parsing and serializing the byte.
  • Extended the Liberty 5 integration test to verify the outbound packet: [6, 129] with the third sound-mode byte set to 1.
  • cargo test -p openscq30-lib --lib passes (208 tests).
  • cargo fmt --all -- --check passes.

Impact

This removes the incorrect Transparency Mode setting for A3957. Quick presets that reference TransparencyMode for this device will no longer apply. InCallSoundAwareness is appended to SettingId so existing preset IDs remain stable.

The Liberty 5 has no transparency sub-mode. The third sound-mode byte is an In-Call Sound Awareness toggle, so expose it as a boolean instead of a TransparencyMode selection.
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