qpacketmodem
Packet encoder/decoder
Public Functions
qpacketmodem | qpacketmodem_create( |
qpacketmodem | qpacketmodem_copy( |
int | qpacketmodem_destroy( |
int | qpacketmodem_print( |
int | qpacketmodem_reset( |
int | qpacketmodem_configure( |
unsigned int | qpacketmodem_get_frame_len( |
unsigned int | qpacketmodem_get_payload_len( |
unsigned int | qpacketmodem_get_crc( |
unsigned int | qpacketmodem_get_fec0( |
unsigned int | qpacketmodem_get_fec1( |
unsigned int | qpacketmodem_get_modscheme( |
float | qpacketmodem_get_demodulator_phase_error( |
float | qpacketmodem_get_demodulator_evm( |
int | qpacketmodem_encode_syms( |
int | qpacketmodem_decode_syms( |
int | qpacketmodem_decode_bits( |
int | qpacketmodem_encode( |
int | qpacketmodem_decode( |
int | qpacketmodem_decode_soft( |
int | qpacketmodem_decode_soft_sym( |
int | qpacketmodem_decode_soft_payload( |
Interfaces
qpacketmodem qpacketmodem_create(
Create packet encoder
qpacketmodem qpacketmodem_copy(
Copy object including all internal objects and state
int qpacketmodem_destroy(
Destroy object, freeing all allocated memory
int qpacketmodem_print(
Print modem status to stdout
int qpacketmodem_reset(
Reset internal state of modem object
int qpacketmodem_configure(
LIQUID_FEC_GOLAY2412
- _q :
- _payload_len :
- _check :
- _fec0 :
- _fec1 : forward error-correction scheme (outer)
- _ms : modulation scheme, e.g. LIQUID_MODEM_QPSK
unsigned int qpacketmodem_get_frame_len(
Get length of encoded frame in symbols
unsigned int qpacketmodem_get_payload_len(
Get unencoded/decoded payload length (bytes)
unsigned int qpacketmodem_get_crc(
Get data integrity check, e.g. LIQUID_CRC_32
unsigned int qpacketmodem_get_fec0(
Get inner forward error-correction scheme, e.g. LIQUID_GOLAY_2412
unsigned int qpacketmodem_get_fec1(
Get outer forward error-correction scheme, e.g. LIQUID_GOLAY_2412
unsigned int qpacketmodem_get_modscheme(
Get modulation scheme, e.g. LIQUID_MODEM_QPSK
float qpacketmodem_get_demodulator_phase_error(
Get demodulator phase error (instantaneous) [radians]
float qpacketmodem_get_demodulator_evm(
Get demodulator error-vector magnitude after frame was received
int qpacketmodem_encode_syms(
encode packet into un-modulated frame symbol indices
- _q : qpacketmodem object
- _payload : unencoded payload bytes
- _syms : encoded but un-modulated payload symbol indices
int qpacketmodem_decode_syms(
[size: frame_len x 1]
- _q :
- _syms :
- _payload : recovered decoded payload bytes
int qpacketmodem_decode_bits(
decode packet from demodulated frame bits (soft-decision decoding)
- _q : qpacketmodem object
- _bits : received soft-decision bits, shape: (bps*frame_len, 1)
- _payload : recovered decoded payload bytes
int qpacketmodem_encode(
encode and modulate packet into modulated frame samples
- _q : qpacketmodem object
- _payload : unencoded payload bytes
- _frame : encoded/modulated payload symbols
int qpacketmodem_decode(
decode packet from modulated frame samples, returning flag if CRC passed using hard-decision decoding
- _q : qpacketmodem object
- _frame : encoded/modulated payload symbols
- _payload : recovered decoded payload bytes
int qpacketmodem_decode_soft(
decode packet from modulated frame samples, returning flag if CRC passed using soft-decision decoding
- _q : qpacketmodem object
- _frame : encoded/modulated payload symbols
- _payload : recovered decoded payload bytes
int qpacketmodem_decode_soft_sym(
decode symbol from modulated frame samples, returning flag if all symbols received
- _q : qpacketmodem object
- _symbol : input received symbol before demodulation
int qpacketmodem_decode_soft_payload(
Decode entire packet, assuming that entire frame has been received.
- _q : qpacketmodem object
- _payload : output payload [bytes]