diff --git a/_l_l_c_c68_8h_source.html b/_l_l_c_c68_8h_source.html index 79e46577..16192fd9 100644 --- a/_l_l_c_c68_8h_source.html +++ b/_l_l_c_c68_8h_source.html @@ -97,36 +97,36 @@ $(document).ready(function(){initNavTree('_l_l_c_c68_8h_source.html',''); initRe
9 #include "../SX126x/SX1262.h"
10 
11 //RADIOLIB_SX126X_REG_VERSION_STRING
-
12 #define RADIOLIB_LLCC68_CHIP_TYPE "LLCC68"
+
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
+
18 class LLCC68: public SX1262 {
+
19  public:
+
24  LLCC68(Module* mod);
+
25 
+
39  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);
+
40 
+
41  // configuration methods
+
42 
+
48  int16_t setBandwidth(float bw);
+
49 
+
55  int16_t setSpreadingFactor(uint8_t sf);
+
56 
+
57 #if !defined(RADIOLIB_GODMODE)
+
58  private:
+
59 #endif
+
60 
+
61 };
+
62 
+
63 #endif
+
64 
+
65 #endif
+
LLCC68
Derived class for LLCC68 modules.
Definition: LLCC68.h:18
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
LLCC68::setSpreadingFactor
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
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
-
SX1262
Derived class for SX1262 modules.
Definition: SX1262.h:23
+
SX1262
Derived class for SX1262 modules.
Definition: SX1262.h:22
diff --git a/_s_t_m32_w_lx_8h_source.html b/_s_t_m32_w_lx_8h_source.html index 450eee5d..9686e885 100644 --- a/_s_t_m32_w_lx_8h_source.html +++ b/_s_t_m32_w_lx_8h_source.html @@ -87,89 +87,88 @@ $(document).ready(function(){initNavTree('_s_t_m32_w_lx_8h_source.html',''); ini
1 /*
-
2 
-
3 Copyright (c) 2018 Jan Gromeš
-
4 Copyright (c) 2022 STMicroelectronics
-
5 
-
6 This file is licensed under the MIT License: https://opensource.org/licenses/MIT
-
7 */
-
8 
-
9 #if !defined(_RADIOLIB_STM32WLx_H)
-
10 #define _RADIOLIB_STM32WLx_H
-
11 
-
12 #include "../../TypeDef.h"
-
13 
-
14 #if !defined(RADIOLIB_EXCLUDE_STM32WLX)
-
15 
-
16 #include "../../Module.h"
-
17 #include "SX1262.h"
-
18 #include "STM32WLx_Module.h"
-
19 
-
34 class STM32WLx : public SX1262 {
-
35  // NOTE: This class could not be named STM32WL (or STM32WLxx), since
-
36  // those are macros defined by
-
37  // system/Drivers/CMSIS/Device/ST/STM32WLxxx/Include/stm32wlxx.h
-
38  public:
- -
45 
-
53  enum OpMode_t {
- - - - - -
64  };
+
2 Copyright (c) 2018 Jan Gromeš
+
3 Copyright (c) 2022 STMicroelectronics
+
4 
+
5 This file is licensed under the MIT License: https://opensource.org/licenses/MIT
+
6 */
+
7 
+
8 #if !defined(_RADIOLIB_STM32WLx_H)
+
9 #define _RADIOLIB_STM32WLx_H
+
10 
+
11 #include "../../TypeDef.h"
+
12 
+
13 #if !defined(RADIOLIB_EXCLUDE_STM32WLX)
+
14 
+
15 #include "../../Module.h"
+
16 #include "SX1262.h"
+
17 #include "STM32WLx_Module.h"
+
18 
+
33 class STM32WLx : public SX1262 {
+
34  // NOTE: This class could not be named STM32WL (or STM32WLxx), since
+
35  // those are macros defined by
+
36  // system/Drivers/CMSIS/Device/ST/STM32WLxxx/Include/stm32wlxx.h
+
37  public:
+ +
43 
+
51  enum OpMode_t {
+ + + + + +
62  };
+
63 
+
64  // basic methods
65 
-
66  // basic methods
-
67 
-
71  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);
-
72 
-
76  int16_t beginFSK(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 156.2, int8_t power = 10, uint16_t preambleLength = 16, float tcxoVoltage = 1.6, bool useRegulatorLDO = false);
+
69  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);
+
70 
+
74  int16_t beginFSK(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 156.2, int8_t power = 10, uint16_t preambleLength = 16, float tcxoVoltage = 1.6, bool useRegulatorLDO = false);
+
75 
+
76  // configuration methods
77 
-
78  // configuration methods
-
79 
-
93  virtual int16_t setOutputPower(int8_t power) override;
-
94 
-
110  // Note: This explicitly inherits this method only to override docs
- -
112 
-
118  void setDio1Action(void (*func)(void));
-
119 
-
123  void clearDio1Action();
-
124 
-
125 #if !defined(RADIOLIB_GODMODE)
-
126  protected:
-
127 #endif
-
128  virtual int16_t clearIrqStatus(uint16_t clearIrqParams) override;
-
129 
-
130 #if !defined(RADIOLIB_GODMODE)
-
131  private:
-
132 #endif
-
133 };
-
134 
-
135 #endif // !defined(RADIOLIB_EXCLUDE_SX126X)
-
136 
-
137 #endif // _RADIOLIB_STM32WLX_MODULE_H
+
91  virtual int16_t setOutputPower(int8_t power) override;
+
92 
+
108  // Note: This explicitly inherits this method only to override docs
+ +
110 
+
115  void setDio1Action(void (*func)(void));
+
116 
+
120  void clearDio1Action();
+
121 
+
122 #if !defined(RADIOLIB_GODMODE)
+
123  protected:
+
124 #endif
+
125  virtual int16_t clearIrqStatus(uint16_t clearIrqParams) override;
+
126 
+
127 #if !defined(RADIOLIB_GODMODE)
+
128  private:
+
129 #endif
+
130 };
+
131 
+
132 #endif // !defined(RADIOLIB_EXCLUDE_SX126X)
+
133 
+
134 #endif // _RADIOLIB_STM32WLX_MODULE_H
@ MODE_TX
Definition: Module.h:68
@ MODE_IDLE
Definition: Module.h:64
@ MODE_RX
Definition: Module.h:66
@ MODE_END_OF_TABLE
Definition: Module.h:62
Definition: STM32WLx_Module.h:26
-
Derived class for STM32WL modules.
Definition: STM32WLx.h:34
-
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: STM32WLx.cpp:15
-
void clearDio1Action()
Clears interrupt service routine to call when DIO1/2/3 activates.
Definition: STM32WLx.cpp:100
-
void setDio1Action(void(*func)(void))
Sets interrupt service routine to call when DIO1/2/3 activates.
Definition: STM32WLx.cpp:90
-
virtual int16_t setOutputPower(int8_t power) override
Sets output power. Allowed values are in range from -17 to 22 dBm.
Definition: STM32WLx.cpp:43
-
STM32WLx(STM32WLx_Module *mod)
Default constructor.
Definition: STM32WLx.cpp:12
-
OpMode_t
Custom operation modes for STMWLx.
Definition: STM32WLx.h:53
-
@ MODE_END_OF_TABLE
Definition: STM32WLx.h:55
-
@ MODE_TX_LP
Definition: STM32WLx.h:61
-
@ MODE_TX_HP
Definition: STM32WLx.h:63
-
@ MODE_RX
Definition: STM32WLx.h:59
-
@ MODE_IDLE
Definition: STM32WLx.h:57
-
int16_t beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for FSK modem.
Definition: STM32WLx.cpp:29
-
Derived class for SX1262 modules.
Definition: SX1262.h:23
-
void setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1366
+
Derived class for STM32WL modules.
Definition: STM32WLx.h:33
+
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: STM32WLx.cpp:13
+
void clearDio1Action()
Clears interrupt service routine to call when DIO1/2/3 activates.
Definition: STM32WLx.cpp:98
+
void setDio1Action(void(*func)(void))
Sets interrupt service routine to call when DIO1/2/3 activates.
Definition: STM32WLx.cpp:88
+
virtual int16_t setOutputPower(int8_t power) override
Sets output power. Allowed values are in range from -17 to 22 dBm.
Definition: STM32WLx.cpp:41
+
STM32WLx(STM32WLx_Module *mod)
Default constructor.
Definition: STM32WLx.cpp:11
+
OpMode_t
Custom operation modes for STMWLx.
Definition: STM32WLx.h:51
+
@ MODE_END_OF_TABLE
Definition: STM32WLx.h:53
+
@ MODE_TX_LP
Definition: STM32WLx.h:59
+
@ MODE_TX_HP
Definition: STM32WLx.h:61
+
@ MODE_RX
Definition: STM32WLx.h:57
+
@ MODE_IDLE
Definition: STM32WLx.h:55
+
int16_t beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for FSK modem.
Definition: STM32WLx.cpp:27
+
Derived class for SX1262 modules.
Definition: SX1262.h:22
+
void setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1369
diff --git a/_s_x1261_8h_source.html b/_s_x1261_8h_source.html index 573026d1..d15ba049 100644 --- a/_s_x1261_8h_source.html +++ b/_s_x1261_8h_source.html @@ -98,31 +98,31 @@ $(document).ready(function(){initNavTree('_s_x1261_8h_source.html',''); initResi
10 #include "SX1262.h"
11 
12 //RADIOLIB_SX126X_CMD_SET_PA_CONFIG
-
13 #define RADIOLIB_SX126X_PA_CONFIG_SX1261 0x01
+
13 #define RADIOLIB_SX126X_PA_CONFIG_SX1261 0x01
14 
15 //RADIOLIB_SX126X_REG_VERSION_STRING
-
16 #define RADIOLIB_SX1261_CHIP_TYPE "SX1261"
+
16 #define RADIOLIB_SX1261_CHIP_TYPE "SX1261"
17 
-
23 class SX1261 : public SX1262 {
-
24  public:
-
30  SX1261(Module* mod);
-
31 
-
39  int16_t setOutputPower(int8_t power);
+
22 class SX1261 : public SX1262 {
+
23  public:
+
28  SX1261(Module* mod);
+
29 
+
35  int16_t setOutputPower(int8_t power);
+
36 
+
37 #if !defined(RADIOLIB_GODMODE)
+
38  private:
+
39 #endif
40 
-
41 #if !defined(RADIOLIB_GODMODE)
-
42  private:
+
41 };
+
42 
43 #endif
44 
-
45 };
-
46 
-
47 #endif
-
48 
-
49 #endif
+
45 #endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
-
SX1261
Derived class for SX1261 modules.
Definition: SX1261.h:23
+
SX1261
Derived class for SX1261 modules.
Definition: SX1261.h:22
SX1261::SX1261
SX1261(Module *mod)
Default constructor.
Definition: SX1261.cpp:4
SX1261::setOutputPower
int16_t setOutputPower(int8_t power)
Sets output power. Allowed values are in range from -17 to 14 dBm.
Definition: SX1261.cpp:8
-
SX1262
Derived class for SX1262 modules.
Definition: SX1262.h:23
+
SX1262
Derived class for SX1262 modules.
Definition: SX1262.h:22
diff --git a/_s_x1262_8h_source.html b/_s_x1262_8h_source.html index 97c01af8..6e71c7d6 100644 --- a/_s_x1262_8h_source.html +++ b/_s_x1262_8h_source.html @@ -97,49 +97,47 @@ $(document).ready(function(){initNavTree('_s_x1262_8h_source.html',''); initResi
9 #include "SX126x.h"
10 
11 //RADIOLIB_SX126X_CMD_SET_PA_CONFIG
-
12 #define RADIOLIB_SX126X_PA_CONFIG_SX1262 0x00
+
12 #define RADIOLIB_SX126X_PA_CONFIG_SX1262 0x00
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 "SX1261"
+
16 #define RADIOLIB_SX1262_CHIP_TYPE "SX1261"
17 
-
23 class SX1262: public SX126x {
-
24  public:
-
30  SX1262(Module* mod);
+
22 class SX1262: public SX126x {
+
23  public:
+
28  SX1262(Module* mod);
+
29 
+
30  // basic methods
31 
-
32  // basic methods
-
33 
-
57  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);
-
58 
-
80  int16_t beginFSK(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 156.2, int8_t power = 10, uint16_t preambleLength = 16, float tcxoVoltage = 1.6, bool useRegulatorLDO = false);
-
81 
-
82  int16_t beginLRFHSS(float freq = 434.0, float tcxoVoltage = 0, bool useRegulatorLDO = false);
-
83 
-
84  // configuration methods
+
45  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);
+
46 
+
59  int16_t beginFSK(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 156.2, int8_t power = 10, uint16_t preambleLength = 16, float tcxoVoltage = 1.6, bool useRegulatorLDO = false);
+
60 
+
61  // configuration methods
+
62 
+
68  int16_t setFrequency(float freq);
+
69 
+
76  int16_t setFrequency(float freq, bool calibrate);
+
77 
+
84  virtual int16_t setOutputPower(int8_t power);
85 
-
93  int16_t setFrequency(float freq);
-
94 
-
104  int16_t setFrequency(float freq, bool calibrate);
-
105 
-
114  virtual int16_t setOutputPower(int8_t power);
-
115 
-
116 #if !defined(RADIOLIB_GODMODE)
-
117  private:
-
118 #endif
-
119 
-
120 };
-
121 
-
122 #endif
-
123 
-
124 #endif
+
86 #if !defined(RADIOLIB_GODMODE)
+
87  private:
+
88 #endif
+
89 
+
90 };
+
91 
+
92 #endif
+
93 
+
94 #endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
-
SX1262
Derived class for SX1262 modules.
Definition: SX1262.h:23
+
SX1262
Derived class for SX1262 modules.
Definition: SX1262.h:22
SX1262::SX1262
SX1262(Module *mod)
Default constructor.
Definition: SX1262.cpp:4
SX1262::beginFSK
int16_t beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for FSK modem.
Definition: SX1262.cpp:32
SX1262::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: SX1262.cpp:8
SX1262::setOutputPower
virtual int16_t setOutputPower(int8_t power)
Sets output power. Allowed values are in range from -9 to 22 dBm. This method is virtual to allow ove...
Definition: SX1262.cpp:84
SX1262::setFrequency
int16_t setFrequency(float freq)
Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz.
Definition: SX1262.cpp:50
-
SX126x
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:444
+
SX126x
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:443
diff --git a/_s_x1268_8h_source.html b/_s_x1268_8h_source.html index e77b9589..e3f95dd8 100644 --- a/_s_x1268_8h_source.html +++ b/_s_x1268_8h_source.html @@ -97,46 +97,46 @@ $(document).ready(function(){initNavTree('_s_x1268_8h_source.html',''); initResi
9 #include "SX126x.h"
10 
11 //RADIOLIB_SX126X_CMD_SET_PA_CONFIG
-
12 #define RADIOLIB_SX126X_PA_CONFIG_SX1268 0x00
+
12 #define RADIOLIB_SX126X_PA_CONFIG_SX1268 0x00
13 
14 //RADIOLIB_SX126X_REG_VERSION_STRING
-
15 #define RADIOLIB_SX1268_CHIP_TYPE "SX1268"
+
15 #define RADIOLIB_SX1268_CHIP_TYPE "SX1268"
16 
-
22 class SX1268: public SX126x {
-
23  public:
-
29  SX1268(Module* mod);
+
21 class SX1268: public SX126x {
+
22  public:
+
27  SX1268(Module* mod);
+
28 
+
29  // basic methods
30 
-
31  // basic methods
-
32 
-
56  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);
-
57 
-
79  int16_t beginFSK(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 156.2, int8_t power = 10, uint16_t preambleLength = 16, float tcxoVoltage = 1.6, bool useRegulatorLDO = false);
-
80 
-
81  // configuration methods
-
82 
-
90  int16_t setFrequency(float freq);
+
44  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);
+
45 
+
58  int16_t beginFSK(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 156.2, int8_t power = 10, uint16_t preambleLength = 16, float tcxoVoltage = 1.6, bool useRegulatorLDO = false);
+
59 
+
60  // configuration methods
+
61 
+
67  int16_t setFrequency(float freq);
+
68 
+
75  int16_t setFrequency(float freq, bool calibrate);
+
76 
+
82  int16_t setOutputPower(int8_t power);
+
83 
+
84 #if !defined(RADIOLIB_GODMODE)
+
85  private:
+
86 #endif
+
87 
+
88 };
+
89 
+
90 #endif
91 
-
101  int16_t setFrequency(float freq, bool calibrate);
-
102 
-
110  int16_t setOutputPower(int8_t power);
-
111 
-
112 #if !defined(RADIOLIB_GODMODE)
-
113  private:
-
114 #endif
-
115 
-
116 };
-
117 
-
118 #endif
-
119 
-
120 #endif
+
92 #endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
-
SX1268
Derived class for SX1268 modules.
Definition: SX1268.h:22
+
SX1268
Derived class for SX1268 modules.
Definition: SX1268.h:21
SX1268::setOutputPower
int16_t setOutputPower(int8_t power)
Sets output power. Allowed values are in range from -9 to 22 dBm.
Definition: SX1268.cpp:79
SX1268::SX1268
SX1268(Module *mod)
Default constructor.
Definition: SX1268.cpp:4
SX1268::setFrequency
int16_t setFrequency(float freq)
Sets carrier frequency. Allowed values are in range from 410.0 to 810.0 MHz.
Definition: SX1268.cpp:50
SX1268::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: SX1268.cpp:8
SX1268::beginFSK
int16_t beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)
Initialization method for FSK modem.
Definition: SX1268.cpp:32
-
SX126x
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:444
+
SX126x
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:443
diff --git a/_s_x126x_8h_source.html b/_s_x126x_8h_source.html index 5e7ec195..7db45051 100644 --- a/_s_x126x_8h_source.html +++ b/_s_x126x_8h_source.html @@ -98,29 +98,29 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
10 #include "../../protocols/PhysicalLayer/PhysicalLayer.h"
11 
12 // SX126X physical layer properties
-
13 #define RADIOLIB_SX126X_FREQUENCY_STEP_SIZE 0.9536743164
-
14 #define RADIOLIB_SX126X_MAX_PACKET_LENGTH 255
-
15 #define RADIOLIB_SX126X_CRYSTAL_FREQ 32.0
-
16 #define RADIOLIB_SX126X_DIV_EXPONENT 25
+
13 #define RADIOLIB_SX126X_FREQUENCY_STEP_SIZE 0.9536743164
+
14 #define RADIOLIB_SX126X_MAX_PACKET_LENGTH 255
+
15 #define RADIOLIB_SX126X_CRYSTAL_FREQ 32.0
+
16 #define RADIOLIB_SX126X_DIV_EXPONENT 25
17 
18 // SX126X SPI commands
19 // operational modes commands
-
20 #define RADIOLIB_SX126X_CMD_NOP 0x00
-
21 #define RADIOLIB_SX126X_CMD_SET_SLEEP 0x84
-
22 #define RADIOLIB_SX126X_CMD_SET_STANDBY 0x80
-
23 #define RADIOLIB_SX126X_CMD_SET_FS 0xC1
-
24 #define RADIOLIB_SX126X_CMD_SET_TX 0x83
-
25 #define RADIOLIB_SX126X_CMD_SET_RX 0x82
-
26 #define RADIOLIB_SX126X_CMD_STOP_TIMER_ON_PREAMBLE 0x9F
-
27 #define RADIOLIB_SX126X_CMD_SET_RX_DUTY_CYCLE 0x94
-
28 #define RADIOLIB_SX126X_CMD_SET_CAD 0xC5
-
29 #define RADIOLIB_SX126X_CMD_SET_TX_CONTINUOUS_WAVE 0xD1
-
30 #define RADIOLIB_SX126X_CMD_SET_TX_INFINITE_PREAMBLE 0xD2
-
31 #define RADIOLIB_SX126X_CMD_SET_REGULATOR_MODE 0x96
-
32 #define RADIOLIB_SX126X_CMD_CALIBRATE 0x89
-
33 #define RADIOLIB_SX126X_CMD_CALIBRATE_IMAGE 0x98
-
34 #define RADIOLIB_SX126X_CMD_SET_PA_CONFIG 0x95
-
35 #define RADIOLIB_SX126X_CMD_SET_RX_TX_FALLBACK_MODE 0x93
+
20 #define RADIOLIB_SX126X_CMD_NOP 0x00
+
21 #define RADIOLIB_SX126X_CMD_SET_SLEEP 0x84
+
22 #define RADIOLIB_SX126X_CMD_SET_STANDBY 0x80
+
23 #define RADIOLIB_SX126X_CMD_SET_FS 0xC1
+
24 #define RADIOLIB_SX126X_CMD_SET_TX 0x83
+
25 #define RADIOLIB_SX126X_CMD_SET_RX 0x82
+
26 #define RADIOLIB_SX126X_CMD_STOP_TIMER_ON_PREAMBLE 0x9F
+
27 #define RADIOLIB_SX126X_CMD_SET_RX_DUTY_CYCLE 0x94
+
28 #define RADIOLIB_SX126X_CMD_SET_CAD 0xC5
+
29 #define RADIOLIB_SX126X_CMD_SET_TX_CONTINUOUS_WAVE 0xD1
+
30 #define RADIOLIB_SX126X_CMD_SET_TX_INFINITE_PREAMBLE 0xD2
+
31 #define RADIOLIB_SX126X_CMD_SET_REGULATOR_MODE 0x96
+
32 #define RADIOLIB_SX126X_CMD_CALIBRATE 0x89
+
33 #define RADIOLIB_SX126X_CMD_CALIBRATE_IMAGE 0x98
+
34 #define RADIOLIB_SX126X_CMD_SET_PA_CONFIG 0x95
+
35 #define RADIOLIB_SX126X_CMD_SET_RX_TX_FALLBACK_MODE 0x93
36 
37 // register and buffer access commands
38 #define RADIOLIB_SX126X_CMD_WRITE_REGISTER 0x0D
@@ -129,643 +129,643 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
41 #define RADIOLIB_SX126X_CMD_READ_BUFFER 0x1E
42 
43 // DIO and IRQ control
-
44 #define RADIOLIB_SX126X_CMD_SET_DIO_IRQ_PARAMS 0x08
-
45 #define RADIOLIB_SX126X_CMD_GET_IRQ_STATUS 0x12
-
46 #define RADIOLIB_SX126X_CMD_CLEAR_IRQ_STATUS 0x02
-
47 #define RADIOLIB_SX126X_CMD_SET_DIO2_AS_RF_SWITCH_CTRL 0x9D
-
48 #define RADIOLIB_SX126X_CMD_SET_DIO3_AS_TCXO_CTRL 0x97
+
44 #define RADIOLIB_SX126X_CMD_SET_DIO_IRQ_PARAMS 0x08
+
45 #define RADIOLIB_SX126X_CMD_GET_IRQ_STATUS 0x12
+
46 #define RADIOLIB_SX126X_CMD_CLEAR_IRQ_STATUS 0x02
+
47 #define RADIOLIB_SX126X_CMD_SET_DIO2_AS_RF_SWITCH_CTRL 0x9D
+
48 #define RADIOLIB_SX126X_CMD_SET_DIO3_AS_TCXO_CTRL 0x97
49 
50 // RF, modulation and packet commands
-
51 #define RADIOLIB_SX126X_CMD_SET_RF_FREQUENCY 0x86
-
52 #define RADIOLIB_SX126X_CMD_SET_PACKET_TYPE 0x8A
-
53 #define RADIOLIB_SX126X_CMD_GET_PACKET_TYPE 0x11
-
54 #define RADIOLIB_SX126X_CMD_SET_TX_PARAMS 0x8E
-
55 #define RADIOLIB_SX126X_CMD_SET_MODULATION_PARAMS 0x8B
-
56 #define RADIOLIB_SX126X_CMD_SET_PACKET_PARAMS 0x8C
-
57 #define RADIOLIB_SX126X_CMD_SET_CAD_PARAMS 0x88
-
58 #define RADIOLIB_SX126X_CMD_SET_BUFFER_BASE_ADDRESS 0x8F
-
59 #define RADIOLIB_SX126X_CMD_SET_LORA_SYMB_NUM_TIMEOUT 0x0A
+
51 #define RADIOLIB_SX126X_CMD_SET_RF_FREQUENCY 0x86
+
52 #define RADIOLIB_SX126X_CMD_SET_PACKET_TYPE 0x8A
+
53 #define RADIOLIB_SX126X_CMD_GET_PACKET_TYPE 0x11
+
54 #define RADIOLIB_SX126X_CMD_SET_TX_PARAMS 0x8E
+
55 #define RADIOLIB_SX126X_CMD_SET_MODULATION_PARAMS 0x8B
+
56 #define RADIOLIB_SX126X_CMD_SET_PACKET_PARAMS 0x8C
+
57 #define RADIOLIB_SX126X_CMD_SET_CAD_PARAMS 0x88
+
58 #define RADIOLIB_SX126X_CMD_SET_BUFFER_BASE_ADDRESS 0x8F
+
59 #define RADIOLIB_SX126X_CMD_SET_LORA_SYMB_NUM_TIMEOUT 0x0A
60 
61 // status commands
-
62 #define RADIOLIB_SX126X_CMD_GET_STATUS 0xC0
-
63 #define RADIOLIB_SX126X_CMD_GET_RSSI_INST 0x15
-
64 #define RADIOLIB_SX126X_CMD_GET_RX_BUFFER_STATUS 0x13
-
65 #define RADIOLIB_SX126X_CMD_GET_PACKET_STATUS 0x14
-
66 #define RADIOLIB_SX126X_CMD_GET_DEVICE_ERRORS 0x17
-
67 #define RADIOLIB_SX126X_CMD_CLEAR_DEVICE_ERRORS 0x07
-
68 #define RADIOLIB_SX126X_CMD_GET_STATS 0x10
-
69 #define RADIOLIB_SX126X_CMD_RESET_STATS 0x00
+
62 #define RADIOLIB_SX126X_CMD_GET_STATUS 0xC0
+
63 #define RADIOLIB_SX126X_CMD_GET_RSSI_INST 0x15
+
64 #define RADIOLIB_SX126X_CMD_GET_RX_BUFFER_STATUS 0x13
+
65 #define RADIOLIB_SX126X_CMD_GET_PACKET_STATUS 0x14
+
66 #define RADIOLIB_SX126X_CMD_GET_DEVICE_ERRORS 0x17
+
67 #define RADIOLIB_SX126X_CMD_CLEAR_DEVICE_ERRORS 0x07
+
68 #define RADIOLIB_SX126X_CMD_GET_STATS 0x10
+
69 #define RADIOLIB_SX126X_CMD_RESET_STATS 0x00
70 
-
71 #define RADIOLIB_SX126X_CMD_PRAM_UPDATE 0xD9
-
72 #define RADIOLIB_SX126X_CMD_SET_LBT_SCAN_PARAMS 0x9A
-
73 #define RADIOLIB_SX126X_CMD_SET_SPECTR_SCAN_PARAMS 0x9B
+
71 #define RADIOLIB_SX126X_CMD_PRAM_UPDATE 0xD9
+
72 #define RADIOLIB_SX126X_CMD_SET_LBT_SCAN_PARAMS 0x9A
+
73 #define RADIOLIB_SX126X_CMD_SET_SPECTR_SCAN_PARAMS 0x9B
74 
75 // SX126X register map
-
76 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_0 0x029F // SX1268 datasheet v1.1, section 9.6
-
77 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_1 0x02A0 // SX1268 datasheet v1.1, section 9.6
-
78 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_2 0x02A1 // SX1268 datasheet v1.1, section 9.6
-
79 #define RADIOLIB_SX126X_REG_VERSION_STRING 0x0320
-
80 #define RADIOLIB_SX126X_REG_HOPPING_ENABLE 0x0385
-
81 #define RADIOLIB_SX126X_REG_LR_FHSS_PACKET_LENGTH 0x0386
-
82 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_HOPPING_BLOCKS 0x0387
-
83 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_SYMBOLS_FREQX_MSB(X) (0x0388 + (X)*6)
-
84 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_SYMBOLS_FREQX_LSB(X) (0x0389 + (X)*6)
-
85 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_0(X) (0x038A + (X)*6)
-
86 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_1(X) (0x038B + (X)*6)
-
87 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_2(X) (0x038C + (X)*6)
-
88 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_3(X) (0x038D + (X)*6)
-
89 #define RADIOLIB_SX126X_REG_SPECTRAL_SCAN_RESULT 0x0401
-
90 #define RADIOLIB_SX126X_REG_DIOX_OUT_ENABLE 0x0580
-
91 #define RADIOLIB_SX126X_REG_DIOX_DRIVE_STRENGTH 0x0582
-
92 #define RADIOLIB_SX126X_REG_DIOX_IN_ENABLE 0x0583
-
93 #define RADIOLIB_SX126X_REG_DIOX_PULL_UP_CTRL 0x0584
-
94 #define RADIOLIB_SX126X_REG_DIOX_PULL_DOWN_CTRL 0x0585
-
95 #define RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_0 0x0587
-
96 #define RADIOLIB_SX126X_REG_PATCH_UPDATE_ENABLE 0x0610
-
97 #define RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_1 0x0680
-
98 #define RADIOLIB_SX126X_REG_WHITENING_INITIAL_MSB 0x06B8
-
99 #define RADIOLIB_SX126X_REG_WHITENING_INITIAL_LSB 0x06B9
-
100 #define RADIOLIB_SX126X_REG_RX_TX_PLD_LEN 0x06BB
-
101 #define RADIOLIB_SX126X_REG_CRC_INITIAL_MSB 0x06BC
-
102 #define RADIOLIB_SX126X_REG_CRC_INITIAL_LSB 0x06BD
-
103 #define RADIOLIB_SX126X_REG_CRC_POLYNOMIAL_MSB 0x06BE
-
104 #define RADIOLIB_SX126X_REG_CRC_POLYNOMIAL_LSB 0x06BF
-
105 #define RADIOLIB_SX126X_REG_SYNC_WORD_0 0x06C0
-
106 #define RADIOLIB_SX126X_REG_SYNC_WORD_1 0x06C1
-
107 #define RADIOLIB_SX126X_REG_SYNC_WORD_2 0x06C2
-
108 #define RADIOLIB_SX126X_REG_SYNC_WORD_3 0x06C3
-
109 #define RADIOLIB_SX126X_REG_SYNC_WORD_4 0x06C4
-
110 #define RADIOLIB_SX126X_REG_SYNC_WORD_5 0x06C5
-
111 #define RADIOLIB_SX126X_REG_SYNC_WORD_6 0x06C6
-
112 #define RADIOLIB_SX126X_REG_SYNC_WORD_7 0x06C7
-
113 #define RADIOLIB_SX126X_REG_NODE_ADDRESS 0x06CD
-
114 #define RADIOLIB_SX126X_REG_BROADCAST_ADDRESS 0x06CE
-
115 #define RADIOLIB_SX126X_REG_PAYLOAD_LENGTH 0x0702
-
116 #define RADIOLIB_SX126X_REG_PACKET_PARAMS 0x0704
-
117 #define RADIOLIB_SX126X_REG_LORA_SYNC_TIMEOUT 0x0706
-
118 #define RADIOLIB_SX126X_REG_IQ_CONFIG 0x0736
-
119 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_MSB 0x0740
-
120 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_LSB 0x0741
-
121 #define RADIOLIB_SX126X_REG_FREQ_ERROR 0x076B
-
122 #define RADIOLIB_SX126X_REG_SPECTRAL_SCAN_STATUS 0x07CD
-
123 #define RADIOLIB_SX126X_REG_RX_ADDR_PTR 0x0803
-
124 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_0 0x0819
-
125 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_1 0x081A
-
126 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_2 0x081B
-
127 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_3 0x081C
-
128 #define RADIOLIB_SX126X_REG_SENSITIVITY_CONFIG 0x0889 // SX1268 datasheet v1.1, section 15.1
-
129 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_0 0x088B
-
130 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_1 0x088C
-
131 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_2 0x088D
-
132 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_3 0x088E
-
133 #define RADIOLIB_SX126X_REG_RSSI_AVG_WINDOW 0x089B
-
134 #define RADIOLIB_SX126X_REG_RX_GAIN 0x08AC
-
135 #define RADIOLIB_SX126X_REG_TX_CLAMP_CONFIG 0x08D8
-
136 #define RADIOLIB_SX126X_REG_ANA_LNA 0x08E2
-
137 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_N 0x08E3
-
138 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_P 0x08E4
-
139 #define RADIOLIB_SX126X_REG_ANA_MIXER 0x08E5
-
140 #define RADIOLIB_SX126X_REG_OCP_CONFIGURATION 0x08E7
-
141 #define RADIOLIB_SX126X_REG_RTC_CTRL 0x0902
-
142 #define RADIOLIB_SX126X_REG_XTA_TRIM 0x0911
-
143 #define RADIOLIB_SX126X_REG_XTB_TRIM 0x0912
-
144 #define RADIOLIB_SX126X_REG_DIO3_OUT_VOLTAGE_CTRL 0x0920
-
145 #define RADIOLIB_SX126X_REG_EVENT_MASK 0x0944
-
146 #define RADIOLIB_SX126X_REG_PATCH_MEMORY_BASE 0x8000
+
76 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_0 0x029F // SX1268 datasheet v1.1, section 9.6
+
77 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_1 0x02A0 // SX1268 datasheet v1.1, section 9.6
+
78 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_2 0x02A1 // SX1268 datasheet v1.1, section 9.6
+
79 #define RADIOLIB_SX126X_REG_VERSION_STRING 0x0320
+
80 #define RADIOLIB_SX126X_REG_HOPPING_ENABLE 0x0385
+
81 #define RADIOLIB_SX126X_REG_LR_FHSS_PACKET_LENGTH 0x0386
+
82 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_HOPPING_BLOCKS 0x0387
+
83 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_SYMBOLS_FREQX_MSB(X) (0x0388 + (X)*6)
+
84 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_SYMBOLS_FREQX_LSB(X) (0x0389 + (X)*6)
+
85 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_0(X) (0x038A + (X)*6)
+
86 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_1(X) (0x038B + (X)*6)
+
87 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_2(X) (0x038C + (X)*6)
+
88 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_3(X) (0x038D + (X)*6)
+
89 #define RADIOLIB_SX126X_REG_SPECTRAL_SCAN_RESULT 0x0401
+
90 #define RADIOLIB_SX126X_REG_DIOX_OUT_ENABLE 0x0580
+
91 #define RADIOLIB_SX126X_REG_DIOX_DRIVE_STRENGTH 0x0582
+
92 #define RADIOLIB_SX126X_REG_DIOX_IN_ENABLE 0x0583
+
93 #define RADIOLIB_SX126X_REG_DIOX_PULL_UP_CTRL 0x0584
+
94 #define RADIOLIB_SX126X_REG_DIOX_PULL_DOWN_CTRL 0x0585
+
95 #define RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_0 0x0587
+
96 #define RADIOLIB_SX126X_REG_PATCH_UPDATE_ENABLE 0x0610
+
97 #define RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_1 0x0680
+
98 #define RADIOLIB_SX126X_REG_WHITENING_INITIAL_MSB 0x06B8
+
99 #define RADIOLIB_SX126X_REG_WHITENING_INITIAL_LSB 0x06B9
+
100 #define RADIOLIB_SX126X_REG_RX_TX_PLD_LEN 0x06BB
+
101 #define RADIOLIB_SX126X_REG_CRC_INITIAL_MSB 0x06BC
+
102 #define RADIOLIB_SX126X_REG_CRC_INITIAL_LSB 0x06BD
+
103 #define RADIOLIB_SX126X_REG_CRC_POLYNOMIAL_MSB 0x06BE
+
104 #define RADIOLIB_SX126X_REG_CRC_POLYNOMIAL_LSB 0x06BF
+
105 #define RADIOLIB_SX126X_REG_SYNC_WORD_0 0x06C0
+
106 #define RADIOLIB_SX126X_REG_SYNC_WORD_1 0x06C1
+
107 #define RADIOLIB_SX126X_REG_SYNC_WORD_2 0x06C2
+
108 #define RADIOLIB_SX126X_REG_SYNC_WORD_3 0x06C3
+
109 #define RADIOLIB_SX126X_REG_SYNC_WORD_4 0x06C4
+
110 #define RADIOLIB_SX126X_REG_SYNC_WORD_5 0x06C5
+
111 #define RADIOLIB_SX126X_REG_SYNC_WORD_6 0x06C6
+
112 #define RADIOLIB_SX126X_REG_SYNC_WORD_7 0x06C7
+
113 #define RADIOLIB_SX126X_REG_NODE_ADDRESS 0x06CD
+
114 #define RADIOLIB_SX126X_REG_BROADCAST_ADDRESS 0x06CE
+
115 #define RADIOLIB_SX126X_REG_PAYLOAD_LENGTH 0x0702
+
116 #define RADIOLIB_SX126X_REG_PACKET_PARAMS 0x0704
+
117 #define RADIOLIB_SX126X_REG_LORA_SYNC_TIMEOUT 0x0706
+
118 #define RADIOLIB_SX126X_REG_IQ_CONFIG 0x0736
+
119 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_MSB 0x0740
+
120 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_LSB 0x0741
+
121 #define RADIOLIB_SX126X_REG_FREQ_ERROR 0x076B
+
122 #define RADIOLIB_SX126X_REG_SPECTRAL_SCAN_STATUS 0x07CD
+
123 #define RADIOLIB_SX126X_REG_RX_ADDR_PTR 0x0803
+
124 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_0 0x0819
+
125 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_1 0x081A
+
126 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_2 0x081B
+
127 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_3 0x081C
+
128 #define RADIOLIB_SX126X_REG_SENSITIVITY_CONFIG 0x0889 // SX1268 datasheet v1.1, section 15.1
+
129 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_0 0x088B
+
130 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_1 0x088C
+
131 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_2 0x088D
+
132 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_3 0x088E
+
133 #define RADIOLIB_SX126X_REG_RSSI_AVG_WINDOW 0x089B
+
134 #define RADIOLIB_SX126X_REG_RX_GAIN 0x08AC
+
135 #define RADIOLIB_SX126X_REG_TX_CLAMP_CONFIG 0x08D8
+
136 #define RADIOLIB_SX126X_REG_ANA_LNA 0x08E2
+
137 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_N 0x08E3
+
138 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_P 0x08E4
+
139 #define RADIOLIB_SX126X_REG_ANA_MIXER 0x08E5
+
140 #define RADIOLIB_SX126X_REG_OCP_CONFIGURATION 0x08E7
+
141 #define RADIOLIB_SX126X_REG_RTC_CTRL 0x0902
+
142 #define RADIOLIB_SX126X_REG_XTA_TRIM 0x0911
+
143 #define RADIOLIB_SX126X_REG_XTB_TRIM 0x0912
+
144 #define RADIOLIB_SX126X_REG_DIO3_OUT_VOLTAGE_CTRL 0x0920
+
145 #define RADIOLIB_SX126X_REG_EVENT_MASK 0x0944
+
146 #define RADIOLIB_SX126X_REG_PATCH_MEMORY_BASE 0x8000
147 
148 // SX126X SPI command variables
-
149 //RADIOLIB_SX126X_CMD_SET_SLEEP MSB LSB DESCRIPTION
-
150 #define RADIOLIB_SX126X_SLEEP_START_COLD 0b00000000 // 2 2 sleep mode: cold start, configuration is lost (default)
-
151 #define RADIOLIB_SX126X_SLEEP_START_WARM 0b00000100 // 2 2 warm start, configuration is retained
-
152 #define RADIOLIB_SX126X_SLEEP_RTC_OFF 0b00000000 // 0 0 wake on RTC timeout: disabled
-
153 #define RADIOLIB_SX126X_SLEEP_RTC_ON 0b00000001 // 0 0 enabled
+
149 //RADIOLIB_SX126X_CMD_SET_SLEEP MSB LSB DESCRIPTION
+
150 #define RADIOLIB_SX126X_SLEEP_START_COLD 0b00000000 // 2 2 sleep mode: cold start, configuration is lost (default)
+
151 #define RADIOLIB_SX126X_SLEEP_START_WARM 0b00000100 // 2 2 warm start, configuration is retained
+
152 #define RADIOLIB_SX126X_SLEEP_RTC_OFF 0b00000000 // 0 0 wake on RTC timeout: disabled
+
153 #define RADIOLIB_SX126X_SLEEP_RTC_ON 0b00000001 // 0 0 enabled
154 
155 //RADIOLIB_SX126X_CMD_SET_STANDBY
-
156 #define RADIOLIB_SX126X_STANDBY_RC 0x00 // 7 0 standby mode: 13 MHz RC oscillator
-
157 #define RADIOLIB_SX126X_STANDBY_XOSC 0x01 // 7 0 32 MHz crystal oscillator
+
156 #define RADIOLIB_SX126X_STANDBY_RC 0x00 // 7 0 standby mode: 13 MHz RC oscillator
+
157 #define RADIOLIB_SX126X_STANDBY_XOSC 0x01 // 7 0 32 MHz crystal oscillator
158 
159 //RADIOLIB_SX126X_CMD_SET_RX
-
160 #define RADIOLIB_SX126X_RX_TIMEOUT_NONE 0x000000 // 23 0 Rx timeout duration: no timeout (Rx single mode)
-
161 #define RADIOLIB_SX126X_RX_TIMEOUT_INF 0xFFFFFF // 23 0 infinite (Rx continuous mode)
+
160 #define RADIOLIB_SX126X_RX_TIMEOUT_NONE 0x000000 // 23 0 Rx timeout duration: no timeout (Rx single mode)
+
161 #define RADIOLIB_SX126X_RX_TIMEOUT_INF 0xFFFFFF // 23 0 infinite (Rx continuous mode)
162 
163 //RADIOLIB_SX126X_CMD_SET_TX
-
164 #define RADIOLIB_SX126X_TX_TIMEOUT_NONE 0x000000 // 23 0 Tx timeout duration: no timeout (Tx single mode)
+
164 #define RADIOLIB_SX126X_TX_TIMEOUT_NONE 0x000000 // 23 0 Tx timeout duration: no timeout (Tx single mode)
165 
166 //RADIOLIB_SX126X_CMD_STOP_TIMER_ON_PREAMBLE
-
167 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_OFF 0x00 // 7 0 stop timer on: sync word or header (default)
-
168 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_ON 0x01 // 7 0 preamble detection
+
167 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_OFF 0x00 // 7 0 stop timer on: sync word or header (default)
+
168 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_ON 0x01 // 7 0 preamble detection
169 
170 //RADIOLIB_SX126X_CMD_SET_REGULATOR_MODE
-
171 #define RADIOLIB_SX126X_REGULATOR_LDO 0x00 // 7 0 set regulator mode: LDO (default)
-
172 #define RADIOLIB_SX126X_REGULATOR_DC_DC 0x01 // 7 0 DC-DC
+
171 #define RADIOLIB_SX126X_REGULATOR_LDO 0x00 // 7 0 set regulator mode: LDO (default)
+
172 #define RADIOLIB_SX126X_REGULATOR_DC_DC 0x01 // 7 0 DC-DC
173 
174 //RADIOLIB_SX126X_CMD_CALIBRATE
-
175 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_OFF 0b00000000 // 6 6 image calibration: disabled
-
176 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_ON 0b01000000 // 6 6 enabled
-
177 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_OFF 0b00000000 // 5 5 ADC bulk P calibration: disabled
-
178 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_ON 0b00100000 // 5 5 enabled
-
179 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_OFF 0b00000000 // 4 4 ADC bulk N calibration: disabled
-
180 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_ON 0b00010000 // 4 4 enabled
-
181 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_OFF 0b00000000 // 3 3 ADC pulse calibration: disabled
-
182 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_ON 0b00001000 // 3 3 enabled
-
183 #define RADIOLIB_SX126X_CALIBRATE_PLL_OFF 0b00000000 // 2 2 PLL calibration: disabled
-
184 #define RADIOLIB_SX126X_CALIBRATE_PLL_ON 0b00000100 // 2 2 enabled
-
185 #define RADIOLIB_SX126X_CALIBRATE_RC13M_OFF 0b00000000 // 1 1 13 MHz RC osc. calibration: disabled
-
186 #define RADIOLIB_SX126X_CALIBRATE_RC13M_ON 0b00000010 // 1 1 enabled
-
187 #define RADIOLIB_SX126X_CALIBRATE_RC64K_OFF 0b00000000 // 0 0 64 kHz RC osc. calibration: disabled
-
188 #define RADIOLIB_SX126X_CALIBRATE_RC64K_ON 0b00000001 // 0 0 enabled
-
189 #define RADIOLIB_SX126X_CALIBRATE_ALL 0b01111111 // 6 0 calibrate all blocks
+
175 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_OFF 0b00000000 // 6 6 image calibration: disabled
+
176 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_ON 0b01000000 // 6 6 enabled
+
177 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_OFF 0b00000000 // 5 5 ADC bulk P calibration: disabled
+
178 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_ON 0b00100000 // 5 5 enabled
+
179 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_OFF 0b00000000 // 4 4 ADC bulk N calibration: disabled
+
180 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_ON 0b00010000 // 4 4 enabled
+
181 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_OFF 0b00000000 // 3 3 ADC pulse calibration: disabled
+
182 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_ON 0b00001000 // 3 3 enabled
+
183 #define RADIOLIB_SX126X_CALIBRATE_PLL_OFF 0b00000000 // 2 2 PLL calibration: disabled
+
184 #define RADIOLIB_SX126X_CALIBRATE_PLL_ON 0b00000100 // 2 2 enabled
+
185 #define RADIOLIB_SX126X_CALIBRATE_RC13M_OFF 0b00000000 // 1 1 13 MHz RC osc. calibration: disabled
+
186 #define RADIOLIB_SX126X_CALIBRATE_RC13M_ON 0b00000010 // 1 1 enabled
+
187 #define RADIOLIB_SX126X_CALIBRATE_RC64K_OFF 0b00000000 // 0 0 64 kHz RC osc. calibration: disabled
+
188 #define RADIOLIB_SX126X_CALIBRATE_RC64K_ON 0b00000001 // 0 0 enabled
+
189 #define RADIOLIB_SX126X_CALIBRATE_ALL 0b01111111 // 6 0 calibrate all blocks
190 
191 //RADIOLIB_SX126X_CMD_CALIBRATE_IMAGE
-
192 #define RADIOLIB_SX126X_CAL_IMG_430_MHZ_1 0x6B
-
193 #define RADIOLIB_SX126X_CAL_IMG_430_MHZ_2 0x6F
-
194 #define RADIOLIB_SX126X_CAL_IMG_470_MHZ_1 0x75
-
195 #define RADIOLIB_SX126X_CAL_IMG_470_MHZ_2 0x81
-
196 #define RADIOLIB_SX126X_CAL_IMG_779_MHZ_1 0xC1
-
197 #define RADIOLIB_SX126X_CAL_IMG_779_MHZ_2 0xC5
-
198 #define RADIOLIB_SX126X_CAL_IMG_863_MHZ_1 0xD7
-
199 #define RADIOLIB_SX126X_CAL_IMG_863_MHZ_2 0xDB
-
200 #define RADIOLIB_SX126X_CAL_IMG_902_MHZ_1 0xE1
-
201 #define RADIOLIB_SX126X_CAL_IMG_902_MHZ_2 0xE9
+
192 #define RADIOLIB_SX126X_CAL_IMG_430_MHZ_1 0x6B
+
193 #define RADIOLIB_SX126X_CAL_IMG_430_MHZ_2 0x6F
+
194 #define RADIOLIB_SX126X_CAL_IMG_470_MHZ_1 0x75
+
195 #define RADIOLIB_SX126X_CAL_IMG_470_MHZ_2 0x81
+
196 #define RADIOLIB_SX126X_CAL_IMG_779_MHZ_1 0xC1
+
197 #define RADIOLIB_SX126X_CAL_IMG_779_MHZ_2 0xC5
+
198 #define RADIOLIB_SX126X_CAL_IMG_863_MHZ_1 0xD7
+
199 #define RADIOLIB_SX126X_CAL_IMG_863_MHZ_2 0xDB
+
200 #define RADIOLIB_SX126X_CAL_IMG_902_MHZ_1 0xE1
+
201 #define RADIOLIB_SX126X_CAL_IMG_902_MHZ_2 0xE9
202 
203 //RADIOLIB_SX126X_CMD_SET_PA_CONFIG
-
204 #define RADIOLIB_SX126X_PA_CONFIG_HP_MAX 0x07
-
205 #define RADIOLIB_SX126X_PA_CONFIG_PA_LUT 0x01
-
206 #define RADIOLIB_SX126X_PA_CONFIG_SX1262_8 0x00
+
204 #define RADIOLIB_SX126X_PA_CONFIG_HP_MAX 0x07
+
205 #define RADIOLIB_SX126X_PA_CONFIG_PA_LUT 0x01
+
206 #define RADIOLIB_SX126X_PA_CONFIG_SX1262_8 0x00
207 
208 //RADIOLIB_SX126X_CMD_SET_RX_TX_FALLBACK_MODE
-
209 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_FS 0x40 // 7 0 after Rx/Tx go to: FS mode
-
210 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_XOSC 0x30 // 7 0 standby with crystal oscillator
-
211 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_RC 0x20 // 7 0 standby with RC oscillator (default)
+
209 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_FS 0x40 // 7 0 after Rx/Tx go to: FS mode
+
210 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_XOSC 0x30 // 7 0 standby with crystal oscillator
+
211 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_RC 0x20 // 7 0 standby with RC oscillator (default)
212 
213 //RADIOLIB_SX126X_CMD_SET_DIO_IRQ_PARAMS
-
214 #define RADIOLIB_SX126X_IRQ_LR_FHSS_HOP 0b0100000000000000 // 14 14 PA ramped up during LR-FHSS hop
-
215 #define RADIOLIB_SX126X_IRQ_TIMEOUT 0b0000001000000000 // 9 9 Rx or Tx timeout
-
216 #define RADIOLIB_SX126X_IRQ_CAD_DETECTED 0b0000000100000000 // 8 8 channel activity detected
-
217 #define RADIOLIB_SX126X_IRQ_CAD_DONE 0b0000000010000000 // 7 7 channel activity detection finished
-
218 #define RADIOLIB_SX126X_IRQ_CRC_ERR 0b0000000001000000 // 6 6 wrong CRC received
-
219 #define RADIOLIB_SX126X_IRQ_HEADER_ERR 0b0000000000100000 // 5 5 LoRa header CRC error
-
220 #define RADIOLIB_SX126X_IRQ_HEADER_VALID 0b0000000000010000 // 4 4 valid LoRa header received
-
221 #define RADIOLIB_SX126X_IRQ_SYNC_WORD_VALID 0b0000000000001000 // 3 3 valid sync word detected
-
222 #define RADIOLIB_SX126X_IRQ_RADIOLIB_PREAMBLE_DETECTED 0b0000000000000100 // 2 2 preamble detected
-
223 #define RADIOLIB_SX126X_IRQ_RX_DONE 0b0000000000000010 // 1 1 packet received
-
224 #define RADIOLIB_SX126X_IRQ_TX_DONE 0b0000000000000001 // 0 0 packet transmission completed
-
225 #define RADIOLIB_SX126X_IRQ_RX_DEFAULT 0b0000001001100010 // 14 0 default for Rx (RX_DONE, TIMEOUT, CRC_ERR and HEADER_ERR)
-
226 #define RADIOLIB_SX126X_IRQ_ALL 0b0100001111111111 // 14 0 all interrupts
-
227 #define RADIOLIB_SX126X_IRQ_NONE 0b0000000000000000 // 14 0 no interrupts
+
214 #define RADIOLIB_SX126X_IRQ_LR_FHSS_HOP 0b0100000000000000 // 14 14 PA ramped up during LR-FHSS hop
+
215 #define RADIOLIB_SX126X_IRQ_TIMEOUT 0b0000001000000000 // 9 9 Rx or Tx timeout
+
216 #define RADIOLIB_SX126X_IRQ_CAD_DETECTED 0b0000000100000000 // 8 8 channel activity detected
+
217 #define RADIOLIB_SX126X_IRQ_CAD_DONE 0b0000000010000000 // 7 7 channel activity detection finished
+
218 #define RADIOLIB_SX126X_IRQ_CRC_ERR 0b0000000001000000 // 6 6 wrong CRC received
+
219 #define RADIOLIB_SX126X_IRQ_HEADER_ERR 0b0000000000100000 // 5 5 LoRa header CRC error
+
220 #define RADIOLIB_SX126X_IRQ_HEADER_VALID 0b0000000000010000 // 4 4 valid LoRa header received
+
221 #define RADIOLIB_SX126X_IRQ_SYNC_WORD_VALID 0b0000000000001000 // 3 3 valid sync word detected
+
222 #define RADIOLIB_SX126X_IRQ_RADIOLIB_PREAMBLE_DETECTED 0b0000000000000100 // 2 2 preamble detected
+
223 #define RADIOLIB_SX126X_IRQ_RX_DONE 0b0000000000000010 // 1 1 packet received
+
224 #define RADIOLIB_SX126X_IRQ_TX_DONE 0b0000000000000001 // 0 0 packet transmission completed
+
225 #define RADIOLIB_SX126X_IRQ_RX_DEFAULT 0b0000001001100010 // 14 0 default for Rx (RX_DONE, TIMEOUT, CRC_ERR and HEADER_ERR)
+
226 #define RADIOLIB_SX126X_IRQ_ALL 0b0100001111111111 // 14 0 all interrupts
+
227 #define RADIOLIB_SX126X_IRQ_NONE 0b0000000000000000 // 14 0 no interrupts
228 
229 //RADIOLIB_SX126X_CMD_SET_DIO2_AS_RF_SWITCH_CTRL
-
230 #define RADIOLIB_SX126X_DIO2_AS_IRQ 0x00 // 7 0 DIO2 configuration: IRQ
-
231 #define RADIOLIB_SX126X_DIO2_AS_RF_SWITCH 0x01 // 7 0 RF switch control
+
230 #define RADIOLIB_SX126X_DIO2_AS_IRQ 0x00 // 7 0 DIO2 configuration: IRQ
+
231 #define RADIOLIB_SX126X_DIO2_AS_RF_SWITCH 0x01 // 7 0 RF switch control
232 
233 //RADIOLIB_SX126X_CMD_SET_DIO3_AS_TCXO_CTRL
-
234 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_6 0x00 // 7 0 DIO3 voltage output for TCXO: 1.6 V
-
235 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_7 0x01 // 7 0 1.7 V
-
236 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_8 0x02 // 7 0 1.8 V
-
237 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_2 0x03 // 7 0 2.2 V
-
238 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_4 0x04 // 7 0 2.4 V
-
239 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_7 0x05 // 7 0 2.7 V
-
240 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_0 0x06 // 7 0 3.0 V
-
241 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_3 0x07 // 7 0 3.3 V
+
234 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_6 0x00 // 7 0 DIO3 voltage output for TCXO: 1.6 V
+
235 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_7 0x01 // 7 0 1.7 V
+
236 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_8 0x02 // 7 0 1.8 V
+
237 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_2 0x03 // 7 0 2.2 V
+
238 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_4 0x04 // 7 0 2.4 V
+
239 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_7 0x05 // 7 0 2.7 V
+
240 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_0 0x06 // 7 0 3.0 V
+
241 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_3 0x07 // 7 0 3.3 V
242 
243 //RADIOLIB_SX126X_CMD_SET_PACKET_TYPE
-
244 #define RADIOLIB_SX126X_PACKET_TYPE_GFSK 0x00 // 7 0 packet type: GFSK
-
245 #define RADIOLIB_SX126X_PACKET_TYPE_LORA 0x01 // 7 0 LoRa
-
246 #define RADIOLIB_SX126X_PACKET_TYPE_LR_FHSS 0x03 // 7 0 LR-FHSS
+
244 #define RADIOLIB_SX126X_PACKET_TYPE_GFSK 0x00 // 7 0 packet type: GFSK
+
245 #define RADIOLIB_SX126X_PACKET_TYPE_LORA 0x01 // 7 0 LoRa
+
246 #define RADIOLIB_SX126X_PACKET_TYPE_LR_FHSS 0x03 // 7 0 LR-FHSS
247 
248 //RADIOLIB_SX126X_CMD_SET_TX_PARAMS
-
249 #define RADIOLIB_SX126X_PA_RAMP_10U 0x00 // 7 0 ramp time: 10 us
-
250 #define RADIOLIB_SX126X_PA_RAMP_20U 0x01 // 7 0 20 us
-
251 #define RADIOLIB_SX126X_PA_RAMP_40U 0x02 // 7 0 40 us
-
252 #define RADIOLIB_SX126X_PA_RAMP_80U 0x03 // 7 0 80 us
-
253 #define RADIOLIB_SX126X_PA_RAMP_200U 0x04 // 7 0 200 us
-
254 #define RADIOLIB_SX126X_PA_RAMP_800U 0x05 // 7 0 800 us
-
255 #define RADIOLIB_SX126X_PA_RAMP_1700U 0x06 // 7 0 1700 us
-
256 #define RADIOLIB_SX126X_PA_RAMP_3400U 0x07 // 7 0 3400 us
+
249 #define RADIOLIB_SX126X_PA_RAMP_10U 0x00 // 7 0 ramp time: 10 us
+
250 #define RADIOLIB_SX126X_PA_RAMP_20U 0x01 // 7 0 20 us
+
251 #define RADIOLIB_SX126X_PA_RAMP_40U 0x02 // 7 0 40 us
+
252 #define RADIOLIB_SX126X_PA_RAMP_80U 0x03 // 7 0 80 us
+
253 #define RADIOLIB_SX126X_PA_RAMP_200U 0x04 // 7 0 200 us
+
254 #define RADIOLIB_SX126X_PA_RAMP_800U 0x05 // 7 0 800 us
+
255 #define RADIOLIB_SX126X_PA_RAMP_1700U 0x06 // 7 0 1700 us
+
256 #define RADIOLIB_SX126X_PA_RAMP_3400U 0x07 // 7 0 3400 us
257 
258 //RADIOLIB_SX126X_CMD_SET_MODULATION_PARAMS
-
259 #define RADIOLIB_SX126X_GFSK_FILTER_NONE 0x00 // 7 0 GFSK filter: none
-
260 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_3 0x08 // 7 0 Gaussian, BT = 0.3
-
261 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_5 0x09 // 7 0 Gaussian, BT = 0.5
-
262 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_7 0x0A // 7 0 Gaussian, BT = 0.7
-
263 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_1 0x0B // 7 0 Gaussian, BT = 1
-
264 #define RADIOLIB_SX126X_GFSK_RX_BW_4_8 0x1F // 7 0 GFSK Rx bandwidth: 4.8 kHz
-
265 #define RADIOLIB_SX126X_GFSK_RX_BW_5_8 0x17 // 7 0 5.8 kHz
-
266 #define RADIOLIB_SX126X_GFSK_RX_BW_7_3 0x0F // 7 0 7.3 kHz
-
267 #define RADIOLIB_SX126X_GFSK_RX_BW_9_7 0x1E // 7 0 9.7 kHz
-
268 #define RADIOLIB_SX126X_GFSK_RX_BW_11_7 0x16 // 7 0 11.7 kHz
-
269 #define RADIOLIB_SX126X_GFSK_RX_BW_14_6 0x0E // 7 0 14.6 kHz
-
270 #define RADIOLIB_SX126X_GFSK_RX_BW_19_5 0x1D // 7 0 19.5 kHz
-
271 #define RADIOLIB_SX126X_GFSK_RX_BW_23_4 0x15 // 7 0 23.4 kHz
-
272 #define RADIOLIB_SX126X_GFSK_RX_BW_29_3 0x0D // 7 0 29.3 kHz
-
273 #define RADIOLIB_SX126X_GFSK_RX_BW_39_0 0x1C // 7 0 39.0 kHz
-
274 #define RADIOLIB_SX126X_GFSK_RX_BW_46_9 0x14 // 7 0 46.9 kHz
-
275 #define RADIOLIB_SX126X_GFSK_RX_BW_58_6 0x0C // 7 0 58.6 kHz
-
276 #define RADIOLIB_SX126X_GFSK_RX_BW_78_2 0x1B // 7 0 78.2 kHz
-
277 #define RADIOLIB_SX126X_GFSK_RX_BW_93_8 0x13 // 7 0 93.8 kHz
-
278 #define RADIOLIB_SX126X_GFSK_RX_BW_117_3 0x0B // 7 0 117.3 kHz
-
279 #define RADIOLIB_SX126X_GFSK_RX_BW_156_2 0x1A // 7 0 156.2 kHz
-
280 #define RADIOLIB_SX126X_GFSK_RX_BW_187_2 0x12 // 7 0 187.2 kHz
-
281 #define RADIOLIB_SX126X_GFSK_RX_BW_234_3 0x0A // 7 0 234.3 kHz
-
282 #define RADIOLIB_SX126X_GFSK_RX_BW_312_0 0x19 // 7 0 312.0 kHz
-
283 #define RADIOLIB_SX126X_GFSK_RX_BW_373_6 0x11 // 7 0 373.6 kHz
-
284 #define RADIOLIB_SX126X_GFSK_RX_BW_467_0 0x09 // 7 0 467.0 kHz
-
285 #define RADIOLIB_SX126X_LORA_BW_7_8 0x00 // 7 0 LoRa bandwidth: 7.8 kHz
-
286 #define RADIOLIB_SX126X_LORA_BW_10_4 0x08 // 7 0 10.4 kHz
-
287 #define RADIOLIB_SX126X_LORA_BW_15_6 0x01 // 7 0 15.6 kHz
-
288 #define RADIOLIB_SX126X_LORA_BW_20_8 0x09 // 7 0 20.8 kHz
-
289 #define RADIOLIB_SX126X_LORA_BW_31_25 0x02 // 7 0 31.25 kHz
-
290 #define RADIOLIB_SX126X_LORA_BW_41_7 0x0A // 7 0 41.7 kHz
-
291 #define RADIOLIB_SX126X_LORA_BW_62_5 0x03 // 7 0 62.5 kHz
-
292 #define RADIOLIB_SX126X_LORA_BW_125_0 0x04 // 7 0 125.0 kHz
-
293 #define RADIOLIB_SX126X_LORA_BW_250_0 0x05 // 7 0 250.0 kHz
-
294 #define RADIOLIB_SX126X_LORA_BW_500_0 0x06 // 7 0 500.0 kHz
-
295 #define RADIOLIB_SX126X_LORA_CR_4_5 0x01 // 7 0 LoRa coding rate: 4/5
-
296 #define RADIOLIB_SX126X_LORA_CR_4_6 0x02 // 7 0 4/6
-
297 #define RADIOLIB_SX126X_LORA_CR_4_7 0x03 // 7 0 4/7
-
298 #define RADIOLIB_SX126X_LORA_CR_4_8 0x04 // 7 0 4/8
-
299 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_OFF 0x00 // 7 0 LoRa low data rate optimization: disabled
-
300 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_ON 0x01 // 7 0 enabled
+
259 #define RADIOLIB_SX126X_GFSK_FILTER_NONE 0x00 // 7 0 GFSK filter: none
+
260 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_3 0x08 // 7 0 Gaussian, BT = 0.3
+
261 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_5 0x09 // 7 0 Gaussian, BT = 0.5
+
262 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_7 0x0A // 7 0 Gaussian, BT = 0.7
+
263 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_1 0x0B // 7 0 Gaussian, BT = 1
+
264 #define RADIOLIB_SX126X_GFSK_RX_BW_4_8 0x1F // 7 0 GFSK Rx bandwidth: 4.8 kHz
+
265 #define RADIOLIB_SX126X_GFSK_RX_BW_5_8 0x17 // 7 0 5.8 kHz
+
266 #define RADIOLIB_SX126X_GFSK_RX_BW_7_3 0x0F // 7 0 7.3 kHz
+
267 #define RADIOLIB_SX126X_GFSK_RX_BW_9_7 0x1E // 7 0 9.7 kHz
+
268 #define RADIOLIB_SX126X_GFSK_RX_BW_11_7 0x16 // 7 0 11.7 kHz
+
269 #define RADIOLIB_SX126X_GFSK_RX_BW_14_6 0x0E // 7 0 14.6 kHz
+
270 #define RADIOLIB_SX126X_GFSK_RX_BW_19_5 0x1D // 7 0 19.5 kHz
+
271 #define RADIOLIB_SX126X_GFSK_RX_BW_23_4 0x15 // 7 0 23.4 kHz
+
272 #define RADIOLIB_SX126X_GFSK_RX_BW_29_3 0x0D // 7 0 29.3 kHz
+
273 #define RADIOLIB_SX126X_GFSK_RX_BW_39_0 0x1C // 7 0 39.0 kHz
+
274 #define RADIOLIB_SX126X_GFSK_RX_BW_46_9 0x14 // 7 0 46.9 kHz
+
275 #define RADIOLIB_SX126X_GFSK_RX_BW_58_6 0x0C // 7 0 58.6 kHz
+
276 #define RADIOLIB_SX126X_GFSK_RX_BW_78_2 0x1B // 7 0 78.2 kHz
+
277 #define RADIOLIB_SX126X_GFSK_RX_BW_93_8 0x13 // 7 0 93.8 kHz
+
278 #define RADIOLIB_SX126X_GFSK_RX_BW_117_3 0x0B // 7 0 117.3 kHz
+
279 #define RADIOLIB_SX126X_GFSK_RX_BW_156_2 0x1A // 7 0 156.2 kHz
+
280 #define RADIOLIB_SX126X_GFSK_RX_BW_187_2 0x12 // 7 0 187.2 kHz
+
281 #define RADIOLIB_SX126X_GFSK_RX_BW_234_3 0x0A // 7 0 234.3 kHz
+
282 #define RADIOLIB_SX126X_GFSK_RX_BW_312_0 0x19 // 7 0 312.0 kHz
+
283 #define RADIOLIB_SX126X_GFSK_RX_BW_373_6 0x11 // 7 0 373.6 kHz
+
284 #define RADIOLIB_SX126X_GFSK_RX_BW_467_0 0x09 // 7 0 467.0 kHz
+
285 #define RADIOLIB_SX126X_LORA_BW_7_8 0x00 // 7 0 LoRa bandwidth: 7.8 kHz
+
286 #define RADIOLIB_SX126X_LORA_BW_10_4 0x08 // 7 0 10.4 kHz
+
287 #define RADIOLIB_SX126X_LORA_BW_15_6 0x01 // 7 0 15.6 kHz
+
288 #define RADIOLIB_SX126X_LORA_BW_20_8 0x09 // 7 0 20.8 kHz
+
289 #define RADIOLIB_SX126X_LORA_BW_31_25 0x02 // 7 0 31.25 kHz
+
290 #define RADIOLIB_SX126X_LORA_BW_41_7 0x0A // 7 0 41.7 kHz
+
291 #define RADIOLIB_SX126X_LORA_BW_62_5 0x03 // 7 0 62.5 kHz
+
292 #define RADIOLIB_SX126X_LORA_BW_125_0 0x04 // 7 0 125.0 kHz
+
293 #define RADIOLIB_SX126X_LORA_BW_250_0 0x05 // 7 0 250.0 kHz
+
294 #define RADIOLIB_SX126X_LORA_BW_500_0 0x06 // 7 0 500.0 kHz
+
295 #define RADIOLIB_SX126X_LORA_CR_4_5 0x01 // 7 0 LoRa coding rate: 4/5
+
296 #define RADIOLIB_SX126X_LORA_CR_4_6 0x02 // 7 0 4/6
+
297 #define RADIOLIB_SX126X_LORA_CR_4_7 0x03 // 7 0 4/7
+
298 #define RADIOLIB_SX126X_LORA_CR_4_8 0x04 // 7 0 4/8
+
299 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_OFF 0x00 // 7 0 LoRa low data rate optimization: disabled
+
300 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_ON 0x01 // 7 0 enabled
301 
302 //RADIOLIB_SX126X_CMD_SET_PACKET_PARAMS
-
303 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_OFF 0x00 // 7 0 GFSK minimum preamble length before reception starts: detector disabled
-
304 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_8 0x04 // 7 0 8 bits
-
305 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16 0x05 // 7 0 16 bits
-
306 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_24 0x06 // 7 0 24 bits
-
307 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_32 0x07 // 7 0 32 bits
-
308 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_OFF 0x00 // 7 0 GFSK address filtering: disabled
-
309 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE 0x01 // 7 0 node only
-
310 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE_BROADCAST 0x02 // 7 0 node and broadcast
-
311 #define RADIOLIB_SX126X_GFSK_PACKET_FIXED 0x00 // 7 0 GFSK packet type: fixed (payload length known in advance to both sides)
-
312 #define RADIOLIB_SX126X_GFSK_PACKET_VARIABLE 0x01 // 7 0 variable (payload length added to packet)
-
313 #define RADIOLIB_SX126X_GFSK_CRC_OFF 0x01 // 7 0 GFSK packet CRC: disabled
-
314 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE 0x00 // 7 0 1 byte
-
315 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE 0x02 // 7 0 2 byte
-
316 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE_INV 0x04 // 7 0 1 byte, inverted
-
317 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE_INV 0x06 // 7 0 2 byte, inverted
-
318 #define RADIOLIB_SX126X_GFSK_WHITENING_OFF 0x00 // 7 0 GFSK data whitening: disabled
-
319 #define RADIOLIB_SX126X_GFSK_WHITENING_ON 0x01 // 7 0 enabled
-
320 #define RADIOLIB_SX126X_LORA_HEADER_EXPLICIT 0x00 // 7 0 LoRa header mode: explicit
-
321 #define RADIOLIB_SX126X_LORA_HEADER_IMPLICIT 0x01 // 7 0 implicit
-
322 #define RADIOLIB_SX126X_LORA_CRC_OFF 0x00 // 7 0 LoRa CRC mode: disabled
-
323 #define RADIOLIB_SX126X_LORA_CRC_ON 0x01 // 7 0 enabled
-
324 #define RADIOLIB_SX126X_LORA_IQ_STANDARD 0x00 // 7 0 LoRa IQ setup: standard
-
325 #define RADIOLIB_SX126X_LORA_IQ_INVERTED 0x01 // 7 0 inverted
+
303 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_OFF 0x00 // 7 0 GFSK minimum preamble length before reception starts: detector disabled
+
304 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_8 0x04 // 7 0 8 bits
+
305 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16 0x05 // 7 0 16 bits
+
306 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_24 0x06 // 7 0 24 bits
+
307 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_32 0x07 // 7 0 32 bits
+
308 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_OFF 0x00 // 7 0 GFSK address filtering: disabled
+
309 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE 0x01 // 7 0 node only
+
310 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE_BROADCAST 0x02 // 7 0 node and broadcast
+
311 #define RADIOLIB_SX126X_GFSK_PACKET_FIXED 0x00 // 7 0 GFSK packet type: fixed (payload length known in advance to both sides)
+
312 #define RADIOLIB_SX126X_GFSK_PACKET_VARIABLE 0x01 // 7 0 variable (payload length added to packet)
+
313 #define RADIOLIB_SX126X_GFSK_CRC_OFF 0x01 // 7 0 GFSK packet CRC: disabled
+
314 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE 0x00 // 7 0 1 byte
+
315 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE 0x02 // 7 0 2 byte
+
316 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE_INV 0x04 // 7 0 1 byte, inverted
+
317 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE_INV 0x06 // 7 0 2 byte, inverted
+
318 #define RADIOLIB_SX126X_GFSK_WHITENING_OFF 0x00 // 7 0 GFSK data whitening: disabled
+
319 #define RADIOLIB_SX126X_GFSK_WHITENING_ON 0x01 // 7 0 enabled
+
320 #define RADIOLIB_SX126X_LORA_HEADER_EXPLICIT 0x00 // 7 0 LoRa header mode: explicit
+
321 #define RADIOLIB_SX126X_LORA_HEADER_IMPLICIT 0x01 // 7 0 implicit
+
322 #define RADIOLIB_SX126X_LORA_CRC_OFF 0x00 // 7 0 LoRa CRC mode: disabled
+
323 #define RADIOLIB_SX126X_LORA_CRC_ON 0x01 // 7 0 enabled
+
324 #define RADIOLIB_SX126X_LORA_IQ_STANDARD 0x00 // 7 0 LoRa IQ setup: standard
+
325 #define RADIOLIB_SX126X_LORA_IQ_INVERTED 0x01 // 7 0 inverted
326 
327 //RADIOLIB_SX126X_CMD_SET_CAD_PARAMS
-
328 #define RADIOLIB_SX126X_CAD_ON_1_SYMB 0x00 // 7 0 number of symbols used for CAD: 1
-
329 #define RADIOLIB_SX126X_CAD_ON_2_SYMB 0x01 // 7 0 2
-
330 #define RADIOLIB_SX126X_CAD_ON_4_SYMB 0x02 // 7 0 4
-
331 #define RADIOLIB_SX126X_CAD_ON_8_SYMB 0x03 // 7 0 8
-
332 #define RADIOLIB_SX126X_CAD_ON_16_SYMB 0x04 // 7 0 16
-
333 #define RADIOLIB_SX126X_CAD_GOTO_STDBY 0x00 // 7 0 after CAD is done, always go to STDBY_RC mode
-
334 #define RADIOLIB_SX126X_CAD_GOTO_RX 0x01 // 7 0 after CAD is done, go to Rx mode if activity is detected
-
335 #define RADIOLIB_SX126X_CAD_PARAM_DEFAULT 0xFF // 7 0 used by the CAD methods to specify default parameter value
-
336 #define RADIOLIB_SX126X_CAD_PARAM_DET_MIN 10 // 7 0 default detMin CAD parameter
+
328 #define RADIOLIB_SX126X_CAD_ON_1_SYMB 0x00 // 7 0 number of symbols used for CAD: 1
+
329 #define RADIOLIB_SX126X_CAD_ON_2_SYMB 0x01 // 7 0 2
+
330 #define RADIOLIB_SX126X_CAD_ON_4_SYMB 0x02 // 7 0 4
+
331 #define RADIOLIB_SX126X_CAD_ON_8_SYMB 0x03 // 7 0 8
+
332 #define RADIOLIB_SX126X_CAD_ON_16_SYMB 0x04 // 7 0 16
+
333 #define RADIOLIB_SX126X_CAD_GOTO_STDBY 0x00 // 7 0 after CAD is done, always go to STDBY_RC mode
+
334 #define RADIOLIB_SX126X_CAD_GOTO_RX 0x01 // 7 0 after CAD is done, go to Rx mode if activity is detected
+
335 #define RADIOLIB_SX126X_CAD_PARAM_DEFAULT 0xFF // 7 0 used by the CAD methods to specify default parameter value
+
336 #define RADIOLIB_SX126X_CAD_PARAM_DET_MIN 10 // 7 0 default detMin CAD parameter
337 
338 //RADIOLIB_SX126X_CMD_GET_STATUS
-
339 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_RC 0b00100000 // 6 4 current chip mode: STDBY_RC
-
340 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_XOSC 0b00110000 // 6 4 STDBY_XOSC
-
341 #define RADIOLIB_SX126X_STATUS_MODE_FS 0b01000000 // 6 4 FS
-
342 #define RADIOLIB_SX126X_STATUS_MODE_RX 0b01010000 // 6 4 RX
-
343 #define RADIOLIB_SX126X_STATUS_MODE_TX 0b01100000 // 6 4 TX
-
344 #define RADIOLIB_SX126X_STATUS_DATA_AVAILABLE 0b00000100 // 3 1 command status: packet received and data can be retrieved
-
345 #define RADIOLIB_SX126X_STATUS_CMD_TIMEOUT 0b00000110 // 3 1 SPI command timed out
-
346 #define RADIOLIB_SX126X_STATUS_CMD_INVALID 0b00001000 // 3 1 invalid SPI command
-
347 #define RADIOLIB_SX126X_STATUS_CMD_FAILED 0b00001010 // 3 1 SPI command failed to execute
-
348 #define RADIOLIB_SX126X_STATUS_TX_DONE 0b00001100 // 3 1 packet transmission done
-
349 #define RADIOLIB_SX126X_STATUS_SPI_FAILED 0b11111111 // 7 0 SPI transaction failed
+
339 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_RC 0b00100000 // 6 4 current chip mode: STDBY_RC
+
340 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_XOSC 0b00110000 // 6 4 STDBY_XOSC
+
341 #define RADIOLIB_SX126X_STATUS_MODE_FS 0b01000000 // 6 4 FS
+
342 #define RADIOLIB_SX126X_STATUS_MODE_RX 0b01010000 // 6 4 RX
+
343 #define RADIOLIB_SX126X_STATUS_MODE_TX 0b01100000 // 6 4 TX
+
344 #define RADIOLIB_SX126X_STATUS_DATA_AVAILABLE 0b00000100 // 3 1 command status: packet received and data can be retrieved
+
345 #define RADIOLIB_SX126X_STATUS_CMD_TIMEOUT 0b00000110 // 3 1 SPI command timed out
+
346 #define RADIOLIB_SX126X_STATUS_CMD_INVALID 0b00001000 // 3 1 invalid SPI command
+
347 #define RADIOLIB_SX126X_STATUS_CMD_FAILED 0b00001010 // 3 1 SPI command failed to execute
+
348 #define RADIOLIB_SX126X_STATUS_TX_DONE 0b00001100 // 3 1 packet transmission done
+
349 #define RADIOLIB_SX126X_STATUS_SPI_FAILED 0b11111111 // 7 0 SPI transaction failed
350 
351 //RADIOLIB_SX126X_CMD_GET_PACKET_STATUS
-
352 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PREAMBLE_ERR 0b10000000 // 7 7 GFSK Rx status: preamble error
-
353 #define RADIOLIB_SX126X_GFSK_RX_STATUS_SYNC_ERR 0b01000000 // 6 6 sync word error
-
354 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ADRS_ERR 0b00100000 // 5 5 address error
-
355 #define RADIOLIB_SX126X_GFSK_RX_STATUS_CRC_ERR 0b00010000 // 4 4 CRC error
-
356 #define RADIOLIB_SX126X_GFSK_RX_STATUS_LENGTH_ERR 0b00001000 // 3 3 length error
-
357 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ABORT_ERR 0b00000100 // 2 2 abort error
-
358 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_RECEIVED 0b00000010 // 2 2 packet received
-
359 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_SENT 0b00000001 // 2 2 packet sent
+
352 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PREAMBLE_ERR 0b10000000 // 7 7 GFSK Rx status: preamble error
+
353 #define RADIOLIB_SX126X_GFSK_RX_STATUS_SYNC_ERR 0b01000000 // 6 6 sync word error
+
354 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ADRS_ERR 0b00100000 // 5 5 address error
+
355 #define RADIOLIB_SX126X_GFSK_RX_STATUS_CRC_ERR 0b00010000 // 4 4 CRC error
+
356 #define RADIOLIB_SX126X_GFSK_RX_STATUS_LENGTH_ERR 0b00001000 // 3 3 length error
+
357 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ABORT_ERR 0b00000100 // 2 2 abort error
+
358 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_RECEIVED 0b00000010 // 2 2 packet received
+
359 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_SENT 0b00000001 // 2 2 packet sent
360 
361 //RADIOLIB_SX126X_CMD_GET_DEVICE_ERRORS
-
362 #define RADIOLIB_SX126X_PA_RAMP_ERR 0b100000000 // 8 8 device errors: PA ramping failed
-
363 #define RADIOLIB_SX126X_PLL_LOCK_ERR 0b001000000 // 6 6 PLL failed to lock
-
364 #define RADIOLIB_SX126X_XOSC_START_ERR 0b000100000 // 5 5 crystal oscillator failed to start
-
365 #define RADIOLIB_SX126X_IMG_CALIB_ERR 0b000010000 // 4 4 image calibration failed
-
366 #define RADIOLIB_SX126X_ADC_CALIB_ERR 0b000001000 // 3 3 ADC calibration failed
-
367 #define RADIOLIB_SX126X_PLL_CALIB_ERR 0b000000100 // 2 2 PLL calibration failed
-
368 #define RADIOLIB_SX126X_RC13M_CALIB_ERR 0b000000010 // 1 1 RC13M calibration failed
-
369 #define RADIOLIB_SX126X_RC64K_CALIB_ERR 0b000000001 // 0 0 RC64K calibration failed
+
362 #define RADIOLIB_SX126X_PA_RAMP_ERR 0b100000000 // 8 8 device errors: PA ramping failed
+
363 #define RADIOLIB_SX126X_PLL_LOCK_ERR 0b001000000 // 6 6 PLL failed to lock
+
364 #define RADIOLIB_SX126X_XOSC_START_ERR 0b000100000 // 5 5 crystal oscillator failed to start
+
365 #define RADIOLIB_SX126X_IMG_CALIB_ERR 0b000010000 // 4 4 image calibration failed
+
366 #define RADIOLIB_SX126X_ADC_CALIB_ERR 0b000001000 // 3 3 ADC calibration failed
+
367 #define RADIOLIB_SX126X_PLL_CALIB_ERR 0b000000100 // 2 2 PLL calibration failed
+
368 #define RADIOLIB_SX126X_RC13M_CALIB_ERR 0b000000010 // 1 1 RC13M calibration failed
+
369 #define RADIOLIB_SX126X_RC64K_CALIB_ERR 0b000000001 // 0 0 RC64K calibration failed
370 
371 //RADIOLIB_SX126X_CMD_SET_LBT_SCAN_PARAMS + RADIOLIB_SX126X_CMD_SET_SPECTR_SCAN_PARAMS
-
372 #define RADIOLIB_SX126X_SCAN_INTERVAL_7_68_US 10 // 7 0 RSSI reading interval: 7.68 us
-
373 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US 11 // 7 0 8.20 us
-
374 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_68_US 12 // 7 0 8.68 us
+
372 #define RADIOLIB_SX126X_SCAN_INTERVAL_7_68_US 10 // 7 0 RSSI reading interval: 7.68 us
+
373 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US 11 // 7 0 8.20 us
+
374 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_68_US 12 // 7 0 8.68 us
375 
376 // SX126X SPI register variables
377 //RADIOLIB_SX126X_REG_HOPPING_ENABLE
-
378 #define RADIOLIB_SX126X_HOPPING_ENABLED 0b00000001 // 0 0 intra-packet hopping for LR-FHSS: enabled
-
379 #define RADIOLIB_SX126X_HOPPING_DISABLED 0b00000000 // 0 0 (disabled)
+
378 #define RADIOLIB_SX126X_HOPPING_ENABLED 0b00000001 // 0 0 intra-packet hopping for LR-FHSS: enabled
+
379 #define RADIOLIB_SX126X_HOPPING_DISABLED 0b00000000 // 0 0 (disabled)
380 
381 //RADIOLIB_SX126X_REG_LORA_SYNC_WORD_MSB + LSB
-
382 #define RADIOLIB_SX126X_SYNC_WORD_PUBLIC 0x34 // actually 0x3444 NOTE: The low nibbles in each byte (0x_4_4) are masked out since apparently, they're reserved.
-
383 #define RADIOLIB_SX126X_SYNC_WORD_PRIVATE 0x12 // actually 0x1424 You couldn't make this up if you tried.
+
382 #define RADIOLIB_SX126X_SYNC_WORD_PUBLIC 0x34 // actually 0x3444 NOTE: The low nibbles in each byte (0x_4_4) are masked out since apparently, they're reserved.
+
383 #define RADIOLIB_SX126X_SYNC_WORD_PRIVATE 0x12 // actually 0x1424 You couldn't make this up if you tried.
384 
385 // RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_1
-
386 #define RADIOLIB_SX126X_TX_BITBANG_1_DISABLED 0b00000000 // 6 4 Tx bitbang: disabled (default)
-
387 #define RADIOLIB_SX126X_TX_BITBANG_1_ENABLED 0b00010000 // 6 4 enabled
+
386 #define RADIOLIB_SX126X_TX_BITBANG_1_DISABLED 0b00000000 // 6 4 Tx bitbang: disabled (default)
+
387 #define RADIOLIB_SX126X_TX_BITBANG_1_ENABLED 0b00010000 // 6 4 enabled
388 
389 // RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_0
-
390 #define RADIOLIB_SX126X_TX_BITBANG_0_DISABLED 0b00000000 // 3 0 Tx bitbang: disabled (default)
-
391 #define RADIOLIB_SX126X_TX_BITBANG_0_ENABLED 0b00001100 // 3 0 enabled
+
390 #define RADIOLIB_SX126X_TX_BITBANG_0_DISABLED 0b00000000 // 3 0 Tx bitbang: disabled (default)
+
391 #define RADIOLIB_SX126X_TX_BITBANG_0_ENABLED 0b00001100 // 3 0 enabled
392 
393 // RADIOLIB_SX126X_REG_DIOX_OUT_ENABLE
-
394 #define RADIOLIB_SX126X_DIO1_OUT_DISABLED 0b00000010 // 1 1 DIO1 output: disabled
-
395 #define RADIOLIB_SX126X_DIO1_OUT_ENABLED 0b00000000 // 1 1 enabled
-
396 #define RADIOLIB_SX126X_DIO2_OUT_DISABLED 0b00000100 // 2 2 DIO2 output: disabled
-
397 #define RADIOLIB_SX126X_DIO2_OUT_ENABLED 0b00000000 // 2 2 enabled
-
398 #define RADIOLIB_SX126X_DIO3_OUT_DISABLED 0b00001000 // 3 3 DIO3 output: disabled
-
399 #define RADIOLIB_SX126X_DIO3_OUT_ENABLED 0b00000000 // 3 3 enabled
+
394 #define RADIOLIB_SX126X_DIO1_OUT_DISABLED 0b00000010 // 1 1 DIO1 output: disabled
+
395 #define RADIOLIB_SX126X_DIO1_OUT_ENABLED 0b00000000 // 1 1 enabled
+
396 #define RADIOLIB_SX126X_DIO2_OUT_DISABLED 0b00000100 // 2 2 DIO2 output: disabled
+
397 #define RADIOLIB_SX126X_DIO2_OUT_ENABLED 0b00000000 // 2 2 enabled
+
398 #define RADIOLIB_SX126X_DIO3_OUT_DISABLED 0b00001000 // 3 3 DIO3 output: disabled
+
399 #define RADIOLIB_SX126X_DIO3_OUT_ENABLED 0b00000000 // 3 3 enabled
400 
401 // RADIOLIB_SX126X_REG_DIOX_IN_ENABLE
-
402 #define RADIOLIB_SX126X_DIO1_IN_DISABLED 0b00000000 // 1 1 DIO1 input: disabled
-
403 #define RADIOLIB_SX126X_DIO1_IN_ENABLED 0b00000010 // 1 1 enabled
-
404 #define RADIOLIB_SX126X_DIO2_IN_DISABLED 0b00000000 // 2 2 DIO2 input: disabled
-
405 #define RADIOLIB_SX126X_DIO2_IN_ENABLED 0b00000100 // 2 2 enabled
-
406 #define RADIOLIB_SX126X_DIO3_IN_DISABLED 0b00000000 // 3 3 DIO3 input: disabled
-
407 #define RADIOLIB_SX126X_DIO3_IN_ENABLED 0b00001000 // 3 3 enabled
+
402 #define RADIOLIB_SX126X_DIO1_IN_DISABLED 0b00000000 // 1 1 DIO1 input: disabled
+
403 #define RADIOLIB_SX126X_DIO1_IN_ENABLED 0b00000010 // 1 1 enabled
+
404 #define RADIOLIB_SX126X_DIO2_IN_DISABLED 0b00000000 // 2 2 DIO2 input: disabled
+
405 #define RADIOLIB_SX126X_DIO2_IN_ENABLED 0b00000100 // 2 2 enabled
+
406 #define RADIOLIB_SX126X_DIO3_IN_DISABLED 0b00000000 // 3 3 DIO3 input: disabled
+
407 #define RADIOLIB_SX126X_DIO3_IN_ENABLED 0b00001000 // 3 3 enabled
408 
409 // RADIOLIB_SX126X_REG_RX_GAIN
-
410 #define RADIOLIB_SX126X_RX_GAIN_BOOSTED 0x96 // 7 0 Rx gain: boosted
-
411 #define RADIOLIB_SX126X_RX_GAIN_POWER_SAVING 0x94 // 7 0 power saving
-
412 #define RADIOLIB_SX126X_RX_GAIN_SPECTRAL_SCAN 0xCB // 7 0 spectral scan
+
410 #define RADIOLIB_SX126X_RX_GAIN_BOOSTED 0x96 // 7 0 Rx gain: boosted
+
411 #define RADIOLIB_SX126X_RX_GAIN_POWER_SAVING 0x94 // 7 0 power saving
+
412 #define RADIOLIB_SX126X_RX_GAIN_SPECTRAL_SCAN 0xCB // 7 0 spectral scan
413 
414 // RADIOLIB_SX126X_REG_PATCH_UPDATE_ENABLE
-
415 #define RADIOLIB_SX126X_PATCH_UPDATE_DISABLED 0b00000000 // 4 4 patch update: disabled
-
416 #define RADIOLIB_SX126X_PATCH_UPDATE_ENABLED 0b00010000 // 4 4 enabled
+
415 #define RADIOLIB_SX126X_PATCH_UPDATE_DISABLED 0b00000000 // 4 4 patch update: disabled
+
416 #define RADIOLIB_SX126X_PATCH_UPDATE_ENABLED 0b00010000 // 4 4 enabled
417 
418 // RADIOLIB_SX126X_REG_SPECTRAL_SCAN_STATUS
-
419 #define RADIOLIB_SX126X_SPECTRAL_SCAN_NONE 0x00 // 7 0 spectral scan status: none
-
420 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ONGOING 0x0F // 7 0 ongoing
-
421 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ABORTED 0xF0 // 7 0 aborted
-
422 #define RADIOLIB_SX126X_SPECTRAL_SCAN_COMPLETED 0xFF // 7 0 completed
+
419 #define RADIOLIB_SX126X_SPECTRAL_SCAN_NONE 0x00 // 7 0 spectral scan status: none
+
420 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ONGOING 0x0F // 7 0 ongoing
+
421 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ABORTED 0xF0 // 7 0 aborted
+
422 #define RADIOLIB_SX126X_SPECTRAL_SCAN_COMPLETED 0xFF // 7 0 completed
423 
424 // RADIOLIB_SX126X_REG_RSSI_AVG_WINDOW
-
425 #define RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT (0x05 << 2) // 7 0 default RSSI average window
+
425 #define RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT (0x05 << 2) // 7 0 default RSSI average window
426 
427 // RADIOLIB_SX126X_REG_ANA_LNA
-
428 #define RADIOLIB_SX126X_LNA_RNG_DISABLED 0b00000001 // 0 0 random number: disabled
-
429 #define RADIOLIB_SX126X_LNA_RNG_ENABLED 0b00000000 // 0 0 enabled
+
428 #define RADIOLIB_SX126X_LNA_RNG_DISABLED 0b00000001 // 0 0 random number: disabled
+
429 #define RADIOLIB_SX126X_LNA_RNG_ENABLED 0b00000000 // 0 0 enabled
430 
431 // RADIOLIB_SX126X_REG_ANA_MIXER
-
432 #define RADIOLIB_SX126X_MIXER_RNG_DISABLED 0b00000001 // 7 7 random number: disabled
-
433 #define RADIOLIB_SX126X_MIXER_RNG_ENABLED 0b00000000 // 7 7 enabled
+
432 #define RADIOLIB_SX126X_MIXER_RNG_DISABLED 0b00000001 // 7 7 random number: disabled
+
433 #define RADIOLIB_SX126X_MIXER_RNG_ENABLED 0b00000000 // 7 7 enabled
434 
435 // size of the spectral scan result
-
436 #define RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE (33)
+
436 #define RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE (33)
437 
-
444 class SX126x: public PhysicalLayer {
-
445  public:
-
446  // introduce PhysicalLayer overloads
-
447  using PhysicalLayer::transmit;
-
448  using PhysicalLayer::receive;
-
449  using PhysicalLayer::startTransmit;
-
450  using PhysicalLayer::readData;
-
451 
-
457  SX126x(Module* mod);
+
443 class SX126x: public PhysicalLayer {
+
444  public:
+
445  // introduce PhysicalLayer overloads
+
446  using PhysicalLayer::transmit;
+
447  using PhysicalLayer::receive;
+
448  using PhysicalLayer::startTransmit;
+
449  using PhysicalLayer::readData;
+
450 
+
455  SX126x(Module* mod);
+
456 
+
457  Module* getMod();
458 
-
459  Module* getMod();
-
460 
-
464  bool XTAL;
+
462  bool XTAL;
+
463 
+
464  // basic methods
465 
-
466  // basic methods
-
467 
-
483  int16_t begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO = false);
-
484 
-
502  int16_t beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO = false);
-
503 
-
512  int16_t reset(bool verify = true);
-
513 
-
526  int16_t transmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
-
527 
-
538  int16_t receive(uint8_t* data, size_t len) override;
-
539 
-
547  int16_t transmitDirect(uint32_t frf = 0) override;
-
548 
-
555  int16_t receiveDirect() override;
-
556 
-
568  int16_t scanChannel(uint8_t symbolNum = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin = RADIOLIB_SX126X_CAD_PARAM_DEFAULT);
-
569 
-
577  int16_t sleep(bool retainConfig = true);
-
578 
-
584  int16_t standby() override;
-
585 
-
593  int16_t standby(uint8_t mode);
-
594 
-
595  // interrupt methods
-
596 
-
602  void setDio1Action(void (*func)(void));
-
603 
-
607  void clearDio1Action();
-
608 
-
621  int16_t startTransmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
-
622 
-
628  int16_t finishTransmit() override;
-
629 
-
646  int16_t startReceive(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE, size_t len = 0);
-
647 
-
662  int16_t startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE);
-
663 
-
679  int16_t startReceiveDutyCycleAuto(uint16_t senderPreambleLength = 0, uint16_t minSymbols = 8, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE);
-
680 
-
686  uint16_t getIrqStatus();
-
687 
-
698  int16_t readData(uint8_t* data, size_t len) override;
-
699 
-
711  int16_t startChannelScan(uint8_t symbolNum = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin = RADIOLIB_SX126X_CAD_PARAM_DEFAULT);
-
712 
-
718  int16_t getChannelScanResult();
-
719 
-
720  // configuration methods
-
721 
-
729  int16_t setBandwidth(float bw);
-
730 
-
738  int16_t setSpreadingFactor(uint8_t sf);
+
475  int16_t begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO = false);
+
476 
+
488  int16_t beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO = false);
+
489 
+
496  int16_t reset(bool verify = true);
+
497 
+
506  int16_t transmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
+
507 
+
515  int16_t receive(uint8_t* data, size_t len) override;
+
516 
+
522  int16_t transmitDirect(uint32_t frf = 0) override;
+
523 
+
529  int16_t receiveDirect() override;
+
530 
+
538  int16_t scanChannel(uint8_t symbolNum = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin = RADIOLIB_SX126X_CAD_PARAM_DEFAULT);
+
539 
+
546  int16_t sleep(bool retainConfig = true);
+
547 
+
552  int16_t standby() override;
+
553 
+
560  int16_t standby(uint8_t mode);
+
561 
+
562  // interrupt methods
+
563 
+
568  void setDio1Action(void (*func)(void));
+
569 
+
573  void clearDio1Action();
+
574 
+
583  int16_t startTransmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
+
584 
+
589  int16_t finishTransmit() override;
+
590 
+
606  int16_t startReceive(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE, size_t len = 0);
+
607 
+
618  int16_t startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE);
+
619 
+
634  int16_t startReceiveDutyCycleAuto(uint16_t senderPreambleLength = 0, uint16_t minSymbols = 8, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE);
+
635 
+
640  uint16_t getIrqStatus();
+
641 
+
649  int16_t readData(uint8_t* data, size_t len) override;
+
650 
+
659  int16_t startChannelScan(uint8_t symbolNum = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin = RADIOLIB_SX126X_CAD_PARAM_DEFAULT);
+
660 
+
665  int16_t getChannelScanResult();
+
666 
+
667  // configuration methods
+
668 
+
674  int16_t setBandwidth(float bw);
+
675 
+
681  int16_t setSpreadingFactor(uint8_t sf);
+
682 
+
688  int16_t setCodingRate(uint8_t cr);
+
689 
+
696  int16_t setSyncWord(uint8_t syncWord, uint8_t controlBits = 0x44);
+
697 
+
703  int16_t setCurrentLimit(float currentLimit);
+
704 
+
709  float getCurrentLimit();
+
710 
+
716  int16_t setPreambleLength(uint16_t preambleLength);
+
717 
+
723  int16_t setFrequencyDeviation(float freqDev) override;
+
724 
+
730  int16_t setBitRate(float br);
+
731 
+
738  int16_t setRxBandwidth(float rxBw);
739 
-
747  int16_t setCodingRate(uint8_t cr);
-
748 
-
758  int16_t setSyncWord(uint8_t syncWord, uint8_t controlBits = 0x44);
-
759 
-
767  int16_t setCurrentLimit(float currentLimit);
-
768 
-
774  float getCurrentLimit();
+
748  int16_t setRxBoostedGainMode(bool rxbgm, bool persist = true);
+
749 
+
757  int16_t setDataShaping(uint8_t sh) override;
+
758 
+
765  int16_t setSyncWord(uint8_t* syncWord, uint8_t len);
+
766 
+
774  int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
775 
-
783  int16_t setPreambleLength(uint16_t preambleLength);
-
784 
-
792  int16_t setFrequencyDeviation(float freqDev) override;
-
793 
-
801  int16_t setBitRate(float br);
-
802 
-
810  int16_t setRxBandwidth(float rxBw);
-
811 
-
821  int16_t setRxBoostedGainMode(bool rxbgm, bool persist = true);
-
822 
-
832  int16_t setDataShaping(uint8_t sh) override;
-
833 
-
843  int16_t setSyncWord(uint8_t* syncWord, uint8_t len);
-
844 
-
854  int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
-
855 
-
863  int16_t setNodeAddress(uint8_t nodeAddr);
-
864 
-
872  int16_t setBroadcastAddress(uint8_t broadAddr);
-
873 
-
879  int16_t disableAddressFiltering();
-
880 
-
894  int16_t setCRC(uint8_t len, uint16_t initial = 0x1D0F, uint16_t polynomial = 0x1021, bool inverted = true);
+
781  int16_t setNodeAddress(uint8_t nodeAddr);
+
782 
+
789  int16_t setBroadcastAddress(uint8_t broadAddr);
+
790 
+
795  int16_t disableAddressFiltering();
+
796 
+
805  int16_t setCRC(uint8_t len, uint16_t initial = 0x1D0F, uint16_t polynomial = 0x1021, bool inverted = true);
+
806 
+
814  int16_t setWhitening(bool enabled, uint16_t initial = 0x0100);
+
815 
+
825  int16_t setTCXO(float voltage, uint32_t delay = 5000);
+
826 
+
831  int16_t setDio2AsRfSwitch(bool enable = true);
+
832 
+
837  float getDataRate() const;
+
838 
+
844  float getRSSI(bool packet = true);
+
845 
+
850  float getSNR();
+
851 
+
859  float getFrequencyError();
+
860 
+
866  size_t getPacketLength(bool update = true) override;
+
867 
+
873  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
+
874 
+
880  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
+
881 
+
887  uint32_t getTimeOnAir(size_t len);
+
888 
+
894  int16_t implicitHeader(size_t len);
895 
-
905  int16_t setWhitening(bool enabled, uint16_t initial = 0x0100);
-
906 
-
917  int16_t setTCXO(float voltage, uint32_t delay = 5000);
-
918 
-
924  int16_t setDio2AsRfSwitch(bool enable = true);
-
925 
-
931  float getDataRate() const;
-
932 
-
940  float getRSSI(bool packet = true);
-
941 
-
947  float getSNR();
-
948 
-
956  float getFrequencyError();
+
900  int16_t explicitHeader();
+
901 
+
906  int16_t setRegulatorLDO();
+
907 
+
912  int16_t setRegulatorDCDC();
+
913 
+
919  int16_t setEncoding(uint8_t encoding) override;
+
920 
+
922  void setRfSwitchPins(uint32_t rxEn, uint32_t txEn);
+
923 
+
925  void setRfSwitchTable(const uint32_t (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
+
926 
+
935  int16_t forceLDRO(bool enable);
+
936 
+
943  int16_t autoLDRO();
+
944 
+
949  uint8_t randomByte();
+
950 
+
956  int16_t invertIQ(bool enable);
957 
-
965  size_t getPacketLength(bool update = true) override;
-
966 
-
974  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
-
975 
-
983  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
-
984 
-
992  uint32_t getTimeOnAir(size_t len);
-
993 
-
1001  int16_t implicitHeader(size_t len);
+
958  #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
+
963  void setDirectAction(void (*func)(void));
+
964 
+
969  void readBit(uint32_t pin);
+
970  #endif
+
971 
+
981  int16_t uploadPatch(const uint32_t* patch, size_t len, bool nonvolatile = true);
+
982 
+
990  int16_t spectralScanStart(uint16_t numSamples, uint8_t window = RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval = RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US);
+
991 
+
995  void spectralScanAbort();
+
996 
+
1001  int16_t spectralScanGetStatus();
1002 
-
1008  int16_t explicitHeader();
+
1008  int16_t spectralScanGetResult(uint16_t* results);
1009 
-
1015  int16_t setRegulatorLDO();
-
1016 
-
1022  int16_t setRegulatorDCDC();
-
1023 
-
1031  int16_t setEncoding(uint8_t encoding) override;
-
1032 
-
1034  void setRfSwitchPins(uint32_t rxEn, uint32_t txEn);
-
1035 
-
1037  void setRfSwitchTable(const uint32_t (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
-
1038 
-
1047  int16_t forceLDRO(bool enable);
-
1048 
-
1055  int16_t autoLDRO();
-
1056 
-
1062  uint8_t randomByte();
-
1063 
-
1071  int16_t invertIQ(bool invertIQ);
-
1072 
-
1073  #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
-
1079  void setDirectAction(void (*func)(void));
-
1080 
-
1086  void readBit(uint32_t pin);
-
1087  #endif
-
1088 
-
1102  int16_t uploadPatch(const uint32_t* patch, size_t len, bool nonvolatile = true);
-
1103 
-
1115  int16_t spectralScanStart(uint16_t numSamples, uint8_t window = RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval = RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US);
-
1116 
-
1120  void spectralScanAbort();
-
1121 
-
1127  int16_t spectralScanGetStatus();
-
1128 
-
1136  int16_t spectralScanGetResult(uint16_t* results);
-
1137 
-
1138 #if !defined(RADIOLIB_GODMODE)
-
1139  protected:
-
1140 #endif
-
1141  // SX126x SPI command implementations
-
1142  int16_t setFs();
-
1143  int16_t setTx(uint32_t timeout = 0);
-
1144  int16_t setRx(uint32_t timeout);
-
1145  int16_t setCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
-
1146  int16_t setPaConfig(uint8_t paDutyCycle, uint8_t deviceSel, uint8_t hpMax = RADIOLIB_SX126X_PA_CONFIG_HP_MAX, uint8_t paLut = RADIOLIB_SX126X_PA_CONFIG_PA_LUT);
-
1147  int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
-
1148  int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
-
1149  int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
-
1150  int16_t readBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
-
1151  int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = RADIOLIB_SX126X_IRQ_NONE, uint16_t dio3Mask = RADIOLIB_SX126X_IRQ_NONE);
-
1152  virtual int16_t clearIrqStatus(uint16_t clearIrqParams = RADIOLIB_SX126X_IRQ_ALL);
-
1153  int16_t setRfFrequency(uint32_t frf);
-
1154  int16_t calibrateImage(uint8_t* data);
-
1155  uint8_t getPacketType();
-
1156  int16_t setTxParams(uint8_t power, uint8_t rampTime = RADIOLIB_SX126X_PA_RAMP_200U);
-
1157  int16_t setModulationParams(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
-
1158  int16_t setModulationParamsFSK(uint32_t br, uint8_t pulseShape, uint8_t rxBw, uint32_t freqDev);
-
1159  int16_t setPacketParams(uint16_t preambleLength, uint8_t crcType, uint8_t payloadLength, uint8_t headerType, uint8_t invertIQ);
-
1160  int16_t setPacketParamsFSK(uint16_t preambleLength, uint8_t crcType, uint8_t syncWordLength, uint8_t addrComp, uint8_t whitening, uint8_t packetType = RADIOLIB_SX126X_GFSK_PACKET_VARIABLE, uint8_t payloadLength = 0xFF, uint8_t preambleDetectorLength = RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16);
-
1161  int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
-
1162  int16_t setRegulatorMode(uint8_t mode);
-
1163  uint8_t getStatus();
-
1164  uint32_t getPacketStatus();
-
1165  uint16_t getDeviceErrors();
-
1166  int16_t clearDeviceErrors();
-
1167 
-
1168  int16_t startReceiveCommon(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE);
-
1169  int16_t setFrequencyRaw(float freq);
-
1170  int16_t setPacketMode(uint8_t mode, uint8_t len);
-
1171  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
-
1172  int16_t directMode();
-
1173  int16_t packetMode();
-
1174 
-
1175  // fixes to errata
-
1176  int16_t fixSensitivity();
-
1177  int16_t fixPaClamping(bool enable = true);
-
1178  int16_t fixImplicitTimeout();
-
1179  int16_t fixInvertedIQ(uint8_t iqConfig);
-
1180 
-
1181 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
-
1182  protected:
-
1183 #endif
-
1184  Module* _mod;
-
1185 
-
1186  // common low-level SPI interface
-
1187  static int16_t SPIparseStatus(uint8_t in);
-
1188 
-
1189 #if !defined(RADIOLIB_GODMODE)
-
1190  protected:
-
1191 #endif
-
1192 
-
1193  uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
-
1194  uint16_t _preambleLength = 0;
-
1195  float _bwKhz = 0;
-
1196  bool _ldroAuto = true;
-
1197 
-
1198  uint32_t _br = 0, _freqDev = 0;
-
1199  uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
-
1200  uint16_t _preambleLengthFSK = 0;
-
1201  float _rxBwKhz = 0;
-
1202 
-
1203  float _dataRate = 0;
-
1204 
-
1205  uint32_t _tcxoDelay = 0;
-
1206 
-
1207  size_t _implicitLen = 0;
-
1208  uint8_t _invertIQ = RADIOLIB_SX126X_LORA_IQ_STANDARD;
-
1209  const char* _chipType;
-
1210 
-
1211  // Allow subclasses to define different TX modes
-
1212  uint8_t _tx_mode = Module::MODE_TX;
-
1213 
-
1214  int16_t config(uint8_t modem);
-
1215  bool findChip(const char* verStr);
-
1216 };
-
1217 
-
1218 #endif
-
1219 
-
1220 #endif
+
1010 #if !defined(RADIOLIB_GODMODE)
+
1011  protected:
+
1012 #endif
+
1013  // SX126x SPI command implementations
+
1014  int16_t setFs();
+
1015  int16_t setTx(uint32_t timeout = 0);
+
1016  int16_t setRx(uint32_t timeout);
+
1017  int16_t setCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
+
1018  int16_t setPaConfig(uint8_t paDutyCycle, uint8_t deviceSel, uint8_t hpMax = RADIOLIB_SX126X_PA_CONFIG_HP_MAX, uint8_t paLut = RADIOLIB_SX126X_PA_CONFIG_PA_LUT);
+
1019  int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+
1020  int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+
1021  int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
+
1022  int16_t readBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
+
1023  int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = RADIOLIB_SX126X_IRQ_NONE, uint16_t dio3Mask = RADIOLIB_SX126X_IRQ_NONE);
+
1024  virtual int16_t clearIrqStatus(uint16_t clearIrqParams = RADIOLIB_SX126X_IRQ_ALL);
+
1025  int16_t setRfFrequency(uint32_t frf);
+
1026  int16_t calibrateImage(uint8_t* data);
+
1027  uint8_t getPacketType();
+
1028  int16_t setTxParams(uint8_t power, uint8_t rampTime = RADIOLIB_SX126X_PA_RAMP_200U);
+
1029  int16_t setModulationParams(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
+
1030  int16_t setModulationParamsFSK(uint32_t br, uint8_t pulseShape, uint8_t rxBw, uint32_t freqDev);
+
1031  int16_t setPacketParams(uint16_t preambleLen, uint8_t crcType, uint8_t payloadLen, uint8_t hdrType, uint8_t invertIQ);
+
1032  int16_t setPacketParamsFSK(uint16_t preambleLen, uint8_t crcType, uint8_t syncWordLen, uint8_t addrCmp, uint8_t whiten, uint8_t packType = RADIOLIB_SX126X_GFSK_PACKET_VARIABLE, uint8_t payloadLen = 0xFF, uint8_t preambleDetectorLen = RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16);
+
1033  int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
+
1034  int16_t setRegulatorMode(uint8_t mode);
+
1035  uint8_t getStatus();
+
1036  uint32_t getPacketStatus();
+
1037  uint16_t getDeviceErrors();
+
1038  int16_t clearDeviceErrors();
+
1039 
+
1040  int16_t startReceiveCommon(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE);
+
1041  int16_t setFrequencyRaw(float freq);
+
1042  int16_t setPacketMode(uint8_t mode, uint8_t len);
+
1043  int16_t setHeaderType(uint8_t hdrType, size_t len = 0xFF);
+
1044  int16_t directMode();
+
1045  int16_t packetMode();
+
1046 
+
1047  // fixes to errata
+
1048  int16_t fixSensitivity();
+
1049  int16_t fixPaClamping(bool enable = true);
+
1050  int16_t fixImplicitTimeout();
+
1051  int16_t fixInvertedIQ(uint8_t iqConfig);
+
1052 
+
1053 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
1054  protected:
+
1055 #endif
+
1056  Module* mod;
+
1057 
+
1058  // common low-level SPI interface
+
1059  static int16_t SPIparseStatus(uint8_t in);
+
1060 
+
1061 #if !defined(RADIOLIB_GODMODE)
+
1062  protected:
+
1063 #endif
+
1064 
+
1065  uint8_t bandwidth = 0, spreadingFactor = 0, codingRate = 0, ldrOptimize = 0, crcTypeLoRa = 0, headerType = 0;
+
1066  uint16_t preambleLengthLoRa = 0;
+
1067  float bandwidthKhz = 0;
+
1068  bool ldroAuto = true;
+
1069 
+
1070  uint32_t bitRate = 0, freqencyDev = 0;
+
1071  uint8_t rxBandwidth = 0, pulseShape = 0, crcTypeFSK = 0, syncWordLength = 0, addrComp = 0, whitening = 0, packetType = 0;
+
1072  uint16_t preambleLengthFSK = 0;
+
1073  float rxBandwidthKhz = 0;
+
1074 
+
1075  float dataRateMeasured = 0;
+
1076 
+
1077  uint32_t tcxoDelay = 0;
+
1078 
+
1079  size_t implicitLen = 0;
+
1080  uint8_t invertIQEnabled = RADIOLIB_SX126X_LORA_IQ_STANDARD;
+
1081  const char* chipType;
+
1082 
+
1083  // Allow subclasses to define different TX modes
+
1084  uint8_t txMode = Module::MODE_TX;
+
1085 
+
1086  int16_t config(uint8_t modem);
+
1087  bool findChip(const char* verStr);
+
1088 };
+
1089 
+
1090 #endif
+
1091 
+
1092 #endif
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:28
Module::RFSWITCH_MAX_PINS
static const size_t RFSWITCH_MAX_PINS
The maximum number of pins supported by the RF switch code.
Definition: Module.h:39
Module::MODE_TX
@ MODE_TX
Definition: Module.h:68
@@ -776,73 +776,73 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
PhysicalLayer::getRSSI
virtual float getRSSI()
Gets RSSI (Recorded Signal Strength Indicator) of the last received packet.
Definition: PhysicalLayer.cpp:254
PhysicalLayer::receive
virtual int16_t receive(uint8_t *data, size_t len)
Binary receive method. Must be implemented in module class.
Definition: PhysicalLayer.cpp:112
PhysicalLayer::sleep
virtual int16_t sleep()
Sets module to sleep.
Definition: PhysicalLayer.cpp:118
-
SX126x
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:444
-
SX126x::getFrequencyError
float getFrequencyError()
Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x im...
Definition: SX126x.cpp:1253
+
SX126x
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:443
+
SX126x::getFrequencyError
float getFrequencyError()
Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x im...
Definition: SX126x.cpp:1256
SX126x::startReceiveDutyCycleAuto
int16_t startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)
Calls startReceiveDutyCycle with rxPeriod and sleepPeriod set so the unit shouldn't miss any messages...
Definition: SX126x.cpp:578
-
SX126x::setRfSwitchPins
void setRfSwitchPins(uint32_t rxEn, uint32_t txEn)
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1362
+
SX126x::setRfSwitchPins
void setRfSwitchPins(uint32_t rxEn, uint32_t txEn)
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1365
SX126x::setDio1Action
void setDio1Action(void(*func)(void))
Sets interrupt service routine to call when DIO1 activates.
Definition: SX126x.cpp:460
SX126x::startReceive
int16_t startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)
Interrupt-driven receive method. DIO1 will be activated when full packet is received.
Definition: SX126x.cpp:537
SX126x::startChannelScan
int16_t startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)
Interrupt-driven channel activity detection method. DIO0 will be activated when LoRa preamble is dete...
Definition: SX126x.cpp:686
-
SX126x::setDataShaping
int16_t setDataShaping(uint8_t sh) override
Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPI...
Definition: SX126x.cpp:998
-
SX126x::setRegulatorLDO
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: SX126x.cpp:1350
-
SX126x::uploadPatch
int16_t uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)
Upload binary patch into the SX126x device RAM. Patch is needed to e.g., enable spectral scan and mus...
Definition: SX126x.cpp:1444
-
SX126x::setEncoding
int16_t setEncoding(uint8_t encoding) override
Sets transmission encoding. Available in FSK mode only. Serves only as alias for PhysicalLayer compat...
Definition: SX126x.cpp:1358
-
SX126x::setRfSwitchTable
void setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1366
+
SX126x::setDataShaping
int16_t setDataShaping(uint8_t sh) override
Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPI...
Definition: SX126x.cpp:1001
+
SX126x::setRegulatorLDO
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: SX126x.cpp:1353
+
SX126x::invertIQ
int16_t invertIQ(bool enable)
Enable/disable inversion of the I and Q signals.
Definition: SX126x.cpp:1423
+
SX126x::uploadPatch
int16_t uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)
Upload binary patch into the SX126x device RAM. Patch is needed to e.g., enable spectral scan and mus...
Definition: SX126x.cpp:1447
+
SX126x::setEncoding
int16_t setEncoding(uint8_t encoding) override
Sets transmission encoding. Available in FSK mode only. Serves only as alias for PhysicalLayer compat...
Definition: SX126x.cpp:1361
+
SX126x::setRfSwitchTable
void setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1369
SX126x::beginFSK
int16_t beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)
Initialization method for FSK modem.
Definition: SX126x.cpp:97
SX126x::setBandwidth
int16_t setBandwidth(float bw)
Sets LoRa bandwidth. Allowed values are 7.8, 10.4, 15.6, 20.8, 31.25, 41.7, 62.5, 125....
Definition: SX126x.cpp:733
SX126x::readData
virtual int16_t readData(uint8_t *data, size_t len)
Reads data that was received after calling startReceive method.
Definition: PhysicalLayer.cpp:205
-
SX126x::explicitHeader
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX126x.cpp:1346
-
SX126x::forceLDRO
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1370
+
SX126x::explicitHeader
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX126x.cpp:1349
+
SX126x::forceLDRO
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1373
SX126x::transmit
int16_t transmit(const char *str, uint8_t addr=0)
C-string transmit method.
Definition: PhysicalLayer.cpp:52
-
SX126x::setNodeAddress
int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: SX126x.cpp:1078
-
SX126x::spectralScanGetStatus
int16_t spectralScanGetStatus()
Read the status of spectral scan.
Definition: SX126x.cpp:1511
-
SX126x::setTCXO
int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: SX126x.cpp:1531
-
SX126x::setRxBandwidth
int16_t setRxBandwidth(float rxBw)
Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19....
Definition: SX126x.cpp:898
-
SX126x::setRegulatorDCDC
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: SX126x.cpp:1354
+
SX126x::setNodeAddress
int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: SX126x.cpp:1081
+
SX126x::spectralScanGetStatus
int16_t spectralScanGetStatus()
Read the status of spectral scan.
Definition: SX126x.cpp:1514
+
SX126x::setTCXO
int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: SX126x.cpp:1534
+
SX126x::setRxBandwidth
int16_t setRxBandwidth(float rxBw)
Sets FSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19....
Definition: SX126x.cpp:901
+
SX126x::setRegulatorDCDC
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: SX126x.cpp:1357
SX126x::startReceiveDutyCycle
int16_t startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)
Interrupt-driven receive method where the device mostly sleeps and periodically wakes to listen....
Definition: SX126x.cpp:551
-
SX126x::setWhitening
int16_t setWhitening(bool enabled, uint16_t initial=0x0100)
Sets FSK whitening parameters.
Definition: SX126x.cpp:1182
+
SX126x::setWhitening
int16_t setWhitening(bool enabled, uint16_t initial=0x0100)
Sets FSK whitening parameters.
Definition: SX126x.cpp:1185
SX126x::clearDio1Action
void clearDio1Action()
Clears interrupt service routine to call when DIO1 activates.
Definition: SX126x.cpp:464
SX126x::scanChannel
int16_t scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)
Performs scan for LoRa transmission in the current channel. Detects both preamble and payload.
Definition: SX126x.cpp:418
SX126x::standby
int16_t standby() override
Sets the module to standby mode (overload for PhysicalLayer compatibility, uses 13 MHz RC oscillator)...
Definition: SX126x.cpp:448
SX126x::setFrequencyDeviation
int16_t setFrequencyDeviation(float freqDev) override
Sets FSK frequency deviation. Allowed values range from 0.0 to 200.0 kHz.
Definition: SX126x.cpp:856
SX126x::setBitRate
int16_t setBitRate(float br)
Sets FSK bit rate. Allowed values range from 0.6 to 300.0 kbps.
Definition: SX126x.cpp:880
-
SX126x::getTimeOnAir
uint32_t getTimeOnAir(size_t len)
Get expected time-on-air for a given size of payload.
Definition: SX126x.cpp:1307
-
SX126x::randomByte
uint8_t randomByte()
Get one truly random byte from RSSI noise.
Definition: SX126x.cpp:1391
-
SX126x::spectralScanAbort
void spectralScanAbort()
Abort an ongoing spectral scan.
Definition: SX126x.cpp:1507
+
SX126x::getTimeOnAir
uint32_t getTimeOnAir(size_t len)
Get expected time-on-air for a given size of payload.
Definition: SX126x.cpp:1310
+
SX126x::randomByte
uint8_t randomByte()
Get one truly random byte from RSSI noise.
Definition: SX126x.cpp:1394
+
SX126x::spectralScanAbort
void spectralScanAbort()
Abort an ongoing spectral scan.
Definition: SX126x.cpp:1510
SX126x::receiveDirect
int16_t receiveDirect() override
Starts direct mode reception. Only implemented for PhysicalLayer compatibility, as SX126x series does...
Definition: SX126x.cpp:344
-
SX126x::spectralScanStart
int16_t spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)
Start spectral scan. Requires binary path to be uploaded.
Definition: SX126x.cpp:1491
-
SX126x::readBit
void readBit(uint32_t pin)
Function to read and process data bit in direct reception mode.
Definition: SX126x.cpp:1439
+
SX126x::spectralScanStart
int16_t spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)
Start spectral scan. Requires binary path to be uploaded.
Definition: SX126x.cpp:1494
+
SX126x::readBit
void readBit(uint32_t pin)
Function to read and process data bit in direct reception mode.
Definition: SX126x.cpp:1442
SX126x::finishTransmit
int16_t finishTransmit() override
Clean up after transmission is done.
Definition: SX126x.cpp:529
SX126x::setCurrentLimit
int16_t setCurrentLimit(float currentLimit)
Sets current protection limit. Can be set in 2.5 mA steps.
Definition: SX126x.cpp:821
-
SX126x::setRxBoostedGainMode
int16_t setRxBoostedGainMode(bool rxbgm, bool persist=true)
Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9....
Definition: SX126x.cpp:961
+
SX126x::setRxBoostedGainMode
int16_t setRxBoostedGainMode(bool rxbgm, bool persist=true)
Enables or disables Rx Boosted Gain mode as described in SX126x datasheet section 9....
Definition: SX126x.cpp:964
SX126x::transmitDirect
int16_t transmitDirect(uint32_t frf=0) override
Starts direct mode transmission.
Definition: SX126x.cpp:328
SX126x::startTransmit
int16_t startTransmit(const char *str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:145
-
SX126x::variablePacketLengthMode
int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)
Set modem in variable packet length mode. Available in FSK mode only.
Definition: SX126x.cpp:1303
+
SX126x::variablePacketLengthMode
int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)
Set modem in variable packet length mode. Available in FSK mode only.
Definition: SX126x.cpp:1306
SX126x::begin
int16_t begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)
Initialization method for LoRa modem.
Definition: SX126x.cpp:15
-
SX126x::setCRC
int16_t setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)
Sets CRC configuration.
Definition: SX126x.cpp:1123
-
SX126x::getIrqStatus
uint16_t getIrqStatus()
Reads the current IRQ status.
Definition: SX126x.cpp:1687
+
SX126x::setCRC
int16_t setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)
Sets CRC configuration.
Definition: SX126x.cpp:1126
+
SX126x::getIrqStatus
uint16_t getIrqStatus()
Reads the current IRQ status.
Definition: SX126x.cpp:1690
SX126x::reset
int16_t reset(bool verify=true)
Reset method. Will reset the chip to the default state using RST pin.
Definition: SX126x.cpp:191
SX126x::setSyncWord
int16_t setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)
Sets LoRa sync word.
Definition: SX126x.cpp:810
SX126x::getCurrentLimit
float getCurrentLimit()
Reads current protection limit.
Definition: SX126x.cpp:834
SX126x::SX126x
SX126x(Module *mod)
Default constructor.
Definition: SX126x.cpp:6
SX126x::setPreambleLength
int16_t setPreambleLength(uint16_t preambleLength)
Sets preamble length for LoRa or FSK modem. Allowed values range from 1 to 65535.
Definition: SX126x.cpp:843
SX126x::receive
virtual int16_t receive(uint8_t *data, size_t len)
Binary receive method. Must be implemented in module class.
Definition: PhysicalLayer.cpp:112
-
SX126x::autoLDRO
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1382
-
SX126x::setDirectAction
void setDirectAction(void(*func)(void))
Set interrupt service routine function to call when data bit is receveid in direct mode.
Definition: SX126x.cpp:1435
-
SX126x::fixedPacketLengthMode
int16_t fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)
Set modem in fixed packet length mode. Available in FSK mode only.
Definition: SX126x.cpp:1299
-
SX126x::setBroadcastAddress
int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: SX126x.cpp:1095
+
SX126x::autoLDRO
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1385
+
SX126x::setDirectAction
void setDirectAction(void(*func)(void))
Set interrupt service routine function to call when data bit is receveid in direct mode.
Definition: SX126x.cpp:1438
+
SX126x::fixedPacketLengthMode
int16_t fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)
Set modem in fixed packet length mode. Available in FSK mode only.
Definition: SX126x.cpp:1302
+
SX126x::setBroadcastAddress
int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: SX126x.cpp:1098
SX126x::getChannelScanResult
int16_t getChannelScanResult()
Read the channel scan result.
Definition: SX126x.cpp:712
-
SX126x::getPacketLength
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: SX126x.cpp:1286
-
SX126x::setSyncBits
int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen)
Sets FSK sync word in the form of array of up to 8 bytes.
Definition: SX126x.cpp:1051
-
SX126x::getDataRate
float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: SX126x.cpp:1219
-
SX126x::XTAL
bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: SX126x.h:464
-
SX126x::invertIQ
int16_t invertIQ(bool invertIQ)
Enable/disable inversion of the I and Q signals.
Definition: SX126x.cpp:1420
-
SX126x::implicitHeader
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX126x.cpp:1342
-
SX126x::getSNR
float getSNR()
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: SX126x.cpp:1237
-
SX126x::setDio2AsRfSwitch
int16_t setDio2AsRfSwitch(bool enable=true)
Set DIO2 to function as RF switch (default in Semtech example designs).
Definition: SX126x.cpp:1584
-
SX126x::spectralScanGetResult
int16_t spectralScanGetResult(uint16_t *results)
Read the result of spectral scan.
Definition: SX126x.cpp:1519
+
SX126x::getPacketLength
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: SX126x.cpp:1289
+
SX126x::setSyncBits
int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen)
Sets FSK sync word in the form of array of up to 8 bytes.
Definition: SX126x.cpp:1054
+
SX126x::getDataRate
float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: SX126x.cpp:1222
+
SX126x::XTAL
bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: SX126x.h:462
+
SX126x::implicitHeader
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX126x.cpp:1345
+
SX126x::getSNR
float getSNR()
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: SX126x.cpp:1240
+
SX126x::setDio2AsRfSwitch
int16_t setDio2AsRfSwitch(bool enable=true)
Set DIO2 to function as RF switch (default in Semtech example designs).
Definition: SX126x.cpp:1587
+
SX126x::spectralScanGetResult
int16_t spectralScanGetResult(uint16_t *results)
Read the result of spectral scan.
Definition: SX126x.cpp:1522
SX126x::setSpreadingFactor
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa spreading factor. Allowed values range from 5 to 12.
Definition: SX126x.cpp:784
-
SX126x::disableAddressFiltering
int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: SX126x.cpp:1112
+
SX126x::disableAddressFiltering
int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: SX126x.cpp:1115
SX126x::setCodingRate
int16_t setCodingRate(uint8_t cr)
Sets LoRa coding rate denominator. Allowed values range from 5 to 8.
Definition: SX126x.cpp:797
Module::RfSwitchMode_t
Definition: Module.h:46
diff --git a/class_l_l_c_c68-members.html b/class_l_l_c_c68-members.html index 48be28e5..7b825d2d 100644 --- a/class_l_l_c_c68-members.html +++ b/class_l_l_c_c68-members.html @@ -95,100 +95,99 @@ $(document).ready(function(){initNavTree('class_l_l_c_c68.html',''); initResizab SX126x::begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)SX126x beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)SX1262 SX126x::beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)SX126x - beginLRFHSS(float freq=434.0, float tcxoVoltage=0, bool useRegulatorLDO=false) (defined in SX1262)SX1262 - clearDio1Action()SX126xvirtual - disableAddressFiltering()SX126x - dropSync()PhysicalLayer - explicitHeader()SX126x - finishTransmit() overrideSX126xvirtual - fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x - forceLDRO(bool enable)SX126x - getChannelScanResult()SX126x - getCurrentLimit()SX126x - getDataRate() constSX126x - getFreqStep() constPhysicalLayer - getFrequencyError()SX126x - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI(bool packet=true)SX126x - PhysicalLayer::getRSSI()PhysicalLayervirtual - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - invertIQ(bool invertIQ)SX126x - LLCC68(Module *mod)LLCC68 - PhysicalLayer(float step, size_t maxLen)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(uint32_t pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(uint8_t *data, size_t len)SX126x - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(uint8_t *data, size_t len)SX126x - receiveDirect() overrideSX126xvirtual - reset(bool verify=true)SX126x - scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x - setBandwidth(float bw)LLCC68 - setBitRate(float br)SX126xvirtual - setBroadcastAddress(uint8_t broadAddr)SX126x - setCodingRate(uint8_t cr)SX126x - setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)SX126x - setCurrentLimit(float currentLimit)SX126x - setDataShaping(uint8_t sh) overrideSX126xvirtual - setDio1Action(void(*func)(void))SX126xvirtual - setDio2AsRfSwitch(bool enable=true)SX126x - setDIOMapping(uint32_t pin, uint32_t value)PhysicalLayervirtual - setDirectAction(void(*func)(void))SX126xvirtual - setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer - setEncoding(uint8_t encoding) overrideSX126xvirtual - setFrequency(float freq)SX1262virtual - setFrequency(float freq, bool calibrate)SX1262 - setFrequencyDeviation(float freqDev) overrideSX126xvirtual - setNodeAddress(uint8_t nodeAddr)SX126x - setOutputPower(int8_t power)SX1262virtual - setPreambleLength(uint16_t preambleLength)SX126x - setRegulatorDCDC()SX126x - setRegulatorLDO()SX126x - setRfSwitchPins(uint32_t rxEn, uint32_t txEn)SX126x - setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x - setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x - setSpreadingFactor(uint8_t sf)LLCC68 - setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x - setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x - setSyncWord(uint8_t *syncWord, uint8_t len)SX126x - setTCXO(float voltage, uint32_t delay=5000)SX126x - setWhitening(bool enabled, uint16_t initial=0x0100)SX126x - sleep(bool retainConfig=true)SX126x - PhysicalLayer::sleep()PhysicalLayervirtual - spectralScanAbort()SX126x - spectralScanGetResult(uint16_t *results)SX126x - spectralScanGetStatus()SX126x - spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)SX126x - standby() overrideSX126xvirtual - standby(uint8_t mode)SX126xvirtual - startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x - startDirect()PhysicalLayer - startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)SX126xvirtual - startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x - startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer - SX1262(Module *mod)SX1262 - SX126x(Module *mod)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(const char *str, uint8_t addr=0)PhysicalLayer - transmitDirect(uint32_t frf=0) overrideSX126xvirtual - uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)SX126x - variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x - XTALSX126x + clearDio1Action()SX126xvirtual + disableAddressFiltering()SX126x + dropSync()PhysicalLayer + explicitHeader()SX126x + finishTransmit() overrideSX126xvirtual + fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x + forceLDRO(bool enable)SX126x + getChannelScanResult()SX126x + getCurrentLimit()SX126x + getDataRate() constSX126x + getFreqStep() constPhysicalLayer + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI(bool packet=true)SX126x + PhysicalLayer::getRSSI()PhysicalLayervirtual + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + invertIQ(bool enable)SX126x + LLCC68(Module *mod)LLCC68 + PhysicalLayer(float step, size_t maxLen)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(uint32_t pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(uint8_t *data, size_t len)SX126x + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(uint8_t *data, size_t len)SX126x + receiveDirect() overrideSX126xvirtual + reset(bool verify=true)SX126x + scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x + setBandwidth(float bw)LLCC68 + setBitRate(float br)SX126xvirtual + setBroadcastAddress(uint8_t broadAddr)SX126x + setCodingRate(uint8_t cr)SX126x + setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)SX126x + setCurrentLimit(float currentLimit)SX126x + setDataShaping(uint8_t sh) overrideSX126xvirtual + setDio1Action(void(*func)(void))SX126xvirtual + setDio2AsRfSwitch(bool enable=true)SX126x + setDIOMapping(uint32_t pin, uint32_t value)PhysicalLayervirtual + setDirectAction(void(*func)(void))SX126xvirtual + setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer + setEncoding(uint8_t encoding) overrideSX126xvirtual + setFrequency(float freq)SX1262virtual + setFrequency(float freq, bool calibrate)SX1262 + setFrequencyDeviation(float freqDev) overrideSX126xvirtual + setNodeAddress(uint8_t nodeAddr)SX126x + setOutputPower(int8_t power)SX1262virtual + setPreambleLength(uint16_t preambleLength)SX126x + setRegulatorDCDC()SX126x + setRegulatorLDO()SX126x + setRfSwitchPins(uint32_t rxEn, uint32_t txEn)SX126x + setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x + setRxBandwidth(float rxBw)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x + setSpreadingFactor(uint8_t sf)LLCC68 + setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x + setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x + setSyncWord(uint8_t *syncWord, uint8_t len)SX126x + setTCXO(float voltage, uint32_t delay=5000)SX126x + setWhitening(bool enabled, uint16_t initial=0x0100)SX126x + sleep(bool retainConfig=true)SX126x + PhysicalLayer::sleep()PhysicalLayervirtual + spectralScanAbort()SX126x + spectralScanGetResult(uint16_t *results)SX126x + spectralScanGetStatus()SX126x + spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)SX126x + standby() overrideSX126xvirtual + standby(uint8_t mode)SX126xvirtual + startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x + startDirect()PhysicalLayer + startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)SX126xvirtual + startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x + startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer + SX1262(Module *mod)SX1262 + SX126x(Module *mod)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(const char *str, uint8_t addr=0)PhysicalLayer + transmitDirect(uint32_t frf=0) overrideSX126xvirtual + uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)SX126x + variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x + XTALSX126x diff --git a/class_l_l_c_c68.html b/class_l_l_c_c68.html index b8c22911..a8e18ca7 100644 --- a/class_l_l_c_c68.html +++ b/class_l_l_c_c68.html @@ -130,9 +130,6 @@ Public Member Functions int16_t beginFSK (float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)  Initialization method for FSK modem. More...
  - -int16_t beginLRFHSS (float freq=434.0, float tcxoVoltage=0, bool useRegulatorLDO=false) -  int16_t setFrequency (float freq)  Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz. More...
  @@ -333,9 +330,9 @@ void uint8_t randomByte ()  Get one truly random byte from RSSI noise. More...
  -int16_t invertIQ (bool invertIQ) - Enable/disable inversion of the I and Q signals. More...
