# RadioLib: src/protocols/AFSK/AFSK.h Source File

AFSK.h
#if !defined(_RADIOLIB_AFSK_H)
#define _RADIOLIB_AFSK_H
#include "../../TypeDef.h"
#if !RADIOLIB_EXCLUDE_AFSK
#include "../../Module.h"
#include "../PhysicalLayer/PhysicalLayer.h"
class AFSKClient {
public:
AFSKClient(PhysicalLayer* phy, uint32_t pin);
explicit AFSKClient(AFSKClient* aud);
int16_t begin();
int16_t tone(uint16_t freq, bool autoStart = true);
int16_t noTone(bool keepOn = false);
#if !RADIOLIB_GODMODE
private:
#endif
PhysicalLayer* phyLayer;
uint32_t outPin;
// allow specific classes access the private PhysicalLayer pointer
friend class RTTYClient;
friend class MorseClient;
friend class HellClient;
friend class SSTVClient;
friend class AX25Client;
friend class FSK4Client;
friend class BellClient;
};
#endif
#endif
AFSKClient
Client for audio-based transmissions. Requires Arduino tone() function, and a module capable of direc...
Definition: AFSK.h:16
AFSKClient::begin
int16_t begin()
Initialization method.
Definition: AFSK.cpp:13
AFSKClient::noTone
int16_t noTone(bool keepOn=false)
Stops transmitting audio tone.
Definition: AFSK.cpp:32
AFSKClient::tone
int16_t tone(uint16_t freq, bool autoStart=true)
Start transmitting audio tone.
Definition: AFSK.cpp:17
AFSKClient::AFSKClient
AFSKClient(PhysicalLayer *phy, uint32_t pin)
Default contructor.
Definition: AFSK.cpp:4
AX25Client
Client for AX25 communication.
Definition: AX25.h:233
BellClient
Client for Bell modem communication. The public interface is the same as Arduino Serial.
Definition: BellModem.h:57
FSK4Client
Client for FSK-4 communication. The public interface is the same as Arduino Serial.
Definition: FSK4.h:15
HellClient
Client for Hellschreiber transmissions.
Definition: Hellschreiber.h:90
MorseClient
Client for Morse Code communication. The public interface is the same as Arduino Serial.
Definition: Morse.h:93
PhysicalLayer
Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN....
Definition: PhysicalLayer.h:123
RTTYClient
Client for RTTY communication. The public interface is the same as Arduino Serial.
Definition: RTTY.h:17
SSTVClient
Client for SSTV transmissions.
Definition: SSTV.h:121