Closed alexernst closed 1 year ago
I'm wondering if this PR will break other radio's data decoding ? The ETSI TS 102 361-1 describes the DMR rate 3/4 trellis code logic, and I think the original MMDVM code looks just fine.
It won't break anything. Here it is only used to try to fix errors in received data packets. MMDVMHost is simple decoding/encoding datarate 3/4 packets and tries to fix errors. As decode and encode use the same bit order it didn't mattered.
I only noticed it because I needed the decoded debug output.
@alexernst Thank you! https://github.com/g4klx/MMDVMHost/issues/744
The trellis decoder and encoder are both working with reverse bit order. After this change I'm able to decode data packets with trellis encoding from my Hytera successfully.
Fix #744