-  +int16_t invertIQ (bool enable) + Enable/disable inversion of the I and Q signals. More...
+  void setDirectAction (void(*func)(void))  Set interrupt service routine function to call when data bit is receveid in direct mode. More...
  @@ -530,15 +527,15 @@ bool 
Parameters
- - - - - - - - - + + + + + + + + +
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
bwLoRa bandwidth in kHz. Defaults to 125.0 kHz.
sfLoRa spreading factor. Defaults to 9.
crLoRa coding rate denominator. Defaults to 7 (coding rate 4/7).
syncWord1-byte LoRa sync word. Defaults to RADIOLIB_SX126X_SYNC_WORD_PRIVATE (0x12).
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthLoRa preamble length in symbols. Defaults to 8 symbols.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
bwLoRa bandwidth in kHz. Defaults to 125.0 kHz.
sfLoRa spreading factor. Defaults to 9.
crLoRa coding rate denominator. Defaults to 7 (coding rate 4/7).
syncWord1-byte LoRa sync word. Defaults to RADIOLIB_SX126X_SYNC_WORD_PRIVATE (0x12).
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthLoRa preamble length in symbols. Defaults to 8 symbols.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
@@ -565,7 +562,7 @@ bool 
Parameters
- +
bwLoRa bandwidth to be set in kHz.
bwLoRa bandwidth to be set in kHz.
@@ -592,7 +589,7 @@ bool 
Parameters
- +
sfLoRa spreading factor to be set.
sfLoRa spreading factor to be set.
diff --git a/class_s_t_m32_w_lx-members.html b/class_s_t_m32_w_lx-members.html index ad791e12..19fc312d 100644 --- a/class_s_t_m32_w_lx-members.html +++ b/class_s_t_m32_w_lx-members.html @@ -95,107 +95,106 @@ $(document).ready(function(){initNavTree('class_s_t_m32_w_lx.html',''); initResi
SX126x::begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)SX126x beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)STM32WLx SX126x::beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)SX126x - beginLRFHSS(float freq=434.0, float tcxoVoltage=0, bool useRegulatorLDO=false) (defined in SX1262)SX1262 - clearDio1Action()STM32WLxvirtual - disableAddressFiltering()SX126x - dropSync()PhysicalLayer - explicitHeader()SX126x - finishTransmit() overrideSX126xvirtual - fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x - forceLDRO(bool enable)SX126x - getChannelScanResult()SX126x - getCurrentLimit()SX126x - getDataRate() constSX126x - getFreqStep() constPhysicalLayer - getFrequencyError()SX126x - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI(bool packet=true)SX126x - PhysicalLayer::getRSSI()PhysicalLayervirtual - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - invertIQ(bool invertIQ)SX126x - MODE_END_OF_TABLE enum valueSTM32WLx - MODE_IDLE enum valueSTM32WLx - MODE_RX enum valueSTM32WLx - MODE_TX_HP enum valueSTM32WLx - MODE_TX_LP enum valueSTM32WLx - OpMode_t enum nameSTM32WLx - PhysicalLayer(float step, size_t maxLen)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(uint32_t pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(uint8_t *data, size_t len)SX126x - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(uint8_t *data, size_t len)SX126x - receiveDirect() overrideSX126xvirtual - reset(bool verify=true)SX126x - scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x - setBandwidth(float bw)SX126x - setBitRate(float br)SX126xvirtual - setBroadcastAddress(uint8_t broadAddr)SX126x - setCodingRate(uint8_t cr)SX126x - setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)SX126x - setCurrentLimit(float currentLimit)SX126x - setDataShaping(uint8_t sh) overrideSX126xvirtual - setDio1Action(void(*func)(void))STM32WLxvirtual - setDio2AsRfSwitch(bool enable=true)SX126x - setDIOMapping(uint32_t pin, uint32_t value)PhysicalLayervirtual - setDirectAction(void(*func)(void))SX126xvirtual - setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer - setEncoding(uint8_t encoding) overrideSX126xvirtual - setFrequency(float freq)SX1262virtual - setFrequency(float freq, bool calibrate)SX1262 - setFrequencyDeviation(float freqDev) overrideSX126xvirtual - setNodeAddress(uint8_t nodeAddr)SX126x - setOutputPower(int8_t power) overrideSTM32WLxvirtual - setPreambleLength(uint16_t preambleLength)SX126x - setRegulatorDCDC()SX126x - setRegulatorLDO()SX126x - setRfSwitchPins(uint32_t rxEn, uint32_t txEn)SX126x - setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])STM32WLx - SX1262::setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x - setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x - setSpreadingFactor(uint8_t sf)SX126x - setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x - setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x - setSyncWord(uint8_t *syncWord, uint8_t len)SX126x - setTCXO(float voltage, uint32_t delay=5000)SX126x - setWhitening(bool enabled, uint16_t initial=0x0100)SX126x - sleep(bool retainConfig=true)SX126x - PhysicalLayer::sleep()PhysicalLayervirtual - spectralScanAbort()SX126x - spectralScanGetResult(uint16_t *results)SX126x - spectralScanGetStatus()SX126x - spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)SX126x - standby() overrideSX126xvirtual - standby(uint8_t mode)SX126xvirtual - startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x - startDirect()PhysicalLayer - startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)SX126xvirtual - startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x - startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer - STM32WLx(STM32WLx_Module *mod)STM32WLx - SX1262(Module *mod)SX1262 - SX126x(Module *mod)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(const char *str, uint8_t addr=0)PhysicalLayer - transmitDirect(uint32_t frf=0) overrideSX126xvirtual - uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)SX126x - variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x - XTALSX126x + clearDio1Action()STM32WLxvirtual + disableAddressFiltering()SX126x + dropSync()PhysicalLayer + explicitHeader()SX126x + finishTransmit() overrideSX126xvirtual + fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x + forceLDRO(bool enable)SX126x + getChannelScanResult()SX126x + getCurrentLimit()SX126x + getDataRate() constSX126x + getFreqStep() constPhysicalLayer + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI(bool packet=true)SX126x + PhysicalLayer::getRSSI()PhysicalLayervirtual + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + invertIQ(bool enable)SX126x + MODE_END_OF_TABLE enum valueSTM32WLx + MODE_IDLE enum valueSTM32WLx + MODE_RX enum valueSTM32WLx + MODE_TX_HP enum valueSTM32WLx + MODE_TX_LP enum valueSTM32WLx + OpMode_t enum nameSTM32WLx + PhysicalLayer(float step, size_t maxLen)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(uint32_t pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(uint8_t *data, size_t len)SX126x + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(uint8_t *data, size_t len)SX126x + receiveDirect() overrideSX126xvirtual + reset(bool verify=true)SX126x + scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x + setBandwidth(float bw)SX126x + setBitRate(float br)SX126xvirtual + setBroadcastAddress(uint8_t broadAddr)SX126x + setCodingRate(uint8_t cr)SX126x + setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)SX126x + setCurrentLimit(float currentLimit)SX126x + setDataShaping(uint8_t sh) overrideSX126xvirtual + setDio1Action(void(*func)(void))STM32WLxvirtual + setDio2AsRfSwitch(bool enable=true)SX126x + setDIOMapping(uint32_t pin, uint32_t value)PhysicalLayervirtual + setDirectAction(void(*func)(void))SX126xvirtual + setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer + setEncoding(uint8_t encoding) overrideSX126xvirtual + setFrequency(float freq)SX1262virtual + setFrequency(float freq, bool calibrate)SX1262 + setFrequencyDeviation(float freqDev) overrideSX126xvirtual + setNodeAddress(uint8_t nodeAddr)SX126x + setOutputPower(int8_t power) overrideSTM32WLxvirtual + setPreambleLength(uint16_t preambleLength)SX126x + setRegulatorDCDC()SX126x + setRegulatorLDO()SX126x + setRfSwitchPins(uint32_t rxEn, uint32_t txEn)SX126x + setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])STM32WLx + SX1262::setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x + setRxBandwidth(float rxBw)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x + setSpreadingFactor(uint8_t sf)SX126x + setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x + setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x + setSyncWord(uint8_t *syncWord, uint8_t len)SX126x + setTCXO(float voltage, uint32_t delay=5000)SX126x + setWhitening(bool enabled, uint16_t initial=0x0100)SX126x + sleep(bool retainConfig=true)SX126x + PhysicalLayer::sleep()PhysicalLayervirtual + spectralScanAbort()SX126x + spectralScanGetResult(uint16_t *results)SX126x + spectralScanGetStatus()SX126x + spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)SX126x + standby() overrideSX126xvirtual + standby(uint8_t mode)SX126xvirtual + startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x + startDirect()PhysicalLayer + startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)SX126xvirtual + startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x + startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer + STM32WLx(STM32WLx_Module *mod)STM32WLx + SX1262(Module *mod)SX1262 + SX126x(Module *mod)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(const char *str, uint8_t addr=0)PhysicalLayer + transmitDirect(uint32_t frf=0) overrideSX126xvirtual + uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)SX126x + variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x + XTALSX126x diff --git a/class_s_t_m32_w_lx.html b/class_s_t_m32_w_lx.html index 0cb4832f..bc5b8289 100644 --- a/class_s_t_m32_w_lx.html +++ b/class_s_t_m32_w_lx.html @@ -155,9 +155,6 @@ void int16_t beginFSK (float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)  Initialization method for FSK modem. More...
  - -int16_t beginLRFHSS (float freq=434.0, float tcxoVoltage=0, bool useRegulatorLDO=false) -  int16_t setFrequency (float freq)  Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz. More...
  @@ -355,9 +352,9 @@ void uint8_t randomByte ()  Get one truly random byte from RSSI noise. More...
  -int16_t invertIQ (bool invertIQ) - Enable/disable inversion of the I and Q signals. More...
