Expand description

Implements encoding and decoding of the “trellis” convolutional error correcting code specified by P25.

Encoding is done with a state machine and decoding is done with the Viterbi algorithm, adapted from Coding Theory and Cryptography: The Essentials, Hankerson, Hoffman, et al, 2000.

Structs

Half-rate state machine (dibit input).

Convolutional code finite state machine with the given transition table. Each fed-in symbol is used as the next state.

3/4-rate state machine (tribit input).

Decodes a received convolutional code dibit stream to a nearby codeword using the truncated Viterbi algorithm.

Traits

Type Definitions

Half-rate convolution (“trellis”) code decoder.

Half-rate convolutional (“trellis”) code state machine.

3/4-rate convolution (“trellis”) code decoder.

3/4-rate convolutional (“trellis”) code state machine.