|
TinyModem
Header-only software audio modem library
|
Common API of the demodulators (FSKDecoder, MFSKDecoder): PCM audio data is written to the decoder and the decoded data is written to the output. Status messages (### CARRIER and ### NOCARRIER) are written to the status output. More...
#include <ModemBase.h>


Public Member Functions | |
| void | setStatusOutput (Print &out) |
| Defines the output for the ### CARRIER / ### NOCARRIER messages. | |
| void | setQuiet (bool quiet) |
| Suppresses the status messages. | |
| virtual bool | isCarrier ()=0 |
| true while a carrier is detected | |
| virtual bool | isFinished ()=0 |
| true if the decoding was stopped (rx_one) | |
| virtual void | flush ()=0 |
| Processes all buffered samples (e.g. at the end of the input). | |
| const char * | mime () override |
Protected Member Functions | |
| void | status (const char *fmt,...) |
Protected Attributes | |
| Print * | p_status = nullptr |
| bool | is_quiet = false |
Common API of the demodulators (FSKDecoder, MFSKDecoder): PCM audio data is written to the decoder and the decoded data is written to the output. Status messages (### CARRIER and ### NOCARRIER) are written to the status output.
|
pure virtual |
Processes all buffered samples (e.g. at the end of the input).
Implemented in tinymodem::AX25Decoder, tinymodem::CSSDecoder, tinymodem::DTMFDecoder, tinymodem::FSKDecoder, tinymodem::GGWaveDecoder, tinymodem::MFSKDecoder, tinymodem::MorseDecoder, tinymodem::OFDMDecoder, tinymodem::OliviaDecoder, and tinymodem::PSKDecoder.
|
pure virtual |
true while a carrier is detected
Implemented in tinymodem::AX25Decoder, tinymodem::CSSDecoder, tinymodem::DTMFDecoder, tinymodem::FSKDecoder, tinymodem::GGWaveDecoder, tinymodem::MFSKDecoder, tinymodem::MorseDecoder, tinymodem::OFDMDecoder, tinymodem::OliviaDecoder, and tinymodem::PSKDecoder.
|
pure virtual |
true if the decoding was stopped (rx_one)
Implemented in tinymodem::AX25Decoder, tinymodem::CSSDecoder, tinymodem::DTMFDecoder, tinymodem::FSKDecoder, tinymodem::GGWaveDecoder, tinymodem::MFSKDecoder, tinymodem::MorseDecoder, tinymodem::OFDMDecoder, tinymodem::OliviaDecoder, and tinymodem::PSKDecoder.
|
inlineoverride |
|
inline |
Suppresses the status messages.
|
inline |
Defines the output for the ### CARRIER / ### NOCARRIER messages.
|
inlineprotected |
|
protected |
|
protected |