-  +int16_t invertIQ (bool enable) + Enable/disable inversion of the I and Q signals. More...
+  void setDirectAction (void(*func)(void))  Set interrupt service routine function to call when data bit is receveid in direct mode. More...
  @@ -584,15 +581,15 @@ bool 
Parameters
- - - - - - - - - + + + + + + + + +
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
bwLoRa bandwidth in kHz. Defaults to 125.0 kHz.
sfLoRa spreading factor. Defaults to 9.
crLoRa coding rate denominator. Defaults to 7 (coding rate 4/7).
syncWord1-byte LoRa sync word. Defaults to RADIOLIB_SX126X_SYNC_WORD_PRIVATE (0x12).
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthLoRa preamble length in symbols. Defaults to 8 symbols.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
bwLoRa bandwidth in kHz. Defaults to 125.0 kHz.
sfLoRa spreading factor. Defaults to 9.
crLoRa coding rate denominator. Defaults to 7 (coding rate 4/7).
syncWord1-byte LoRa sync word. Defaults to RADIOLIB_SX126X_SYNC_WORD_PRIVATE (0x12).
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthLoRa preamble length in symbols. Defaults to 8 symbols.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
@@ -665,14 +662,14 @@ bool 
Parameters
- - - - - - - - + + + + + + + +
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
brFSK bit rate in kbps. Defaults to 4.8 kbps.
freqDevFrequency deviation from carrier frequency in kHz. Defaults to 5.0 kHz.
rxBwReceiver bandwidth in kHz. Defaults to 156.2 kHz.
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthFSK preamble length in bits. Defaults to 16 bits.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
brFSK bit rate in kbps. Defaults to 4.8 kbps.
freqDevFrequency deviation from carrier frequency in kHz. Defaults to 5.0 kHz.
rxBwReceiver bandwidth in kHz. Defaults to 156.2 kHz.
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthFSK preamble length in bits. Defaults to 16 bits.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
diff --git a/class_s_x1261-members.html b/class_s_x1261-members.html index 4dca2b62..c78c236d 100644 --- a/class_s_x1261-members.html +++ b/class_s_x1261-members.html @@ -95,100 +95,99 @@ $(document).ready(function(){initNavTree('class_s_x1261.html',''); initResizable
SX126x::begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)SX126x beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)SX1262 SX126x::beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)SX126x - beginLRFHSS(float freq=434.0, float tcxoVoltage=0, bool useRegulatorLDO=false) (defined in SX1262)SX1262 - clearDio1Action()SX126xvirtual - disableAddressFiltering()SX126x - dropSync()PhysicalLayer - explicitHeader()SX126x - finishTransmit() overrideSX126xvirtual - fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x - forceLDRO(bool enable)SX126x - getChannelScanResult()SX126x - getCurrentLimit()SX126x - getDataRate() constSX126x - getFreqStep() constPhysicalLayer - getFrequencyError()SX126x - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI(bool packet=true)SX126x - PhysicalLayer::getRSSI()PhysicalLayervirtual - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - invertIQ(bool invertIQ)SX126x - PhysicalLayer(float step, size_t maxLen)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(uint32_t pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(uint8_t *data, size_t len)SX126x - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(uint8_t *data, size_t len)SX126x - receiveDirect() overrideSX126xvirtual - reset(bool verify=true)SX126x - scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x - setBandwidth(float bw)SX126x - setBitRate(float br)SX126xvirtual - setBroadcastAddress(uint8_t broadAddr)SX126x - setCodingRate(uint8_t cr)SX126x - setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)SX126x - setCurrentLimit(float currentLimit)SX126x - setDataShaping(uint8_t sh) overrideSX126xvirtual - setDio1Action(void(*func)(void))SX126xvirtual - setDio2AsRfSwitch(bool enable=true)SX126x - setDIOMapping(uint32_t pin, uint32_t value)PhysicalLayervirtual - setDirectAction(void(*func)(void))SX126xvirtual - setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer - setEncoding(uint8_t encoding) overrideSX126xvirtual - setFrequency(float freq)SX1262virtual - setFrequency(float freq, bool calibrate)SX1262 - setFrequencyDeviation(float freqDev) overrideSX126xvirtual - setNodeAddress(uint8_t nodeAddr)SX126x - setOutputPower(int8_t power)SX1261virtual - setPreambleLength(uint16_t preambleLength)SX126x - setRegulatorDCDC()SX126x - setRegulatorLDO()SX126x - setRfSwitchPins(uint32_t rxEn, uint32_t txEn)SX126x - setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x - setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x - setSpreadingFactor(uint8_t sf)SX126x - setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x - setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x - setSyncWord(uint8_t *syncWord, uint8_t len)SX126x - setTCXO(float voltage, uint32_t delay=5000)SX126x - setWhitening(bool enabled, uint16_t initial=0x0100)SX126x - sleep(bool retainConfig=true)SX126x - PhysicalLayer::sleep()PhysicalLayervirtual - spectralScanAbort()SX126x - spectralScanGetResult(uint16_t *results)SX126x - spectralScanGetStatus()SX126x - spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)SX126x - standby() overrideSX126xvirtual - standby(uint8_t mode)SX126xvirtual - startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x - startDirect()PhysicalLayer - startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)SX126xvirtual - startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x - startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer - SX1261(Module *mod)SX1261 - SX1262(Module *mod)SX1262 - SX126x(Module *mod)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(const char *str, uint8_t addr=0)PhysicalLayer - transmitDirect(uint32_t frf=0) overrideSX126xvirtual - uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)SX126x - variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x - XTALSX126x + clearDio1Action()SX126xvirtual + disableAddressFiltering()SX126x + dropSync()PhysicalLayer + explicitHeader()SX126x + finishTransmit() overrideSX126xvirtual + fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x + forceLDRO(bool enable)SX126x + getChannelScanResult()SX126x + getCurrentLimit()SX126x + getDataRate() constSX126x + getFreqStep() constPhysicalLayer + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI(bool packet=true)SX126x + PhysicalLayer::getRSSI()PhysicalLayervirtual + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + invertIQ(bool enable)SX126x + PhysicalLayer(float step, size_t maxLen)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(uint32_t pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(uint8_t *data, size_t len)SX126x + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(uint8_t *data, size_t len)SX126x + receiveDirect() overrideSX126xvirtual + reset(bool verify=true)SX126x + scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x + setBandwidth(float bw)SX126x + setBitRate(float br)SX126xvirtual + setBroadcastAddress(uint8_t broadAddr)SX126x + setCodingRate(uint8_t cr)SX126x + setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)SX126x + setCurrentLimit(float currentLimit)SX126x + setDataShaping(uint8_t sh) overrideSX126xvirtual + setDio1Action(void(*func)(void))SX126xvirtual + setDio2AsRfSwitch(bool enable=true)SX126x + setDIOMapping(uint32_t pin, uint32_t value)PhysicalLayervirtual + setDirectAction(void(*func)(void))SX126xvirtual + setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer + setEncoding(uint8_t encoding) overrideSX126xvirtual + setFrequency(float freq)SX1262virtual + setFrequency(float freq, bool calibrate)SX1262 + setFrequencyDeviation(float freqDev) overrideSX126xvirtual + setNodeAddress(uint8_t nodeAddr)SX126x + setOutputPower(int8_t power)SX1261virtual + setPreambleLength(uint16_t preambleLength)SX126x + setRegulatorDCDC()SX126x + setRegulatorLDO()SX126x + setRfSwitchPins(uint32_t rxEn, uint32_t txEn)SX126x + setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x + setRxBandwidth(float rxBw)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x + setSpreadingFactor(uint8_t sf)SX126x + setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x + setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x + setSyncWord(uint8_t *syncWord, uint8_t len)SX126x + setTCXO(float voltage, uint32_t delay=5000)SX126x + setWhitening(bool enabled, uint16_t initial=0x0100)SX126x + sleep(bool retainConfig=true)SX126x + PhysicalLayer::sleep()PhysicalLayervirtual + spectralScanAbort()SX126x + spectralScanGetResult(uint16_t *results)SX126x + spectralScanGetStatus()SX126x + spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)SX126x + standby() overrideSX126xvirtual + standby(uint8_t mode)SX126xvirtual + startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x + startDirect()PhysicalLayer + startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)SX126xvirtual + startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x + startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer + SX1261(Module *mod)SX1261 + SX1262(Module *mod)SX1262 + SX126x(Module *mod)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(const char *str, uint8_t addr=0)PhysicalLayer + transmitDirect(uint32_t frf=0) overrideSX126xvirtual + uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)SX126x + variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x + XTALSX126x diff --git a/class_s_x1261.html b/class_s_x1261.html index 624a1993..9fa54a18 100644 --- a/class_s_x1261.html +++ b/class_s_x1261.html @@ -124,9 +124,6 @@ Public Member Functions int16_t beginFSK (float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)  Initialization method for FSK modem. More...
  - -int16_t beginLRFHSS (float freq=434.0, float tcxoVoltage=0, bool useRegulatorLDO=false) -  int16_t setFrequency (float freq)  Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz. More...
  @@ -324,9 +321,9 @@ void uint8_t randomByte ()  Get one truly random byte from RSSI noise. More...
  -int16_t invertIQ (bool invertIQ) - Enable/disable inversion of the I and Q signals. More...
