|
JS8Call-Improved master
|
JS8 Submode namespace implementation. More...
Classes | |
| struct | error |
Functions | |
| QString | name (int const submode) |
| Get the name of the submode. | |
| unsigned int | bandwidth (int const submode) |
| Get the bandwidth of the submode. | |
| Costas::Type | costas (int const submode) |
| Get the Costas array type of the submode. | |
| unsigned int | samplesPerPeriod (int const submode) |
| Get the number of samples per period of the submode. | |
| unsigned int | samplesForSymbols (int const submode) |
| Get the number of samples for symbols of the submode. | |
| unsigned int | samplesNeeded (int const submode) |
| Get the number of samples needed for the submode. | |
| unsigned int | period (int const submode) |
| Get the period of the submode. | |
| int | rxSNRThreshold (int const submode) |
| Get the receive SNR threshold of the submode. | |
| int | rxThreshold (int const submode) |
| Get the receive threshold of the submode. | |
| unsigned int | startDelayMS (int const submode) |
| Get the start delay in milliseconds of the submode. | |
| unsigned int | samplesForOneSymbol (int const submode) |
| Get the number of samples for one symbol of the submode. | |
| double | toneSpacing (int const submode) |
| Get the tone spacing of the submode. | |
| double | dataDuration (int const submode) |
| Get the data duration of the submode. | |
| double | txDuration (int const submode) |
| Get the transmit duration of the submode. | |
| int | computeCycleForDecode (int const submode, int const k) |
| Compute the cycle for decode. | |
| int | computeAltCycleForDecode (int const submode, int const k, int const offsetFrames) |
| Compute the alternate cycle for decode. | |
| double | computeRatio (int const submode, double const period) |
| Compute the ratio of data duration to period. | |
JS8 Submode namespace implementation.
| unsigned int JS8::Submode::bandwidth | ( | int const | submode | ) |
Get the bandwidth of the submode.
| submode |

| int JS8::Submode::computeAltCycleForDecode | ( | int const | submode, |
| int const | k, | ||
| int const | offsetFrames ) |
Compute the alternate cycle for decode.
| submode | |
| k | |
| offsetFrames |

| int JS8::Submode::computeCycleForDecode | ( | int const | submode, |
| int const | k ) |
Compute the cycle for decode.
| submode | |
| k |


| double JS8::Submode::computeRatio | ( | int const | submode, |
| double const | period ) |
Compute the ratio of data duration to period.
| submode | |
| period |

| Costas::Type JS8::Submode::costas | ( | int const | submode | ) |
Get the Costas array type of the submode.
| submode |
| double JS8::Submode::dataDuration | ( | int const | submode | ) |
Get the data duration of the submode.
| submode |
Duration in seconds that it takes to transmit the symbols.
This is samplesForSymbols / 12000.

| QString JS8::Submode::name | ( | int const | submode | ) |
Get the name of the submode.
| submode |
Name of the submode, in all uppercase letters.


| unsigned int JS8::Submode::period | ( | int const | submode | ) |
Get the period of the submode.
| submode |
How long from one transmission start to the next transmission start, in seconds.
This is the usual number a typical users knows: 30 s for SLOW, 6 s for JS8 40 (formerly "Turbo").

| int JS8::Submode::rxSNRThreshold | ( | int const | submode | ) |
Get the receive SNR threshold of the submode.
| submode |

| int JS8::Submode::rxThreshold | ( | int const | submode | ) |
Get the receive threshold of the submode.
| submode |

| unsigned int JS8::Submode::samplesForOneSymbol | ( | int const | submode | ) |
Get the number of samples for one symbol of the submode.
| submode |
How many audio samples (at 12000 samples per second) it takes to transfer one symbol.

| unsigned int JS8::Submode::samplesForSymbols | ( | int const | submode | ) |
Get the number of samples for symbols of the submode.
| submode |
How many audio samples we use to transmit the symbols of one period.
As there are JS8_NUM_SYMBOLS = 79 symbols in a period, this is 79 * samplesForOneSymol.
| unsigned int JS8::Submode::samplesNeeded | ( | int const | submode | ) |
Get the number of samples needed for the submode.
| submode |
The number of samples needed to capture the entire TX duration, including the initial start delay, plus another 500 ms.
| unsigned int JS8::Submode::samplesPerPeriod | ( | int const | submode | ) |
Get the number of samples per period of the submode.
| submode |
How many audio samples at 12000 samples per second are needed for one period in this mode.

| unsigned int JS8::Submode::startDelayMS | ( | int const | submode | ) |
Get the start delay in milliseconds of the submode.
| submode |
How long to wait after tx start before actually sending data, in milliseconds.

| double JS8::Submode::toneSpacing | ( | int const | submode | ) |
Get the tone spacing of the submode.
| submode |

| double JS8::Submode::txDuration | ( | int const | submode | ) |
Get the transmit duration of the submode.
| submode |
Actual duration of the transmission, in seconds.
This is samplesForSymbols / 12000 + startDelayMS / 1000