diff --git a/_l_l_c_c68_8h_source.html b/_l_l_c_c68_8h_source.html index 968a7de9..7761cf51 100644 --- a/_l_l_c_c68_8h_source.html +++ b/_l_l_c_c68_8h_source.html @@ -96,28 +96,31 @@ $(document).ready(function(){initNavTree('_l_l_c_c68_8h_source.html',''); initRe
8 #include "../../Module.h"
9 #include "../SX126x/SX1262.h"
10 
-
16 class LLCC68: public SX1262 {
-
17  public:
-
23  LLCC68(Module* mod);
-
24 
-
48  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);
-
49 
-
50  // configuration methods
-
51 
-
59  int16_t setBandwidth(float bw);
-
60 
-
68  int16_t setSpreadingFactor(uint8_t sf);
-
69 
-
70 #if !defined(RADIOLIB_GODMODE)
-
71  private:
-
72 #endif
-
73 
-
74 };
-
75 
-
76 #endif
-
77 
-
78 #endif
-
LLCC68
Derived class for LLCC68 modules.
Definition: LLCC68.h:16
+
11 //RADIOLIB_SX126X_REG_VERSION_STRING
+
12 #define RADIOLIB_LLCC68_CHIP_TYPE "LLCC68"
+
13 
+
19 class LLCC68: public SX1262 {
+
20  public:
+
26  LLCC68(Module* mod);
+
27 
+
51  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);
+
52 
+
53  // configuration methods
+
54 
+
62  int16_t setBandwidth(float bw);
+
63 
+
71  int16_t setSpreadingFactor(uint8_t sf);
+
72 
+
73 #if !defined(RADIOLIB_GODMODE)
+
74  private:
+
75 #endif
+
76 
+
77 };
+
78 
+
79 #endif
+
80 
+
81 #endif
+
LLCC68
Derived class for LLCC68 modules.
Definition: LLCC68.h:19
LLCC68::begin
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
LLCC68::setBandwidth
int16_t setBandwidth(float bw)
Sets LoRa bandwidth. Allowed values are 125.0, 250.0 and 500.0 kHz.
Definition: LLCC68.cpp:32
LLCC68::LLCC68
LLCC68(Module *mod)
Default constructor.
Definition: LLCC68.cpp:4
diff --git a/_s_x1261_8h_source.html b/_s_x1261_8h_source.html index 5242ae33..88db2ce7 100644 --- a/_s_x1261_8h_source.html +++ b/_s_x1261_8h_source.html @@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('_s_x1261_8h_source.html',''); initResi
13 #define RADIOLIB_SX126X_PA_CONFIG_SX1261 0x01
14 
15 //RADIOLIB_SX126X_REG_VERSION_STRING
-
16 #define RADIOLIB_SX1261_CHIP_TYPE 1
+
16 #define RADIOLIB_SX1261_CHIP_TYPE "SX1261"
17 
23 class SX1261 : public SX1262 {
24  public:
diff --git a/_s_x1262_8h_source.html b/_s_x1262_8h_source.html index 955d2741..1258c835 100644 --- a/_s_x1262_8h_source.html +++ b/_s_x1262_8h_source.html @@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('_s_x1262_8h_source.html',''); initResi
13 
14 //RADIOLIB_SX126X_REG_VERSION_STRING
15 // Note: this should really be "2", however, it seems that all SX1262 devices report as SX1261
-
16 #define RADIOLIB_SX1262_CHIP_TYPE 1
+
16 #define RADIOLIB_SX1262_CHIP_TYPE "SX1261"
17 
23 class SX1262: public SX126x {
24  public:
diff --git a/_s_x1268_8h_source.html b/_s_x1268_8h_source.html index 52c0c24c..4461d5e2 100644 --- a/_s_x1268_8h_source.html +++ b/_s_x1268_8h_source.html @@ -100,7 +100,7 @@ $(document).ready(function(){initNavTree('_s_x1268_8h_source.html',''); initResi
12 #define RADIOLIB_SX126X_PA_CONFIG_SX1268 0x00
13 
14 //RADIOLIB_SX126X_REG_VERSION_STRING
-
15 #define RADIOLIB_SX1268_CHIP_TYPE 8
+
15 #define RADIOLIB_SX1268_CHIP_TYPE "SX1268"
16 
22 class SX1268: public SX126x {
23  public:
diff --git a/_s_x126x_8h_source.html b/_s_x126x_8h_source.html index 89b8fcbd..3432fa2d 100644 --- a/_s_x126x_8h_source.html +++ b/_s_x126x_8h_source.html @@ -740,13 +740,13 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
1184  uint32_t _tcxoDelay = 0;
1185 
1186  size_t _implicitLen = 0;
-
1187  uint8_t _chipType = 0;
+
1187  const char* _chipType;
1188 
1189  // Allow subclasses to define different TX modes
1190  uint8_t _tx_mode = Module::MODE_TX;
1191 
1192  int16_t config(uint8_t modem);
-
1193  bool findChip(uint8_t type);
+
1193  bool findChip(const char* verStr);
1194 };
1195 
1196 #endif