Client for SSTV transmissions.
More...
#include <SSTV.h>
Client for SSTV transmissions.
◆ SSTVClient() [1/2]
Constructor for 2-FSK mode.
- Parameters
-
phy | Pointer to the wireless module providing PhysicalLayer communication. |
◆ SSTVClient() [2/2]
Constructor for AFSK mode.
- Parameters
-
audio | Pointer to the AFSK instance providing audio. |
◆ begin() [1/2]
int16_t SSTVClient::begin |
( |
const SSTVMode_t & |
mode | ) |
|
Initialization method for AFSK.
- Parameters
-
mode | SSTV mode to be used. Currently supported modes are Scottie1, Scottie2, ScottieDX, Martin1, Martin2, Wrasse, PasokonP3, PasokonP5 and PasokonP7, Robot36 and Robot37. |
- Returns
- Status Codes
◆ begin() [2/2]
int16_t SSTVClient::begin |
( |
float |
base, |
|
|
const SSTVMode_t & |
mode |
|
) |
| |
Initialization method for 2-FSK.
- Parameters
-
base | Base "0 Hz tone" RF frequency to be used in MHz. |
mode | SSTV mode to be used. Currently supported modes are Scottie1, Scottie2, ScottieDX, Martin1, Martin2, Wrasse, PasokonP3, PasokonP5 and PasokonP7, Robot36 and Robot37. |
- Returns
- Status Codes
◆ getPictureHeight()
uint16_t SSTVClient::getPictureHeight |
( |
| ) |
const |
Get picture height of the currently configured SSTV mode.
- Returns
- Picture height of the currently configured SSTV mode in pixels.
◆ sendLine()
void SSTVClient::sendLine |
( |
const uint32_t * |
imgLine | ) |
|
Sends single picture line in the currently configured SSTV mode.
- Parameters
-
imgLine | Image line to send, in 24-bit RGB. It is up to the user to ensure that imgLine has enough pixels to send it in the current SSTV mode. |
◆ setCorrection()
int16_t SSTVClient::setCorrection |
( |
float |
correction | ) |
|
Set correction coefficient for tone length.
- Parameters
-
correction | Timing correction factor, used to adjust the length of timing pulses. Less than 1.0 leads to shorter timing pulses, defaults to 1.0 (no correction). |
- Returns
- Status Codes
The documentation for this class was generated from the following files:
- src/protocols/SSTV/SSTV.h
- src/protocols/SSTV/SSTV.cpp