RadioLib
Universal wireless communication library for Arduino
LLCC68.h
1 #if !defined(_RADIOLIB_LLCC68_H)
2 #define _RADIOLIB_LLCC68_H
3 
4 #include "../../TypeDef.h"
5 
6 #if !defined(RADIOLIB_EXCLUDE_SX126X)
7 
8 #include "../../Module.h"
9 #include "../SX126x/SX1262.h"
10 
16 class LLCC68: public SX1262 {
17  public:
23  LLCC68(Module* mod);
24 
46  int16_t begin(float freq = 434.0, float bw = 125.0, uint8_t sf = 9, uint8_t cr = 7, uint8_t syncWord = RADIOLIB_SX126X_SYNC_WORD_PRIVATE, int8_t power = 10, uint16_t preambleLength = 8, float tcxoVoltage = 1.6, bool useRegulatorLDO = false);
47 
48  // configuration methods
49 
57  int16_t setBandwidth(float bw);
58 
66  int16_t setSpreadingFactor(uint8_t sf);
67 
68 #if !defined(RADIOLIB_GODMODE)
69  private:
70 #endif
71 
72 };
73 
74 #endif
75 
76 #endif
Derived class for LLCC68 modules.
Definition: LLCC68.h:16
int16_t begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=RADIOLIB_SX126X_SYNC_WORD_PRIVATE, int8_t power=10, uint16_t preambleLength=8, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for LoRa modem.
Definition: LLCC68.cpp:8
int16_t setBandwidth(float bw)
Sets LoRa bandwidth. Allowed values are 125.0, 250.0 and 500.0 kHz.
Definition: LLCC68.cpp:32
LLCC68(Module *mod)
Default constructor.
Definition: LLCC68.cpp:4
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa spreading factor. Allowed values range from 5 to 11, depending on currently set spreading f...
Definition: LLCC68.cpp:37
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:16
Derived class for SX1262 modules.
Definition: SX1262.h:19