-  +int16_t invertIQ (bool enable) + Enable/disable inversion of the I and Q signals. More...
+  void setDirectAction (void(*func)(void))  Set interrupt service routine function to call when data bit is receveid in direct mode. More...
  @@ -477,7 +474,7 @@ bool 
Parameters
- +
powerOutput power to be set in dBm.
powerOutput power to be set in dBm.
diff --git a/class_s_x1262-members.html b/class_s_x1262-members.html index 3340d019..3bb74db8 100644 --- a/class_s_x1262-members.html +++ b/class_s_x1262-members.html @@ -95,99 +95,98 @@ $(document).ready(function(){initNavTree('class_s_x1262.html',''); initResizable
SX126x::begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)SX126x beginFSK(float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)SX1262 SX126x::beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO=false)SX126x - beginLRFHSS(float freq=434.0, float tcxoVoltage=0, bool useRegulatorLDO=false) (defined in SX1262)SX1262 - clearDio1Action()SX126xvirtual - disableAddressFiltering()SX126x - dropSync()PhysicalLayer - explicitHeader()SX126x - finishTransmit() overrideSX126xvirtual - fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x - forceLDRO(bool enable)SX126x - getChannelScanResult()SX126x - getCurrentLimit()SX126x - getDataRate() constSX126x - getFreqStep() constPhysicalLayer - getFrequencyError()SX126x - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI(bool packet=true)SX126x - PhysicalLayer::getRSSI()PhysicalLayervirtual - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - invertIQ(bool invertIQ)SX126x - PhysicalLayer(float step, size_t maxLen)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(uint32_t pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(uint8_t *data, size_t len)SX126x - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(uint8_t *data, size_t len)SX126x - receiveDirect() overrideSX126xvirtual - reset(bool verify=true)SX126x - scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x - setBandwidth(float bw)SX126x - setBitRate(float br)SX126xvirtual - setBroadcastAddress(uint8_t broadAddr)SX126x - setCodingRate(uint8_t cr)SX126x - setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)SX126x - setCurrentLimit(float currentLimit)SX126x - setDataShaping(uint8_t sh) overrideSX126xvirtual - setDio1Action(void(*func)(void))SX126xvirtual - setDio2AsRfSwitch(bool enable=true)SX126x - setDIOMapping(uint32_t pin, uint32_t value)PhysicalLayervirtual - setDirectAction(void(*func)(void))SX126xvirtual - setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer - setEncoding(uint8_t encoding) overrideSX126xvirtual - setFrequency(float freq)SX1262virtual - setFrequency(float freq, bool calibrate)SX1262 - setFrequencyDeviation(float freqDev) overrideSX126xvirtual - setNodeAddress(uint8_t nodeAddr)SX126x - setOutputPower(int8_t power)SX1262virtual - setPreambleLength(uint16_t preambleLength)SX126x - setRegulatorDCDC()SX126x - setRegulatorLDO()SX126x - setRfSwitchPins(uint32_t rxEn, uint32_t txEn)SX126x - setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x - setRxBandwidth(float rxBw)SX126x - setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x - setSpreadingFactor(uint8_t sf)SX126x - setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x - setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x - setSyncWord(uint8_t *syncWord, uint8_t len)SX126x - setTCXO(float voltage, uint32_t delay=5000)SX126x - setWhitening(bool enabled, uint16_t initial=0x0100)SX126x - sleep(bool retainConfig=true)SX126x - PhysicalLayer::sleep()PhysicalLayervirtual - spectralScanAbort()SX126x - spectralScanGetResult(uint16_t *results)SX126x - spectralScanGetStatus()SX126x - spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)SX126x - standby() overrideSX126xvirtual - standby(uint8_t mode)SX126xvirtual - startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x - startDirect()PhysicalLayer - startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)SX126xvirtual - startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x - startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer - SX1262(Module *mod)SX1262 - SX126x(Module *mod)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(const char *str, uint8_t addr=0)PhysicalLayer - transmitDirect(uint32_t frf=0) overrideSX126xvirtual - uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)SX126x - variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x - XTALSX126x + clearDio1Action()SX126xvirtual + disableAddressFiltering()SX126x + dropSync()PhysicalLayer + explicitHeader()SX126x + finishTransmit() overrideSX126xvirtual + fixedPacketLengthMode(uint8_t len=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x + forceLDRO(bool enable)SX126x + getChannelScanResult()SX126x + getCurrentLimit()SX126x + getDataRate() constSX126x + getFreqStep() constPhysicalLayer + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI(bool packet=true)SX126x + PhysicalLayer::getRSSI()PhysicalLayervirtual + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + invertIQ(bool enable)SX126x + PhysicalLayer(float step, size_t maxLen)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(uint32_t pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(uint8_t *data, size_t len)SX126x + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(uint8_t *data, size_t len)SX126x + receiveDirect() overrideSX126xvirtual + reset(bool verify=true)SX126x + scanChannel(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x + setBandwidth(float bw)SX126x + setBitRate(float br)SX126xvirtual + setBroadcastAddress(uint8_t broadAddr)SX126x + setCodingRate(uint8_t cr)SX126x + setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)SX126x + setCurrentLimit(float currentLimit)SX126x + setDataShaping(uint8_t sh) overrideSX126xvirtual + setDio1Action(void(*func)(void))SX126xvirtual + setDio2AsRfSwitch(bool enable=true)SX126x + setDIOMapping(uint32_t pin, uint32_t value)PhysicalLayervirtual + setDirectAction(void(*func)(void))SX126xvirtual + setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer + setEncoding(uint8_t encoding) overrideSX126xvirtual + setFrequency(float freq)SX1262virtual + setFrequency(float freq, bool calibrate)SX1262 + setFrequencyDeviation(float freqDev) overrideSX126xvirtual + setNodeAddress(uint8_t nodeAddr)SX126x + setOutputPower(int8_t power)SX1262virtual + setPreambleLength(uint16_t preambleLength)SX126x + setRegulatorDCDC()SX126x + setRegulatorLDO()SX126x + setRfSwitchPins(uint32_t rxEn, uint32_t txEn)SX126x + setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])SX126x + setRxBandwidth(float rxBw)SX126x + setRxBoostedGainMode(bool rxbgm, bool persist=true)SX126x + setSpreadingFactor(uint8_t sf)SX126x + setSyncBits(uint8_t *syncWord, uint8_t bitsLen)SX126x + setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)SX126x + setSyncWord(uint8_t *syncWord, uint8_t len)SX126x + setTCXO(float voltage, uint32_t delay=5000)SX126x + setWhitening(bool enabled, uint16_t initial=0x0100)SX126x + sleep(bool retainConfig=true)SX126x + PhysicalLayer::sleep()PhysicalLayervirtual + spectralScanAbort()SX126x + spectralScanGetResult(uint16_t *results)SX126x + spectralScanGetStatus()SX126x + spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)SX126x + standby() overrideSX126xvirtual + standby(uint8_t mode)SX126xvirtual + startChannelScan(uint8_t symbolNum=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak=RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin=RADIOLIB_SX126X_CAD_PARAM_DEFAULT)SX126x + startDirect()PhysicalLayer + startReceive(uint32_t timeout=RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE, size_t len=0)SX126xvirtual + startReceiveDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x + startReceiveDutyCycleAuto(uint16_t senderPreambleLength=0, uint16_t minSymbols=8, uint16_t irqFlags=RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask=RADIOLIB_SX126X_IRQ_RX_DONE)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer + SX1262(Module *mod)SX1262 + SX126x(Module *mod)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(const char *str, uint8_t addr=0)PhysicalLayer + transmitDirect(uint32_t frf=0) overrideSX126xvirtual + uploadPatch(const uint32_t *patch, size_t len, bool nonvolatile=true)SX126x + variablePacketLengthMode(uint8_t maxLen=RADIOLIB_SX126X_MAX_PACKET_LENGTH)SX126x + XTALSX126x diff --git a/class_s_x1262.html b/class_s_x1262.html index c222b12b..3f5b1171 100644 --- a/class_s_x1262.html +++ b/class_s_x1262.html @@ -119,9 +119,6 @@ Public Member Functions int16_t beginFSK (float freq=434.0, float br=4.8, float freqDev=5.0, float rxBw=156.2, int8_t power=10, uint16_t preambleLength=16, float tcxoVoltage=1.6, bool useRegulatorLDO=false)  Initialization method for FSK modem. More...
  - -int16_t beginLRFHSS (float freq=434.0, float tcxoVoltage=0, bool useRegulatorLDO=false) -  int16_t setFrequency (float freq)  Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz. More...
  @@ -322,9 +319,9 @@ void uint8_t randomByte ()  Get one truly random byte from RSSI noise. More...
  -int16_t invertIQ (bool invertIQ) - Enable/disable inversion of the I and Q signals. More...
