RadioLib
Universal wireless communication library for Arduino
|
Client for FSK-4 communication. The public interface is the same as Arduino Serial. More...
#include <FSK4.h>
Public Member Functions | |
FSK4Client (PhysicalLayer *phy) | |
Constructor for FSK-4 mode. More... | |
int16_t | begin (float base, uint32_t shift, uint16_t rate) |
Constructor for AFSK mode. More... | |
void | idle () |
Send out idle condition (RF tone at mark frequency). | |
size_t | write (uint8_t *buff, size_t len) |
size_t | write (uint8_t b) |
Client for FSK-4 communication. The public interface is the same as Arduino Serial.
|
explicit |
Constructor for FSK-4 mode.
phy | Pointer to the wireless module providing PhysicalLayer communication. |
int16_t FSK4Client::begin | ( | float | base, |
uint32_t | shift, | ||
uint16_t | rate | ||
) |
Constructor for AFSK mode.
audio | Pointer to the AFSK instance providing audio. |
Initialization method.
base | Base (space) frequency to be used in MHz (in FSK-4 mode), or the space tone frequency in Hz (in AFSK mode) |
shift | Frequency shift between each tone in Hz. |
rate | Baud rate to be used during transmission. |