acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

RFM97.h (1010B)

      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 
     13 /*!
     14   \class RFM97
     15 
     16   \brief Derived class for %RFM97 modules. Overrides some methods from RFM95 due to different parameter ranges.
     17 */
     18 class RFM97: public RFM95 {
     19   public:
     20 
     21     // constructor
     22 
     23     /*!
     24       \brief Default constructor. Called from Arduino sketch when creating new LoRa instance.
     25 
     26       \param mod Instance of Module that will be used to communicate with the %LoRa chip.
     27     */
     28     RFM97(Module* mod);
     29 
     30     // configuration methods
     31 
     32     /*!
     33       \brief Sets %LoRa link spreading factor. Allowed values range from 6 to 9. Only available in %LoRa mode.
     34 
     35       \param sf %LoRa link spreading factor to be set.
     36 
     37       \returns \ref status_codes
     38     */
     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