ClusterDuck Protocol
|
Client for RTTY communication. The public interface is the same as Arduino Serial. More...
#include <RTTY.h>
Public Member Functions | |
RTTYClient (PhysicalLayer *phy) | |
Default constructor. More... | |
int16_t | begin (float base, uint32_t shift, uint16_t rate, uint8_t encoding=ASCII, uint8_t stopBits=1) |
Initialization method. More... | |
void | idle () |
Send out idle condition (RF tone at mark frequency). | |
size_t | write (const char *str) |
size_t | write (uint8_t *buff, size_t len) |
size_t | write (uint8_t b) |
size_t | print (__FlashStringHelper *) |
size_t | print (ITA2String &) |
size_t | print (const String &) |
size_t | print (const char[]) |
size_t | print (char) |
size_t | print (unsigned char, int=DEC) |
size_t | print (int, int=DEC) |
size_t | print (unsigned int, int=DEC) |
size_t | print (long, int=DEC) |
size_t | print (unsigned long, int=DEC) |
size_t | print (double, int=2) |
size_t | println (void) |
size_t | println (__FlashStringHelper *) |
size_t | println (ITA2String &) |
size_t | println (const String &s) |
size_t | println (const char[]) |
size_t | println (char) |
size_t | println (unsigned char, int=DEC) |
size_t | println (int, int=DEC) |
size_t | println (unsigned int, int=DEC) |
size_t | println (long, int=DEC) |
size_t | println (unsigned long, int=DEC) |
size_t | println (double, int=2) |
Client for RTTY communication. The public interface is the same as Arduino Serial.
RTTYClient::RTTYClient | ( | PhysicalLayer * | phy | ) |
Default constructor.
phy | Pointer to the wireless module providing PhysicalLayer communication. |
int16_t RTTYClient::begin | ( | float | base, |
uint32_t | shift, | ||
uint16_t | rate, | ||
uint8_t | encoding = ASCII , |
||
uint8_t | stopBits = 1 |
||
) |
Initialization method.
base | Base (space) RF frequency to be used in MHz. |
shift | Frequency shift between mark and space in Hz. |
rate | Baud rate to be used during transmission. |
encoding | Encoding to be used. Defaults to ASCII. |
stopBits | Number of stop bits to be used. |