Files
ipsc2hbpc/tests
Cort BuffingtonandClaude Opus 5.5 ec83237268 IPSC->HBP: send MMDVMHost silence for AMBE frames the repeater flags bad
The repeater sets a per-AMBE-frame "bad voice" flag when it could not
correct the frame on RF receive (confirmed OTA on a weak signal). We
re-encoded those frames with fresh, valid FEC, so they reached HBP
looking good. MMDVMHost replaces uncorrectable frames with silence, so
substitute its DMR_SILENCE_DATA frame for each flagged frame.

No FEC repair is added in the HBP->IPSC direction: MMDVMHost already
corrects every RF frame or replaces it with silence before it reaches
the network, so HBP never carries damaged frames.

Tests: new bad-voice check; synthetic parity inputs had the flag bits set
at random, cleared them (the reference ignores those bits, output
unchanged).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 09:22:11 -05:00
..