szechyjs / dsd

Digital Speech Decoder
Other
681 stars 267 forks source link

Will FECdecoder work with P25 control channel? #53

Open sbromberger opened 9 years ago

sbromberger commented 9 years ago

I noticed that FECdecoder appears to implement a trellis decoder. Will this work with the P25 control channel (assuming you initialize it the same way as in dstar_header_decode)?

EdFuentetaja commented 9 years ago

I doubt it. On the P25 training guide document it says that the TSBK uses a "Rate 1/2 Trellis Encoder (196,96)." On the FECdecoder method it seems that 660 bits get in and 660 get out... Given the lack of documentation on the code we need to refer to the DSTAR header specs to understand what it does. On the other hand the TIA 102.BAAA document (it's your friend) gives some details on the Trellis 1/2 codes used for P25 data packets, probably they use the same on the TSBK.