-  +int16_t invertIQ (bool enable) + Enable/disable inversion of the I and Q signals. More...
+  void setDirectAction (void(*func)(void))  Set interrupt service routine function to call when data bit is receveid in direct mode. More...
  @@ -519,15 +516,15 @@ bool 
Parameters
- - - - - - - - - + + + + + + + + +
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
bwLoRa bandwidth in kHz. Defaults to 125.0 kHz.
sfLoRa spreading factor. Defaults to 9.
crLoRa coding rate denominator. Defaults to 7 (coding rate 4/7).
syncWord1-byte LoRa sync word. Defaults to RADIOLIB_SX126X_SYNC_WORD_PRIVATE (0x12).
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthLoRa preamble length in symbols. Defaults to 8 symbols.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
bwLoRa bandwidth in kHz. Defaults to 125.0 kHz.
sfLoRa spreading factor. Defaults to 9.
crLoRa coding rate denominator. Defaults to 7 (coding rate 4/7).
syncWord1-byte LoRa sync word. Defaults to RADIOLIB_SX126X_SYNC_WORD_PRIVATE (0x12).
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthLoRa preamble length in symbols. Defaults to 8 symbols.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
@@ -600,14 +597,14 @@ bool 
Parameters
- - - - - - - - + + + + + + + +
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
brFSK bit rate in kbps. Defaults to 4.8 kbps.
freqDevFrequency deviation from carrier frequency in kHz. Defaults to 5.0 kHz.
rxBwReceiver bandwidth in kHz. Defaults to 156.2 kHz.
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthFSK preamble length in bits. Defaults to 16 bits.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
brFSK bit rate in kbps. Defaults to 4.8 kbps.
freqDevFrequency deviation from carrier frequency in kHz. Defaults to 5.0 kHz.
rxBwReceiver bandwidth in kHz. Defaults to 156.2 kHz.
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthFSK preamble length in bits. Defaults to 16 bits.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
@@ -642,7 +639,7 @@ bool 
Parameters
- +
freqCarrier frequency to be set in MHz.
freqCarrier frequency to be set in MHz.
@@ -681,8 +678,8 @@ bool 
Parameters
- - + +
freqCarrier frequency to be set in MHz.
calibrateRun image calibration.
freqCarrier frequency to be set in MHz.
calibrateRun image calibration.
@@ -717,7 +714,7 @@ bool 
SX1261 class.

