Overview
A firmware fork for the Baofeng DM-1701 that decodes trunked control signaling on the radio’s own HR-C6000 baseband, follows voice grants to the granted channel, timeslot and color code, then returns to control when the call ends. Documented as a capture-driven reverse-engineering log across more than 300 commits.
Case study
The problem
A DMR Tier III trunked system moves each call to whichever channel and timeslot is free. A handheld radio on stock firmware can’t follow those moves, so listening to a trunked system usually takes a computer and a separate receiver.
The approach
A fork of the OpenGD77 firmware for the Baofeng DM-1701 decodes trunked control signaling on the radio’s own HR-C6000 baseband, follows each voice grant to its channel, timeslot and color code, and returns to control when the call ends.
The work is a capture-driven reverse-engineering log across more than 300 commits. It included recovering the vocoder call path by tracing a register-clobber bug to specific compiled instructions, and rebuilding liveness on CRC-valid bursts, which lifted control-block yield about 59% and data blocks about 72%.
The result
Trunk following works end to end, verified on air, with the radio retuning to each grant’s own slot and color code. The firmware is receive-only and kept private.
Highlights
- On-radio decode of Aloha, broadcast and multi-block channel grants, paired per timeslot
- End-to-end trunk following verified on air, retuning with each grant’s own slot and color code
- Recovered the vocoder call path by tracing a register-clobber bug to specific compiled instructions
- Liveness rebuilt on CRC-valid bursts, lifting control-block yield ~59% and data blocks ~72%