|
JS8Call-Improved master
|
Core JS8 namespace types, Costas arrays and decoder event payloads. More...
#include <QObject>#include <QSemaphore>#include <QThread>#include <array>#include <functional>#include <string>#include <variant>

Go to the source code of this file.
Classes | |
| struct | JS8::Event::DecodeStarted |
| Emitted when the decode process starts with the configured submodes. More... | |
| struct | JS8::Event::SyncStart |
| Indicate start of a sync window. More... | |
| struct | JS8::Event::SyncState |
| Sync state update emitted during candidate evaluation. More... | |
| struct | JS8::Event::Decoded |
| Decoded frame payload emitted when a frame is successfully decoded. More... | |
| struct | JS8::Event::DecodeFinished |
| class | JS8::Decoder |
| High-level QObject controller that owns the decoding worker thread. More... | |
Typedefs | |
| using | JS8::Costas::Array = std::array<std::array<int, 7>, 3> |
| using | JS8::Event::Variant |
| using | JS8::Event::Emitter = std::function<void(Variant const &)> |
Enumerations | |
| enum class | JS8::Costas::Type { ORIGINAL , MODIFIED } |
| Costas array helpers used to map symbols to tones. More... | |
Functions | |
| void | JS8::encode (int type, Costas::Array const &costas, const char *message, int *tones) |
| Encode a NUL-terminated message into tone indices using a Costas array. | |
Variables | |
| constexpr auto | JS8::Costas::array |
| Return the Costas array for the requested Type. | |
Core JS8 namespace types, Costas arrays and decoder event payloads.
Defines the JS8 namespace, Costas array helpers, event payload structures used by the decoder, and the Decoder QObject wrapper type.
| using JS8::Costas::Array = std::array<std::array<int, 7>, 3> |
3x7 Costas array type.
| using JS8::Event::Emitter = std::function<void(Variant const &)> |
Function type used to receive decoder events.
| using JS8::Event::Variant |
Variant encompassing all decoder event payloads.
|
strong |
Costas array helpers used to map symbols to tones.
JS8 historically re-used the Costas arrays from FT8 for the "normal" mode; other JS8 modes use modified arrays. Callers request the appropriate array via Costas::array(type).
| void JS8::encode | ( | int | type, |
| Costas::Array const & | costas, | ||
| const char * | message, | ||
| int * | tones ) |
Encode a NUL-terminated message into tone indices using a Costas array.
| type | Mode selector (interpreted as Costas::Type). |
| costas | Costas array to use for encoding. |
| message | NUL-terminated input message string. |
| tones | Output buffer to receive computed tone indices (caller-owned). |
|
constexpr |
Return the Costas array for the requested Type.
| type | Selector indicating ORIGINAL or MODIFIED Costas. |