RadioLib Universal wireless communication library for Arduino

RFM97.h
1 #if !defined(_RADIOLIB_RFM97_H)
2 #define _RADIOLIB_RFM97_H
3
4 #include "../../TypeDef.h"
5
6 #if !defined(RADIOLIB_EXCLUDE_RFM9X)
7
8 #include "../../Module.h"
9 #include "../SX127x/SX127x.h"
10 #include "../SX127x/SX1278.h"
11 #include "RFM95.h"
12
18 class RFM97: public RFM95 {
19 public:
20
21 // constructor
22
28 RFM97(Module* mod);
29
30 // configuration methods
31
39 int16_t setSpreadingFactor(uint8_t sf);
40
41 #if !defined(RADIOLIB_GODMODE)
42 private:
43 #endif
44
45 };
46
47 #endif
48
49 #endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
RFM95
Derived class for RFM95 modules. Overrides some methods from SX1278 due to different parameter ranges...
Definition: RFM95.h:21
RFM97
Derived class for RFM97 modules. Overrides some methods from RFM95 due to different parameter ranges.
Definition: RFM97.h:18
RFM97::RFM97
RFM97(Module *mod)
Default constructor. Called from Arduino sketch when creating new LoRa instance.
Definition: RFM97.cpp:4
RFM97::setSpreadingFactor
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa link spreading factor. Allowed values range from 6 to 9. Only available in LoRa mode.
Definition: RFM97.cpp:8