1#if !defined(_RADIOLIB_SX1276_H)
2#define _RADIOLIB_SX1276_H
4#include "../../TypeDef.h"
6#if !RADIOLIB_EXCLUDE_SX127X
52 int16_t
begin(
float freq = 434.0,
float bw = 125.0, uint8_t sf = 9, uint8_t cr = 7, uint8_t syncWord = RADIOLIB_SX127X_SYNC_WORD, int8_t power = 10, uint16_t preambleLength = 8, uint8_t
gain = 0)
override;
76 int16_t
beginFSK(
float freq = 434.0,
float br = 4.8,
float freqDev = 5.0,
float rxBw = 125.0, int8_t power = 10, uint16_t preambleLength = 16,
bool enableOOK =
false)
override;
93 int16_t
setModem(ModemType_t modem)
override;
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition Module.h:69
Only exists as alias for SX1276, since there seems to be no difference between RFM95 and SX1276 modul...
Only exists as alias for SX1276, since there seems to be no difference between RFM96 and SX1276 modul...
Derived class for SX1276 modules. Overrides some methods from SX1278 due to different parameter range...
Definition SX1276.h:14
int16_t setModem(ModemType_t modem) override
Set modem for the radio to use. Will perform full reset and reconfigure the radio using its default p...
Definition SX1276.cpp:115
int16_t begin(const ConfigLoRa_t &config) override
Initialization method for LoRa modem.
Definition SX1276.cpp:8
int16_t setFrequency(float freq) override
Sets carrier frequency. Allowed values range from 137.0 MHz to 175.0 MHz, 395.0 to 525....
Definition SX1276.cpp:96
int16_t beginFSK(const ConfigFSK_t &config) override
Initialization method for FSK modem.
Definition SX1276.cpp:51
Derived class for SX1278 modules. Also used as base class for SX1276, SX1277, SX1279,...
Definition SX1278.h:106
bool enableOOK
Use OOK modulation instead of FSK.
Definition SX127x.h:611
uint8_t gain
Gain of receiver LNA (low-noise amplifier). Can be set to any integer in range 1 to 6 where 1 is the ...
Definition SX127x.h:605
Definition PhysicalLayer.h:298
Definition PhysicalLayer.h:280