TinyModem
Header-only software audio modem library
Loading...
Searching...
No Matches
tinymodem::MFSKVaricode Class Reference

The IZ8BLY MFSK Varicode (as used by fldigi for 8PSK): a code starts with 1 and does not contain "001", so a character ends when "001" is received (the 1 starts the next character). More...

#include <PSK.h>

Public Types

using Code = Varicode::Code

Static Public Member Functions

static Code encode (uint8_t ch)
 Code of the indicated byte.
static int decode (uint16_t bits)
 Byte of the indicated code: returns -1 if the code is unknown.

Static Protected Member Functions

static const Code * table ()

Detailed Description

The IZ8BLY MFSK Varicode (as used by fldigi for 8PSK): a code starts with 1 and does not contain "001", so a character ends when "001" is received (the 1 starts the next character).

Member Typedef Documentation

◆ Code

Member Function Documentation

◆ decode()

int tinymodem::MFSKVaricode::decode ( uint16_t bits)
inlinestatic

Byte of the indicated code: returns -1 if the code is unknown.

◆ encode()

Code tinymodem::MFSKVaricode::encode ( uint8_t ch)
inlinestatic

Code of the indicated byte.

◆ table()

const Code * tinymodem::MFSKVaricode::table ( )
inlinestaticprotected

The documentation for this class was generated from the following file: