RadioLib Universal wireless communication library for Arduino

AFSK.h
1 #if !defined(_RADIOLIB_AFSK_H)
2 #define _RADIOLIB_AFSK_H
3
4 #include "../../TypeDef.h"
5
6 #if !defined(RADIOLIB_EXCLUDE_AFSK)
7
8 #include "../../Module.h"
9
10 #include "../PhysicalLayer/PhysicalLayer.h"
11
16 class AFSKClient {
17 public:
23 AFSKClient(PhysicalLayer* phy, uint32_t pin);
24
29 AFSKClient(AFSKClient* aud);
30
35 int16_t begin();
36
43 int16_t tone(uint16_t freq, bool autoStart = true);
44
50 int16_t noTone(bool keepOn = false);
51
52 #if !defined(RADIOLIB_GODMODE)
53 private:
54 #endif
55 PhysicalLayer* phyLayer;
56 uint32_t outPin;
57
58 // allow specific classes access the private PhysicalLayer pointer
59 friend class RTTYClient;
60 friend class MorseClient;
61 friend class HellClient;
62 friend class SSTVClient;
63 friend class AX25Client;
64 friend class FSK4Client;
65 friend class BellClient;
66 };
67
68 #endif
69
70 #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:238
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:34
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:117