Parameters
- +
powerOutput power to be set in dBm.
powerOutput power to be set in dBm.
diff --git a/class_s_x1262.js b/class_s_x1262.js index 9d6b3ead..70d52f40 100644 --- a/class_s_x1262.js +++ b/class_s_x1262.js @@ -3,7 +3,6 @@ var class_s_x1262 = [ "SX1262", "class_s_x1262.html#a0da317728ec8ef23c5032d550c9acb8d", null ], [ "begin", "class_s_x1262.html#a9ceab9913d102c2fd657a1a91afaf9cc", null ], [ "beginFSK", "class_s_x1262.html#a36d2c94ff9c3b9126fde23e3c54630f1", null ], - [ "beginLRFHSS", "class_s_x1262.html#a84840c89b3c182a5d871c170a98c69dc", null ], [ "setFrequency", "class_s_x1262.html#abb018b820eb71ca6b0cd92c62affa767", null ], [ "setFrequency", "class_s_x1262.html#a1f70b082116b03d1fafe395fc5a288f6", null ], [ "setOutputPower", "class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc", null ] diff --git a/class_s_x1268-members.html b/class_s_x1268-members.html index f2f2bbe9..a8c65a50 100644 --- a/class_s_x1268-members.html +++ b/class_s_x1268-members.html @@ -115,7 +115,7 @@ $(document).ready(function(){initNavTree('class_s_x1268.html',''); initResizable getSNR()SX126xvirtual getTimeOnAir(size_t len)SX126x implicitHeader(size_t len)SX126x - invertIQ(bool invertIQ)SX126x + invertIQ(bool enable)SX126x PhysicalLayer(float step, size_t maxLen)PhysicalLayer random(int32_t max)PhysicalLayer random(int32_t min, int32_t max)PhysicalLayer diff --git a/class_s_x1268.html b/class_s_x1268.html index 51f9442f..a9bf6060 100644 --- a/class_s_x1268.html +++ b/class_s_x1268.html @@ -316,9 +316,9 @@ void uint8_t randomByte ()  Get one truly random byte from RSSI noise. More...
  -int16_t invertIQ (bool invertIQ) - Enable/disable inversion of the I and Q signals. More...
-  +int16_t invertIQ (bool enable) + Enable/disable inversion of the I and Q signals. More...
+  void setDirectAction (void(*func)(void))  Set interrupt service routine function to call when data bit is receveid in direct mode. More...
  @@ -513,15 +513,15 @@ bool 
Parameters
- - - - - - - - - + + + + + + + + +
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
bwLoRa bandwidth in kHz. Defaults to 125.0 kHz.
sfLoRa spreading factor. Defaults to 9.
crLoRa coding rate denominator. Defaults to 7 (coding rate 4/7).
syncWord1-byte LoRa sync word. Defaults to RADIOLIB_SX126X_SYNC_WORD_PRIVATE (0x12).
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthLoRa preamble length in symbols. Defaults to 8 symbols.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
bwLoRa bandwidth in kHz. Defaults to 125.0 kHz.
sfLoRa spreading factor. Defaults to 9.
crLoRa coding rate denominator. Defaults to 7 (coding rate 4/7).
syncWord1-byte LoRa sync word. Defaults to RADIOLIB_SX126X_SYNC_WORD_PRIVATE (0x12).
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthLoRa preamble length in symbols. Defaults to 8 symbols.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
@@ -594,14 +594,14 @@ bool 
Parameters
- - - - - - - - + + + + + + + +
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
brFSK bit rate in kbps. Defaults to 4.8 kbps.
freqDevFrequency deviation from carrier frequency in kHz. Defaults to 5.0 kHz.
rxBwReceiver bandwidth in kHz. Defaults to 156.2 kHz.
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthFSK preamble length in bits. Defaults to 16 bits.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
freqCarrier frequency in MHz. Defaults to 434.0 MHz.
brFSK bit rate in kbps. Defaults to 4.8 kbps.
freqDevFrequency deviation from carrier frequency in kHz. Defaults to 5.0 kHz.
rxBwReceiver bandwidth in kHz. Defaults to 156.2 kHz.
powerOutput power in dBm. Defaults to 10 dBm.
preambleLengthFSK preamble length in bits. Defaults to 16 bits.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
@@ -636,7 +636,7 @@ bool 
Parameters
- +
freqCarrier frequency to be set in MHz.
freqCarrier frequency to be set in MHz.
@@ -675,8 +675,8 @@ bool 
Parameters
- - + +
freqCarrier frequency to be set in MHz.
calibrateRun image calibration.
freqCarrier frequency to be set in MHz.
calibrateRun image calibration.
@@ -704,7 +704,7 @@ bool 
Parameters
- +
powerOutput power to be set in dBm.
powerOutput power to be set in dBm.
diff --git a/class_s_x126x-members.html b/class_s_x126x-members.html index ad29f560..70135334 100644 --- a/class_s_x126x-members.html +++ b/class_s_x126x-members.html @@ -113,7 +113,7 @@ $(document).ready(function(){initNavTree('class_s_x126x.html',''); initResizable
getSNR()SX126xvirtual getTimeOnAir(size_t len)SX126x implicitHeader(size_t len)SX126x - invertIQ(bool invertIQ)SX126x + invertIQ(bool enable)SX126x PhysicalLayer(float step, size_t maxLen)PhysicalLayer random(int32_t max)PhysicalLayer random(int32_t min, int32_t max)PhysicalLayer diff --git a/class_s_x126x.html b/class_s_x126x.html index d511f74a..62c3f1e5 100644 --- a/class_s_x126x.html +++ b/class_s_x126x.html @@ -302,9 +302,9 @@ void uint8_t randomByte ()  Get one truly random byte from RSSI noise. More...
  -int16_t invertIQ (bool invertIQ) - Enable/disable inversion of the I and Q signals. More...
-  +int16_t invertIQ (bool enable) + Enable/disable inversion of the I and Q signals. More...
+  void setDirectAction (void(*func)(void))  Set interrupt service routine function to call when data bit is receveid in direct mode. More...
  @@ -497,11 +497,11 @@ bool 
Parameters
- - - - - + + + + +
crLoRa coding rate denominator. Allowed values range from 5 to 8.
syncWord1-byte LoRa sync word.
preambleLengthLoRa preamble length in symbols. Allowed values range from 1 to 65535.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
crLoRa coding rate denominator. Allowed values range from 5 to 8.
syncWord1-byte LoRa sync word.
preambleLengthLoRa preamble length in symbols. Allowed values range from 1 to 65535.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
@@ -562,12 +562,12 @@ bool 
Parameters
- - - - - - + + + + + +
brFSK bit rate in kbps. Allowed values range from 0.6 to 300.0 kbps.
freqDevFrequency deviation from carrier frequency in kHz. Allowed values range from 0.0 to 200.0 kHz.
rxBwReceiver bandwidth in kHz. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 kHz.
preambleLengthFSK preamble length in bits. Allowed values range from 0 to 65535.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
brFSK bit rate in kbps. Allowed values range from 0.6 to 300.0 kbps.
freqDevFrequency deviation from carrier frequency in kHz. Allowed values range from 0.0 to 200.0 kHz.
rxBwReceiver bandwidth in kHz. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19.5, 23.4, 29.3, 39.0, 46.9, 58.6, 78.2, 93.8, 117.3, 156.2, 187.2, 234.3, 312.0, 373.6 and 467.0 kHz.
preambleLengthFSK preamble length in bits. Allowed values range from 0 to 65535.
tcxoVoltageTCXO reference voltage to be set on DIO3. Defaults to 1.6 V, set to 0 to skip.
useRegulatorLDOWhether to use only LDO regulator (true) or DC-DC regulator (false). Defaults to false.
@@ -664,7 +664,7 @@ bool 
Parameters
- +
lenPacket length.
lenPacket length.
@@ -691,7 +691,7 @@ bool 
SX126x::autoLDRO()

Parameters
- +
enableForce LDRO to be always enabled (true) or disabled (false).
enableForce LDRO to be always enabled (true) or disabled (false).
@@ -826,7 +826,7 @@ bool 
Parameters
- +
updateUpdate received packet length. Will return cached value when set to false.
updateUpdate received packet length. Will return cached value when set to false.
@@ -855,7 +855,7 @@ bool 
Parameters
- +
packetWhether to read last packet RSSI, or the current value.
packetWhether to read last packet RSSI, or the current value.
@@ -912,7 +912,7 @@ bool 
Parameters
- +
lenPayload length in bytes.
lenPayload length in bytes.
@@ -939,7 +939,7 @@ bool 
Parameters
- +
lenPayload length in bytes.
lenPayload length in bytes.
@@ -947,8 +947,8 @@ bool 
-

◆ invertIQ()

+ +

◆ invertIQ()

@@ -957,7 +957,7 @@ bool int16_t SX126x::invertIQ ( bool  - invertIQ) + enable) @@ -966,7 +966,7 @@ bool 
Parameters
- +
invertIQQI inversion enabled (true) or disabled (false);
enableQI inversion enabled (true) or disabled (false);
@@ -1101,8 +1101,8 @@ bool 
Parameters
- - + +
dataPointer to array to save the received binary data.
lenNumber of bytes that will be read. When set to 0, the packet length will be retreived automatically. When more bytes than received are requested, only the number of bytes requested will be returned.
dataPointer to array to save the received binary data.
lenNumber of bytes that will be read. When set to 0, the packet length will be retreived automatically. When more bytes than received are requested, only the number of bytes requested will be returned.
@@ -1173,8 +1173,8 @@ bool 
PhysicalLayer.

Parameters
- - + +
dataBinary data to be sent.
lenNumber of bytes to send.
dataBinary data to be sent.
lenNumber of bytes to send.
@@ -1233,7 +1233,7 @@ bool 
Parameters
- +
verifyWhether correct module startup should be verified. When set to true, RadioLib will attempt to verify the module has started correctly by repeatedly issuing setStandby command. Enabled by default.
verifyWhether correct module startup should be verified. When set to true, RadioLib will attempt to verify the module has started correctly by repeatedly issuing setStandby command. Enabled by default.
@@ -1276,9 +1276,9 @@ bool 
Parameters
- - - + + +
symbolNumNumber of symbols for CAD detection. Defaults to the value recommended by AN1200.48.
detPeakPeak value for CAD detection. Defaults to the value recommended by AN1200.48.
detMinMinimum value for CAD detection. Defaults to the value recommended by AN1200.48.
symbolNumNumber of symbols for CAD detection. Defaults to the value recommended by AN1200.48.
detPeakPeak value for CAD detection. Defaults to the value recommended by AN1200.48.
detMinMinimum value for CAD detection. Defaults to the value recommended by AN1200.48.
@@ -1305,7 +1305,7 @@ bool 
Parameters
- +
bwLoRa bandwidth to be set in kHz.
bwLoRa bandwidth to be set in kHz.
@@ -1340,7 +1340,7 @@ bool 
Parameters
- +
brFSK bit rate to be set in kbps.
brFSK bit rate to be set in kbps.
@@ -1369,7 +1369,7 @@ bool 
Parameters
- +
broadAddrNode address to be set.
broadAddrNode address to be set.
@@ -1396,7 +1396,7 @@ bool 
Parameters
- +
crLoRa coding rate denominator to be set.
crLoRa coding rate denominator to be set.
@@ -1445,10 +1445,10 @@ bool 
Parameters
- - - - + + + +
lenCRC length in bytes, Allowed values are 1 or 2, set to 0 to disable CRC.
initialInitial CRC value. FSK only. Defaults to 0x1D0F (CCIT CRC).
polynomialPolynomial for CRC calculation. FSK only. Defaults to 0x1021 (CCIT CRC).
invertedInvert CRC bytes. FSK only. Defaults to true (CCIT CRC).
lenCRC length in bytes, Allowed values are 1 or 2, set to 0 to disable CRC.
initialInitial CRC value. FSK only. Defaults to 0x1D0F (CCIT CRC).
polynomialPolynomial for CRC calculation. FSK only. Defaults to 0x1021 (CCIT CRC).
invertedInvert CRC bytes. FSK only. Defaults to true (CCIT CRC).
@@ -1475,7 +1475,7 @@ bool 
Parameters
- +
currentLimitcurrent protection limit to be set in mA. Allowed values range from 0 to 140.
currentLimitcurrent protection limit to be set in mA. Allowed values range from 0 to 140.
@@ -1510,7 +1510,7 @@ bool 
Parameters
- +
shTime-bandwidth product of Gaussian filter to be set.
shTime-bandwidth product of Gaussian filter to be set.
@@ -1640,7 +1640,7 @@ bool 
PhysicalLayer compatibility.

Parameters
- +
encodingEncoding to be used. Set to 0 for NRZ, and 2 for whitening.
encodingEncoding to be used. Set to 0 for NRZ, and 2 for whitening.
@@ -1677,7 +1677,7 @@ bool 
Parameters
- +
freqDevFSK frequency deviation to be set in kHz.
freqDevFSK frequency deviation to be set in kHz.
@@ -1706,7 +1706,7 @@ bool 
Parameters
- +
nodeAddrNode address to be set.
nodeAddrNode address to be set.
@@ -1733,7 +1733,7 @@ bool 
Parameters
- +
preambleLengthPreamble length to be set in symbols (LoRa) or bits (FSK).
preambleLengthPreamble length to be set in symbols (LoRa) or bits (FSK).
@@ -1903,7 +1903,7 @@ bool 
Parameters
- +
FSKreceiver bandwidth to be set in kHz.
rxBwFSK receiver bandwidth to be set in kHz.
@@ -1940,8 +1940,8 @@ bool 
SX126x datasheet section 9.6 (SX1261/2 v2.1, SX1268 v1.1)

Parameters
- - + +
rxbgmTrue for Rx Boosted Gain, false for Rx Power Saving Gain
persistTrue to persist Rx gain setting when waking up from warm-start mode (e.g. when using Rx duty cycle mode)
rxbgmTrue for Rx Boosted Gain, false for Rx Power Saving Gain
persistTrue to persist Rx gain setting when waking up from warm-start mode (e.g. when using Rx duty cycle mode).
@@ -1968,7 +1968,7 @@ bool 
Parameters
- +
sfLoRa spreading factor to be set.
sfLoRa spreading factor to be set.
@@ -2005,8 +2005,8 @@ bool 
Parameters
- - + +
syncWordFSK sync word to be set.
bitsLenFSK sync word length in bits. If length is not divisible by 8, least significant bits of syncWord will be ignored.
syncWordFSK sync word to be set.
bitsLenFSK sync word length in bits. If length is not divisible by 8, least significant bits of syncWord will be ignored.
@@ -2043,8 +2043,8 @@ bool 
Parameters
- - + +
syncWordFSK sync word to be set.
lenFSK sync word length in bytes.
syncWordFSK sync word to be set.
lenFSK sync word length in bytes.
@@ -2081,8 +2081,8 @@ bool 
Parameters
- - + +
syncWordLoRa sync word to be set.
controlBitsUndocumented control bits, required for compatibility purposes.
syncWordLoRa sync word to be set.
controlBitsUndocumented control bits, required for compatibility purposes.
@@ -2119,8 +2119,8 @@ bool 
Parameters
- - + +
TCXOreference voltage in volts. Allowed values are 1.6, 1.7, 1.8, 2.2. 2.4, 2.7, 3.0 and 3.3 V. Set to 0 to disable TCXO. NOTE: After setting this parameter to 0, the module will be reset (since there's no other way to disable TCXO).
TCXOtimeout in us. Defaults to 5000 us.
voltageTCXO reference voltage in volts. Allowed values are 1.6, 1.7, 1.8, 2.2. 2.4, 2.7, 3.0 and 3.3 V. Set to 0 to disable TCXO. NOTE: After setting this parameter to 0, the module will be reset (since there's no other way to disable TCXO).
delayTCXO timeout in us. Defaults to 5000 us.
@@ -2157,8 +2157,8 @@ bool 
Parameters
- - + +
enabledTrue = Whitening enabled
initialInitial value used for the whitening LFSR in FSK mode. Defaults to 0x0100, use 0x01FF for SX127x compatibility.
enabledTrue = Whitening enabled
initialInitial value used for the whitening LFSR in FSK mode. Defaults to 0x0100, use 0x01FF for SX127x compatibility.
@@ -2185,7 +2185,7 @@ bool 
Parameters
- +
retainConfigSet to true to retain configuration of the currently active modem ("warm start") or to false to discard current configuration ("cold start"). Defaults to true.
retainConfigSet to true to retain configuration of the currently active modem ("warm start") or to false to discard current configuration ("cold start"). Defaults to true.
@@ -2212,7 +2212,7 @@ bool 
Parameters
- +
resultsArray to which the results will be saved, must be RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE long.
resultsArray to which the results will be saved, must be RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE long.
@@ -2275,9 +2275,9 @@ bool 
Parameters
- - - + + +
numSamplesNumber of samples for each scan. Fewer samples = better temporal resolution.
windowRSSI averaging window size.
intervalScan interval length, one of RADIOLIB_SX126X_SCAN_INTERVAL_* macros.
numSamplesNumber of samples for each scan. Fewer samples = better temporal resolution.
windowRSSI averaging window size.
intervalScan interval length, one of RADIOLIB_SX126X_SCAN_INTERVAL_* macros.
@@ -2342,7 +2342,7 @@ bool 
Parameters
- +
modeOscillator to be used in standby mode. Can be set to RADIOLIB_SX126X_STANDBY_RC (13 MHz RC oscillator) or RADIOLIB_SX126X_STANDBY_XOSC (32 MHz external crystal oscillator).
modeOscillator to be used in standby mode. Can be set to RADIOLIB_SX126X_STANDBY_RC (13 MHz RC oscillator) or RADIOLIB_SX126X_STANDBY_XOSC (32 MHz external crystal oscillator).
@@ -2387,9 +2387,9 @@ bool 
Parameters
- - - + + +
symbolNumNumber of symbols for CAD detection. Defaults to the value recommended by AN1200.48.
detPeakPeak value for CAD detection. Defaults to the value recommended by AN1200.48.
detMinMinimum value for CAD detection. Defaults to the value recommended by AN1200.48.
symbolNumNumber of symbols for CAD detection. Defaults to the value recommended by AN1200.48.
detPeakPeak value for CAD detection. Defaults to the value recommended by AN1200.48.
detMinMinimum value for CAD detection. Defaults to the value recommended by AN1200.48.
@@ -2447,9 +2447,9 @@ bool 
Parameters
- - - + + +
timeoutReceive mode type and/or raw timeout value, expressed as multiples of 15.625 us. When set to RADIOLIB_SX126X_RX_TIMEOUT_INF, the timeout will be infinite and the device will remain in Rx mode until explicitly commanded to stop (Rx continuous mode). When set to RADIOLIB_SX126X_RX_TIMEOUT_NONE, there will be no timeout and the device will return to standby when a packet is received (Rx single mode). For any other value, timeout will be applied and signal will be generated on DIO1 for conditions defined by irqFlags and irqMask.
irqFlagsSets the IRQ flags, defaults to RADIOLIB_SX126X_IRQ_RX_DEFAULT.
irqMaskSets the mask of IRQ flags that will trigger DIO1, defaults to RADIOLIB_SX126X_IRQ_RX_DONE.
lenOnly for PhysicalLayer compatibility, not used.
irqFlagsSets the IRQ flags, defaults to RADIOLIB_SX126X_IRQ_RX_DEFAULT.
irqMaskSets the mask of IRQ flags that will trigger DIO1, defaults to RADIOLIB_SX126X_IRQ_RX_DONE.
lenOnly for PhysicalLayer compatibility, not used.
@@ -2500,10 +2500,10 @@ bool 
Parameters
- - - - + + + +
rxPeriodThe duration the receiver will be in Rx mode, in microseconds.
sleepPeriodThe duration the receiver will not be in Rx mode, in microseconds.
irqFlagsSets the IRQ flags, defaults to RADIOLIB_SX126X_IRQ_RX_DEFAULT.
irqMaskSets the mask of IRQ flags that will trigger DIO1, defaults to RADIOLIB_SX126X_IRQ_RX_DONE.
rxPeriodThe duration the receiver will be in Rx mode, in microseconds.
sleepPeriodThe duration the receiver will not be in Rx mode, in microseconds.
irqFlagsSets the IRQ flags, defaults to RADIOLIB_SX126X_IRQ_RX_DEFAULT.
irqMaskSets the mask of IRQ flags that will trigger DIO1, defaults to RADIOLIB_SX126X_IRQ_RX_DONE.
@@ -2554,8 +2554,8 @@ bool 
senderPreambleLengthExpected preamble length of the messages to receive. If set to zero, the currently configured preamble length will be used. Defaults to zero. minSymbolsParameters will be chosen to ensure that the unit will catch at least this many symbols of any preamble of the specified length. Defaults to 8. According to Semtech, receiver requires 8 symbols to reliably latch a preamble. This makes this method redundant when transmitter preamble length is less than 17 (2*minSymbols + 1). - irqFlagsSets the IRQ flags, defaults to RADIOLIB_SX126X_IRQ_RX_DEFAULT. - irqMaskSets the mask of IRQ flags that will trigger DIO1, defaults to RADIOLIB_SX126X_IRQ_RX_DONE. + irqFlagsSets the IRQ flags, defaults to RADIOLIB_SX126X_IRQ_RX_DEFAULT. + irqMaskSets the mask of IRQ flags that will trigger DIO1, defaults to RADIOLIB_SX126X_IRQ_RX_DONE. @@ -2655,9 +2655,9 @@ bool PhysicalLayer.

Parameters
- - - + + +
dataBinary data to be sent.
lenNumber of bytes to send.
addrAddress to send the data to. Will only be added if address filtering was enabled.
dataBinary data to be sent.
lenNumber of bytes to send.
addrAddress to send the data to. Will only be added if address filtering was enabled.
@@ -2759,9 +2759,9 @@ bool PhysicalLayer.

Parameters
- - - + + +
dataBinary data to be sent.
lenNumber of bytes to send.
addrAddress to send the data to. Will only be added if address filtering was enabled.
dataBinary data to be sent.
lenNumber of bytes to send.
addrAddress to send the data to. Will only be added if address filtering was enabled.
@@ -2798,7 +2798,7 @@ bool 
Parameters
- +
frfRaw RF frequency value. Defaults to 0, required for quick frequency shifts in RTTY.
frfRaw RF frequency value. Defaults to 0, required for quick frequency shifts in RTTY.
@@ -2843,9 +2843,9 @@ bool 
SX126x device RAM. Patch is needed to e.g., enable spectral scan and must be uploaded again on every power cycle.

Parameters
- - - + + +
patchBinary patch to upload.
lenLength of the binary patch in 4-byte words.
nonvolatileSet to true when the patch is saved in non-volatile memory of the host processor, or to false when the patch is in its RAM.
patchBinary patch to upload.
lenLength of the binary patch in 4-byte words.
nonvolatileSet to true when the patch is saved in non-volatile memory of the host processor, or to false when the patch is in its RAM.
@@ -2872,7 +2872,7 @@ bool 
Parameters
- +
lenMaximum packet length.
lenMaximum packet length.
diff --git a/class_s_x126x.js b/class_s_x126x.js index 5745526a..6b93e586 100644 --- a/class_s_x126x.js +++ b/class_s_x126x.js @@ -21,7 +21,7 @@ var class_s_x126x = [ "getSNR", "class_s_x126x.html#ae36823d3539667bdf7d2f073bd4fa1ca", null ], [ "getTimeOnAir", "class_s_x126x.html#a7e342ddbef84cf845bef8f4448b8da10", null ], [ "implicitHeader", "class_s_x126x.html#adec09cba71494bd927ad1da786606ca6", null ], - [ "invertIQ", "class_s_x126x.html#adab04cbc1125170c6ea16ca5143f3ea5", null ], + [ "invertIQ", "class_s_x126x.html#a249c905c1752feb7d228f78a15d5b2e1", null ], [ "randomByte", "class_s_x126x.html#a819bb3ced0f184a63cbfbef408a68561", null ], [ "readBit", "class_s_x126x.html#a8cdc4f25d4193dc75f9442874131eab3", null ], [ "readData", "class_s_x126x.html#a3563453988a83d22dd07d4691543a300", null ], diff --git a/functions_func_i.html b/functions_func_i.html index 407f9279..c4814de9 100644 --- a/functions_func_i.html +++ b/functions_func_i.html @@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('functions_func_i.html',''); initResiza ,
RadioLibHal
  • invertIQ() -: SX126x +: SX126x , SX127x , SX128x
  • diff --git a/functions_i.html b/functions_i.html index 1ba5b2ff..ec79b4bb 100644 --- a/functions_i.html +++ b/functions_i.html @@ -107,7 +107,7 @@ $(document).ready(function(){initNavTree('functions_i.html',''); initResizable() , RadioLibHal
  • invertIQ() -: SX126x +: SX126x , SX127x , SX128x
  • diff --git a/navtreedata.js b/navtreedata.js index be820a1c..69130bb6 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -52,8 +52,8 @@ var NAVTREEINDEX = "_a_f_s_k_8h_source.html", "class_module.html#af6e89e2bc4976e8c5dc42dedda9fa6a2", "class_s_t_m32_w_lx.html#ac8d380c3d3201015ad35594826975787a20a2eda9aaf3c7cdb4a55955d6ff3544", -"class_s_x127x.html#af6aa854a2668d70f4d3a374a49440362", -"functions_x.html" +"class_s_x127x.html#afe6e9bbfd75f9cad26f9f72c34c4ada5", +"functions_y.html" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/navtreeindex2.js b/navtreeindex2.js index f2e6092a..9ab6f5d4 100644 --- a/navtreeindex2.js +++ b/navtreeindex2.js @@ -15,12 +15,11 @@ var NAVTREEINDEX2 = "class_s_x1261.html#aa541f927995a1756c651b93fd24edc65":[3,0,35,1], "class_s_x1262.html":[3,0,36], "class_s_x1262.html#a0da317728ec8ef23c5032d550c9acb8d":[3,0,36,0], -"class_s_x1262.html#a1f70b082116b03d1fafe395fc5a288f6":[3,0,36,5], +"class_s_x1262.html#a1f70b082116b03d1fafe395fc5a288f6":[3,0,36,4], "class_s_x1262.html#a36d2c94ff9c3b9126fde23e3c54630f1":[3,0,36,2], -"class_s_x1262.html#a84840c89b3c182a5d871c170a98c69dc":[3,0,36,3], "class_s_x1262.html#a9ceab9913d102c2fd657a1a91afaf9cc":[3,0,36,1], -"class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc":[3,0,36,6], -"class_s_x1262.html#abb018b820eb71ca6b0cd92c62affa767":[3,0,36,4], +"class_s_x1262.html#aa149463283dc9cddfec836ec6620d4dc":[3,0,36,5], +"class_s_x1262.html#abb018b820eb71ca6b0cd92c62affa767":[3,0,36,3], "class_s_x1268.html":[3,0,37], "class_s_x1268.html#a59b538f4971525849b7aaa3456de9929":[3,0,37,4], "class_s_x1268.html#a5b0744aa46fbb4f8c738b010dfcc9b45":[3,0,37,5], @@ -37,6 +36,7 @@ var NAVTREEINDEX2 = "class_s_x126x.html#a10a0e75571350fb05fa100e5d5151be2":[3,0,38,64], "class_s_x126x.html#a1d8f4deb555844b24c2426dd86e69676":[3,0,38,37], "class_s_x126x.html#a21c263ce1a339faa74c568d9afb81cd2":[3,0,38,46], +"class_s_x126x.html#a249c905c1752feb7d228f78a15d5b2e1":[3,0,38,21], "class_s_x126x.html#a2af78b744b3e61d3857bed93c3b1bde1":[3,0,38,75], "class_s_x126x.html#a2b3eb51117558c58384b03de4b7bfe60":[3,0,38,41], "class_s_x126x.html#a2cb5ed645ebcc6f3f17d77e32c2ccdd7":[3,0,38,48], @@ -96,7 +96,6 @@ var NAVTREEINDEX2 = "class_s_x126x.html#ad59e37ce0606dc8051e40be9d14cfec3":[3,0,38,69], "class_s_x126x.html#ad7569396f09f3867dc1bd4d4a0613acd":[3,0,38,63], "class_s_x126x.html#ada0fe6c3d31885952b439135cf0c18f1":[3,0,38,77], -"class_s_x126x.html#adab04cbc1125170c6ea16ca5143f3ea5":[3,0,38,21], "class_s_x126x.html#adec09cba71494bd927ad1da786606ca6":[3,0,38,20], "class_s_x126x.html#ae36823d3539667bdf7d2f073bd4fa1ca":[3,0,38,18], "class_s_x126x.html#ae3db6b29c482d94eef8a43cd8b5751c0":[3,0,38,27], @@ -249,5 +248,6 @@ var NAVTREEINDEX2 = "class_s_x127x.html#adffb96b7f80dc43909bb4cebde68fe9d":[3,0,45,75], "class_s_x127x.html#ae75bc48cc74a407370cd9f4bf95e9e30":[3,0,45,46], "class_s_x127x.html#aee5324d7d854e7a2f6768221d4f362cd":[3,0,45,16], -"class_s_x127x.html#aefeeb9f7192e11a75b5dfb1ab8488e84":[3,0,45,82] +"class_s_x127x.html#aefeeb9f7192e11a75b5dfb1ab8488e84":[3,0,45,82], +"class_s_x127x.html#af6aa854a2668d70f4d3a374a49440362":[3,0,45,20] }; diff --git a/navtreeindex3.js b/navtreeindex3.js index 057b9ec5..a6258066 100644 --- a/navtreeindex3.js +++ b/navtreeindex3.js @@ -1,6 +1,5 @@ var NAVTREEINDEX3 = { -"class_s_x127x.html#af6aa854a2668d70f4d3a374a49440362":[3,0,45,20], "class_s_x127x.html#afe6e9bbfd75f9cad26f9f72c34c4ada5":[3,0,45,8], "class_s_x1280.html":[3,0,46], "class_s_x1280.html#a0356199b89860e15cda4979cd9dc13eb":[3,0,46,0], @@ -202,8 +201,8 @@ var NAVTREEINDEX3 = "dir_ed12d23d857ca7061030f8751e72e77c.html":[4,0,0,0,10], "dir_f980efad9544c0545d0fa50a84ff12f2.html":[4,0,0,0,9], "files.html":[4,0], -"functions.html":[3,3,0,0], "functions.html":[3,3,0], +"functions.html":[3,3,0,0], "functions_b.html":[3,3,0,1], "functions_c.html":[3,3,0,2], "functions_d.html":[3,3,0,3], @@ -249,5 +248,6 @@ var NAVTREEINDEX3 = "functions_u.html":[3,3,0,17], "functions_v.html":[3,3,0,18], "functions_vars.html":[3,3,2], -"functions_w.html":[3,3,0,19] +"functions_w.html":[3,3,0,19], +"functions_x.html":[3,3,0,20] }; diff --git a/navtreeindex4.js b/navtreeindex4.js index 18e9e5a0..3a899e0a 100644 --- a/navtreeindex4.js +++ b/navtreeindex4.js @@ -1,6 +1,5 @@ var NAVTREEINDEX4 = { -"functions_x.html":[3,3,0,20], "functions_y.html":[3,3,0,21], "functions_~.html":[3,3,0,22], "group__config__encoding.html":[2,2], diff --git a/search/all_8.js b/search/all_8.js index b99d26e1..e55af52e 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -5,7 +5,7 @@ var searchData= ['info_98',['info',['../class_a_x25_frame.html#aa82f006b84b71b9c5d036a4946a65988',1,'AX25Frame']]], ['infolen_99',['infoLen',['../class_a_x25_frame.html#a75e8ad33c2540ede5bb130050f6ffc41',1,'AX25Frame']]], ['init_100',['init',['../class_radio_lib_hal.html#a450037acdfeb4e87413674ac90feb4d2',1,'RadioLibHal::init()'],['../class_module.html#ad1956ac81429ec1f61f83dbc081cf18c',1,'Module::init()']]], - ['invertiq_101',['invertIQ',['../class_s_x126x.html#adab04cbc1125170c6ea16ca5143f3ea5',1,'SX126x::invertIQ()'],['../class_s_x127x.html#a1f6c61b16a39a2bbb5b94b3685caae04',1,'SX127x::invertIQ()'],['../class_s_x128x.html#aa102a9a3d0dd50060fd79ab244d10f50',1,'SX128x::invertIQ()']]], + ['invertiq_101',['invertIQ',['../class_s_x126x.html#a249c905c1752feb7d228f78a15d5b2e1',1,'SX126x::invertIQ()'],['../class_s_x127x.html#a1f6c61b16a39a2bbb5b94b3685caae04',1,'SX127x::invertIQ()'],['../class_s_x128x.html#aa102a9a3d0dd50060fd79ab244d10f50',1,'SX128x::invertIQ()']]], ['iscarrierdetected_102',['isCarrierDetected',['../classn_r_f24.html#ad9204ee787b425e2c9e8422bb7939a37',1,'nRF24']]], ['ita2string_103',['ITA2String',['../class_i_t_a2_string.html',1,'ITA2String'],['../class_i_t_a2_string.html#addb6c39167aa5da53fb72e9a94c9c8f5',1,'ITA2String::ITA2String(char c)'],['../class_i_t_a2_string.html#a92ca563bdc2ae4d05ee91ce9372e7a55',1,'ITA2String::ITA2String(const char *str)']]] ]; diff --git a/search/functions_8.js b/search/functions_8.js index 699d295b..4b8e4fc9 100644 --- a/search/functions_8.js +++ b/search/functions_8.js @@ -3,7 +3,7 @@ var searchData= ['idle_532',['idle',['../class_f_s_k4_client.html#a79ca465012acc9223d61d5b063ff8257',1,'FSK4Client::idle()'],['../class_r_t_t_y_client.html#ac477e65ea756e56bb9043d778a51b4bc',1,'RTTYClient::idle()'],['../class_s_s_t_v_client.html#a0126ac04934f589b8cb04a038c342044',1,'SSTVClient::idle()']]], ['implicitheader_533',['implicitHeader',['../class_s_x126x.html#adec09cba71494bd927ad1da786606ca6',1,'SX126x::implicitHeader()'],['../class_s_x1272.html#a4ee36122f8aca42b27a8412e0c362dd3',1,'SX1272::implicitHeader()'],['../class_s_x1278.html#a47f5ac7dd6587b86c5f2c2b16336612e',1,'SX1278::implicitHeader()'],['../class_s_x128x.html#ac69cc622020419cb3393eac5cc88915b',1,'SX128x::implicitHeader()']]], ['init_534',['init',['../class_radio_lib_hal.html#a450037acdfeb4e87413674ac90feb4d2',1,'RadioLibHal::init()'],['../class_module.html#ad1956ac81429ec1f61f83dbc081cf18c',1,'Module::init()']]], - ['invertiq_535',['invertIQ',['../class_s_x126x.html#adab04cbc1125170c6ea16ca5143f3ea5',1,'SX126x::invertIQ()'],['../class_s_x127x.html#a1f6c61b16a39a2bbb5b94b3685caae04',1,'SX127x::invertIQ()'],['../class_s_x128x.html#aa102a9a3d0dd50060fd79ab244d10f50',1,'SX128x::invertIQ()']]], + ['invertiq_535',['invertIQ',['../class_s_x126x.html#a249c905c1752feb7d228f78a15d5b2e1',1,'SX126x::invertIQ()'],['../class_s_x127x.html#a1f6c61b16a39a2bbb5b94b3685caae04',1,'SX127x::invertIQ()'],['../class_s_x128x.html#aa102a9a3d0dd50060fd79ab244d10f50',1,'SX128x::invertIQ()']]], ['iscarrierdetected_536',['isCarrierDetected',['../classn_r_f24.html#ad9204ee787b425e2c9e8422bb7939a37',1,'nRF24']]], ['ita2string_537',['ITA2String',['../class_i_t_a2_string.html#addb6c39167aa5da53fb72e9a94c9c8f5',1,'ITA2String::ITA2String(char c)'],['../class_i_t_a2_string.html#a92ca563bdc2ae4d05ee91ce9372e7a55',1,'ITA2String::ITA2String(const char *str)']]] ];