Line coding of the input file ('data.bin') for transmission.
The following sequence of operations is used:
- 4b/5b encoding – required for use with MLT-3, necessary for frequent signal changes.
- Scrambling with LFSR – adds a bit of security to the transmitted data.
- MLT-3 encoding – used for transmission.
Created with and tested with GNU Octave
octave-cli main.m %filename%
Core parts are covered with base tests for validating correctness.
octave-cli --eval 'test encode_4b5b'
octave-cli --eval 'test test lfsr'
octave-cli --eval 'test mlt3'