Hi Matt,

I am trying to get a handle on the data in the Link Control Word. The
LCW is 72 bits right? On transmission the 72 bit LCW is serialized into
12 hex bits. And then it is encoded with a (24,12,13) RS code to yield
24 hex bits. The 24 hex bits are then encoded with a (10,6,3) shortened
Hamming code to yield 240 bits total.

Is it known how the bits are serialized? Or better yet is there an
existing function for unserializing/serializing that will work here?

The Common Air Interface specification defines the bit interleaving. We typically use a static const array identifying the indices of the bits that make up a given logical field.

And the Hamming and RS codes: does anyone have functions for decoding
(10,6,3) Hamming and (24,12,13) RS code?.



An RS implementation is included in GNURadio and/or ET++. A generalized hamming code is also available in ET++. In the latter case you'll find its parameterized by the number of bits input, number of bits added during encoding and the distance (which is 2*no-of-bits-it-can-fix - 1). I attach a specific hamming code we use in op25 but make no warranties as to its suitability for LCW.

Regards

Stevie