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 int16_t begin();
30
37 int16_t tone(uint16_t freq, bool autoStart = true);
38
44 int16_t noTone(bool keepOn = false);
45
46 #if !defined(RADIOLIB_GODMODE)
47 private:
48 #endif
49 PhysicalLayer* phyLayer;
50 uint32_t outPin;
51
52 // allow specific classes access the private PhysicalLayer pointer
53 friend class RTTYClient;
54 friend class MorseClient;
55 friend class HellClient;
56 friend class SSTVClient;
57 friend class AX25Client;
58 friend class FSK4Client;
59 };
60
61 #endif
62
63 #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:8
AFSKClient::noTone
int16_t noTone(bool keepOn=false)
Stops transmitting audio tone.
Definition: AFSK.cpp:27
AFSKClient::tone
int16_t tone(uint16_t freq, bool autoStart=true)
Start transmitting audio tone.
Definition: AFSK.cpp:12
AFSKClient::AFSKClient
AFSKClient(PhysicalLayer *phy, uint32_t pin)
Default contructor.
Definition: AFSK.cpp:4
AX25Client
Client for AX25 communication.
Definition: AX25.h:249
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:89
MorseClient
Client for Morse Code communication. The public interface is the same as Arduino Serial.
Definition: Morse.h:92
PhysicalLayer
Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN....
Definition: PhysicalLayer.h:15
RTTYClient
Client for RTTY communication. The public interface is the same as Arduino Serial.
Definition: RTTY.h:84
SSTVClient
Client for SSTV transmissions.
Definition: SSTV.h:117