From 8096d09126f4e97624f8ac670c4106addb6c1a6b Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 18 Mar 2023 09:56:45 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20cfe61?= =?UTF-8?q?28656fb9fe6cc2a98c8b36bb9a99e3175be=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _s_t_m32_w_lx_8h_source.html | 2 +- _s_x1262_8h_source.html | 2 +- _s_x1268_8h_source.html | 2 +- _s_x126x_8h_source.html | 1226 +++++++++++++++---------------- class_l_l_c_c68-members.html | 181 ++--- class_l_l_c_c68.html | 3 + class_s_t_m32_w_lx-members.html | 195 ++--- class_s_t_m32_w_lx.html | 3 + class_s_x1261-members.html | 181 ++--- class_s_x1261.html | 3 + class_s_x1262-members.html | 179 ++--- class_s_x1262.html | 3 + class_s_x1268-members.html | 179 ++--- class_s_x1268.html | 3 + class_s_x126x-members.html | 173 ++--- class_s_x126x.html | 23 + class_s_x126x.js | 1 + functions_func_g.html | 3 +- functions_g.html | 3 +- navtreedata.js | 4 +- navtreeindex2.js | 142 ++-- navtreeindex3.js | 6 +- navtreeindex4.js | 1 + search/all_6.js | 6 +- search/functions_6.js | 6 +- 25 files changed, 1289 insertions(+), 1241 deletions(-) diff --git a/_s_t_m32_w_lx_8h_source.html b/_s_t_m32_w_lx_8h_source.html index a42f8a8f..5b6fe072 100644 --- a/_s_t_m32_w_lx_8h_source.html +++ b/_s_t_m32_w_lx_8h_source.html @@ -169,7 +169,7 @@ $(document).ready(function(){initNavTree('_s_t_m32_w_lx_8h_source.html',''); ini
@ 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:31
Derived class for SX1262 modules.
Definition: SX1262.h:23
-
void setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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:1325
+
void setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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:1358
diff --git a/_s_x1262_8h_source.html b/_s_x1262_8h_source.html index f66cb571..955d2741 100644 --- a/_s_x1262_8h_source.html +++ b/_s_x1262_8h_source.html @@ -139,7 +139,7 @@ $(document).ready(function(){initNavTree('_s_x1262_8h_source.html',''); initResi
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
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
int16_t setFrequency(float freq)
Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz.
Definition: SX1262.cpp:50
-
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:435
+
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:432
diff --git a/_s_x1268_8h_source.html b/_s_x1268_8h_source.html index 713bebd0..52c0c24c 100644 --- a/_s_x1268_8h_source.html +++ b/_s_x1268_8h_source.html @@ -136,7 +136,7 @@ $(document).ready(function(){initNavTree('_s_x1268_8h_source.html',''); initResi
int16_t setFrequency(float freq)
Sets carrier frequency. Allowed values are in range from 410.0 to 810.0 MHz.
Definition: SX1268.cpp:50
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
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
-
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:435
+
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:432
diff --git a/_s_x126x_8h_source.html b/_s_x126x_8h_source.html index 9794bff6..b758116f 100644 --- a/_s_x126x_8h_source.html +++ b/_s_x126x_8h_source.html @@ -161,598 +161,597 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
73 #define RADIOLIB_SX126X_CMD_SET_SPECTR_SCAN_PARAMS 0x9B
74 
75 // SX126X register map
-
76 #define RADIOLIB_SX126X_REG_VERSION_STRING 0x0320
-
77 #define RADIOLIB_SX126X_REG_HOPPING_ENABLE 0x0385
-
78 #define RADIOLIB_SX126X_REG_LR_FHSS_PACKET_LENGTH 0x0386
-
79 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_HOPPING_BLOCKS 0x0387
-
80 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_SYMBOLS_FREQX_MSB(X) (0x0388 + (X)*6)
-
81 #define RADIOLIB_SX126X_REG_LR_FHSS_NUM_SYMBOLS_FREQX_LSB(X) (0x0389 + (X)*6)
-
82 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_0(X) (0x038A + (X)*6)
-
83 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_1(X) (0x038B + (X)*6)
-
84 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_2(X) (0x038C + (X)*6)
-
85 #define RADIOLIB_SX126X_REG_LR_FHSS_FREQX_3(X) (0x038D + (X)*6)
-
86 #define RADIOLIB_SX126X_REG_SPECTRAL_SCAN_RESULT 0x0401
-
87 #define RADIOLIB_SX126X_REG_DIOX_OUT_ENABLE 0x0580
-
88 #define RADIOLIB_SX126X_REG_DIOX_IN_ENABLE 0x0583
-
89 #define RADIOLIB_SX126X_REG_DIOX_PULL_UP_CTRL 0x0584
-
90 #define RADIOLIB_SX126X_REG_DIOX_PULL_DOWN_CTRL 0x0585
-
91 #define RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_0 0x0587
-
92 #define RADIOLIB_SX126X_REG_PATCH_UPDATE_ENABLE 0x0610
-
93 #define RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_1 0x0680
-
94 #define RADIOLIB_SX126X_REG_WHITENING_INITIAL_MSB 0x06B8
-
95 #define RADIOLIB_SX126X_REG_WHITENING_INITIAL_LSB 0x06B9
-
96 #define RADIOLIB_SX126X_REG_RX_TX_PLD_LEN 0x06BB
-
97 #define RADIOLIB_SX126X_REG_CRC_INITIAL_MSB 0x06BC
-
98 #define RADIOLIB_SX126X_REG_CRC_INITIAL_LSB 0x06BD
-
99 #define RADIOLIB_SX126X_REG_CRC_POLYNOMIAL_MSB 0x06BE
-
100 #define RADIOLIB_SX126X_REG_CRC_POLYNOMIAL_LSB 0x06BF
-
101 #define RADIOLIB_SX126X_REG_SYNC_WORD_0 0x06C0
-
102 #define RADIOLIB_SX126X_REG_SYNC_WORD_1 0x06C1
-
103 #define RADIOLIB_SX126X_REG_SYNC_WORD_2 0x06C2
-
104 #define RADIOLIB_SX126X_REG_SYNC_WORD_3 0x06C3
-
105 #define RADIOLIB_SX126X_REG_SYNC_WORD_4 0x06C4
-
106 #define RADIOLIB_SX126X_REG_SYNC_WORD_5 0x06C5
-
107 #define RADIOLIB_SX126X_REG_SYNC_WORD_6 0x06C6
-
108 #define RADIOLIB_SX126X_REG_SYNC_WORD_7 0x06C7
-
109 #define RADIOLIB_SX126X_REG_NODE_ADDRESS 0x06CD
-
110 #define RADIOLIB_SX126X_REG_BROADCAST_ADDRESS 0x06CE
-
111 #define RADIOLIB_SX126X_REG_PAYLOAD_LENGTH 0x0702
-
112 #define RADIOLIB_SX126X_REG_PACKET_PARAMS 0x0704
-
113 #define RADIOLIB_SX126X_REG_IQ_CONFIG 0x0736
-
114 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_MSB 0x0740
-
115 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_LSB 0x0741
-
116 #define RADIOLIB_SX126X_REG_FREQ_ERROR 0x076B
-
117 #define RADIOLIB_SX126X_REG_SPECTRAL_SCAN_STATUS 0x07CD
-
118 #define RADIOLIB_SX126X_REG_RX_ADDR_PTR 0x0803
-
119 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_0 0x0819
-
120 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_1 0x081A
-
121 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_2 0x081B
-
122 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_3 0x081C
-
123 #define RADIOLIB_SX126X_REG_TX_MODULATION 0x0889
-
124 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_0 0x088B
-
125 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_1 0x088C
-
126 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_2 0x088D
-
127 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_3 0x088E
-
128 #define RADIOLIB_SX126X_REG_RSSI_AVG_WINDOW 0x089B
-
129 #define RADIOLIB_SX126X_REG_RX_GAIN 0x08AC
-
130 #define RADIOLIB_SX126X_REG_TX_CLAMP_CONFIG 0x08D8
-
131 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_N 0x08E3
-
132 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_P 0x08E4
-
133 #define RADIOLIB_SX126X_REG_OCP_CONFIGURATION 0x08E7
-
134 #define RADIOLIB_SX126X_REG_RTC_CTRL 0x0902
-
135 #define RADIOLIB_SX126X_REG_XTA_TRIM 0x0911
-
136 #define RADIOLIB_SX126X_REG_XTB_TRIM 0x0912
-
137 #define RADIOLIB_SX126X_REG_DIO3_OUT_VOLTAGE_CTRL 0x0920
-
138 #define RADIOLIB_SX126X_REG_EVENT_MASK 0x0944
-
139 #define RADIOLIB_SX126X_REG_PATCH_MEMORY_BASE 0x8000
-
140 
-
141 // undocumented registers
-
142 #define RADIOLIB_SX126X_REG_SENSITIVITY_CONFIG 0x0889 // SX1268 datasheet v1.1, section 15.1
-
143 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_0 0x029F // SX1268 datasheet v1.1, section 9.6
-
144 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_1 0x02A0 // SX1268 datasheet v1.1, section 9.6
-
145 #define RADIOLIB_SX126X_REG_RX_GAIN_RETENTION_2 0x02A1 // SX1268 datasheet v1.1, section 9.6
-
146 
-
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
-
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
-
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)
+
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_IQ_CONFIG 0x0736
+
118 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_MSB 0x0740
+
119 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_LSB 0x0741
+
120 #define RADIOLIB_SX126X_REG_FREQ_ERROR 0x076B
+
121 #define RADIOLIB_SX126X_REG_SPECTRAL_SCAN_STATUS 0x07CD
+
122 #define RADIOLIB_SX126X_REG_RX_ADDR_PTR 0x0803
+
123 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_0 0x0819
+
124 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_1 0x081A
+
125 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_2 0x081B
+
126 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_3 0x081C
+
127 #define RADIOLIB_SX126X_REG_SENSITIVITY_CONFIG 0x0889 // SX1268 datasheet v1.1, section 15.1
+
128 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_0 0x088B
+
129 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_1 0x088C
+
130 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_2 0x088D
+
131 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_3 0x088E
+
132 #define RADIOLIB_SX126X_REG_RSSI_AVG_WINDOW 0x089B
+
133 #define RADIOLIB_SX126X_REG_RX_GAIN 0x08AC
+
134 #define RADIOLIB_SX126X_REG_TX_CLAMP_CONFIG 0x08D8
+
135 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_N 0x08E3
+
136 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_P 0x08E4
+
137 #define RADIOLIB_SX126X_REG_OCP_CONFIGURATION 0x08E7
+
138 #define RADIOLIB_SX126X_REG_RTC_CTRL 0x0902
+
139 #define RADIOLIB_SX126X_REG_XTA_TRIM 0x0911
+
140 #define RADIOLIB_SX126X_REG_XTB_TRIM 0x0912
+
141 #define RADIOLIB_SX126X_REG_DIO3_OUT_VOLTAGE_CTRL 0x0920
+
142 #define RADIOLIB_SX126X_REG_EVENT_MASK 0x0944
+
143 #define RADIOLIB_SX126X_REG_PATCH_MEMORY_BASE 0x8000
+
144 
+
145 // SX126X SPI command variables
+
146 //RADIOLIB_SX126X_CMD_SET_SLEEP MSB LSB DESCRIPTION
+
147 #define RADIOLIB_SX126X_SLEEP_START_COLD 0b00000000 // 2 2 sleep mode: cold start, configuration is lost (default)
+
148 #define RADIOLIB_SX126X_SLEEP_START_WARM 0b00000100 // 2 2 warm start, configuration is retained
+
149 #define RADIOLIB_SX126X_SLEEP_RTC_OFF 0b00000000 // 0 0 wake on RTC timeout: disabled
+
150 #define RADIOLIB_SX126X_SLEEP_RTC_ON 0b00000001 // 0 0 enabled
+
151 
+
152 //RADIOLIB_SX126X_CMD_SET_STANDBY
+
153 #define RADIOLIB_SX126X_STANDBY_RC 0x00 // 7 0 standby mode: 13 MHz RC oscillator
+
154 #define RADIOLIB_SX126X_STANDBY_XOSC 0x01 // 7 0 32 MHz crystal oscillator
+
155 
+
156 //RADIOLIB_SX126X_CMD_SET_RX
+
157 #define RADIOLIB_SX126X_RX_TIMEOUT_NONE 0x000000 // 23 0 Rx timeout duration: no timeout (Rx single mode)
+
158 #define RADIOLIB_SX126X_RX_TIMEOUT_INF 0xFFFFFF // 23 0 infinite (Rx continuous mode)
+
159 
+
160 //RADIOLIB_SX126X_CMD_SET_TX
+
161 #define RADIOLIB_SX126X_TX_TIMEOUT_NONE 0x000000 // 23 0 Tx timeout duration: no timeout (Tx single 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)
-
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
-
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
-
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
-
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
-
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
-
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)
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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)
-
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
+
163 //RADIOLIB_SX126X_CMD_STOP_TIMER_ON_PREAMBLE
+
164 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_OFF 0x00 // 7 0 stop timer on: sync word or header (default)
+
165 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_ON 0x01 // 7 0 preamble detection
+
166 
+
167 //RADIOLIB_SX126X_CMD_SET_REGULATOR_MODE
+
168 #define RADIOLIB_SX126X_REGULATOR_LDO 0x00 // 7 0 set regulator mode: LDO (default)
+
169 #define RADIOLIB_SX126X_REGULATOR_DC_DC 0x01 // 7 0 DC-DC
+
170 
+
171 //RADIOLIB_SX126X_CMD_CALIBRATE
+
172 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_OFF 0b00000000 // 6 6 image calibration: disabled
+
173 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_ON 0b01000000 // 6 6 enabled
+
174 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_OFF 0b00000000 // 5 5 ADC bulk P calibration: disabled
+
175 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_ON 0b00100000 // 5 5 enabled
+
176 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_OFF 0b00000000 // 4 4 ADC bulk N calibration: disabled
+
177 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_ON 0b00010000 // 4 4 enabled
+
178 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_OFF 0b00000000 // 3 3 ADC pulse calibration: disabled
+
179 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_ON 0b00001000 // 3 3 enabled
+
180 #define RADIOLIB_SX126X_CALIBRATE_PLL_OFF 0b00000000 // 2 2 PLL calibration: disabled
+
181 #define RADIOLIB_SX126X_CALIBRATE_PLL_ON 0b00000100 // 2 2 enabled
+
182 #define RADIOLIB_SX126X_CALIBRATE_RC13M_OFF 0b00000000 // 1 1 13 MHz RC osc. calibration: disabled
+
183 #define RADIOLIB_SX126X_CALIBRATE_RC13M_ON 0b00000010 // 1 1 enabled
+
184 #define RADIOLIB_SX126X_CALIBRATE_RC64K_OFF 0b00000000 // 0 0 64 kHz RC osc. calibration: disabled
+
185 #define RADIOLIB_SX126X_CALIBRATE_RC64K_ON 0b00000001 // 0 0 enabled
+
186 #define RADIOLIB_SX126X_CALIBRATE_ALL 0b01111111 // 6 0 calibrate all blocks
+
187 
+
188 //RADIOLIB_SX126X_CMD_CALIBRATE_IMAGE
+
189 #define RADIOLIB_SX126X_CAL_IMG_430_MHZ_1 0x6B
+
190 #define RADIOLIB_SX126X_CAL_IMG_430_MHZ_2 0x6F
+
191 #define RADIOLIB_SX126X_CAL_IMG_470_MHZ_1 0x75
+
192 #define RADIOLIB_SX126X_CAL_IMG_470_MHZ_2 0x81
+
193 #define RADIOLIB_SX126X_CAL_IMG_779_MHZ_1 0xC1
+
194 #define RADIOLIB_SX126X_CAL_IMG_779_MHZ_2 0xC5
+
195 #define RADIOLIB_SX126X_CAL_IMG_863_MHZ_1 0xD7
+
196 #define RADIOLIB_SX126X_CAL_IMG_863_MHZ_2 0xDB
+
197 #define RADIOLIB_SX126X_CAL_IMG_902_MHZ_1 0xE1
+
198 #define RADIOLIB_SX126X_CAL_IMG_902_MHZ_2 0xE9
+
199 
+
200 //RADIOLIB_SX126X_CMD_SET_PA_CONFIG
+
201 #define RADIOLIB_SX126X_PA_CONFIG_HP_MAX 0x07
+
202 #define RADIOLIB_SX126X_PA_CONFIG_PA_LUT 0x01
+
203 #define RADIOLIB_SX126X_PA_CONFIG_SX1262_8 0x00
+
204 
+
205 //RADIOLIB_SX126X_CMD_SET_RX_TX_FALLBACK_MODE
+
206 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_FS 0x40 // 7 0 after Rx/Tx go to: FS mode
+
207 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_XOSC 0x30 // 7 0 standby with crystal oscillator
+
208 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_RC 0x20 // 7 0 standby with RC oscillator (default)
+
209 
+
210 //RADIOLIB_SX126X_CMD_SET_DIO_IRQ_PARAMS
+
211 #define RADIOLIB_SX126X_IRQ_LR_FHSS_HOP 0b0100000000000000 // 14 14 PA ramped up during LR-FHSS hop
+
212 #define RADIOLIB_SX126X_IRQ_TIMEOUT 0b0000001000000000 // 9 9 Rx or Tx timeout
+
213 #define RADIOLIB_SX126X_IRQ_CAD_DETECTED 0b0000000100000000 // 8 8 channel activity detected
+
214 #define RADIOLIB_SX126X_IRQ_CAD_DONE 0b0000000010000000 // 7 7 channel activity detection finished
+
215 #define RADIOLIB_SX126X_IRQ_CRC_ERR 0b0000000001000000 // 6 6 wrong CRC received
+
216 #define RADIOLIB_SX126X_IRQ_HEADER_ERR 0b0000000000100000 // 5 5 LoRa header CRC error
+
217 #define RADIOLIB_SX126X_IRQ_HEADER_VALID 0b0000000000010000 // 4 4 valid LoRa header received
+
218 #define RADIOLIB_SX126X_IRQ_SYNC_WORD_VALID 0b0000000000001000 // 3 3 valid sync word detected
+
219 #define RADIOLIB_SX126X_IRQ_RADIOLIB_PREAMBLE_DETECTED 0b0000000000000100 // 2 2 preamble detected
+
220 #define RADIOLIB_SX126X_IRQ_RX_DONE 0b0000000000000010 // 1 1 packet received
+
221 #define RADIOLIB_SX126X_IRQ_TX_DONE 0b0000000000000001 // 0 0 packet transmission completed
+
222 #define RADIOLIB_SX126X_IRQ_RX_DEFAULT 0b0000001001100010 // 14 0 default for Rx (RX_DONE, TIMEOUT, CRC_ERR and HEADER_ERR)
+
223 #define RADIOLIB_SX126X_IRQ_ALL 0b0100001111111111 // 14 0 all interrupts
+
224 #define RADIOLIB_SX126X_IRQ_NONE 0b0000000000000000 // 14 0 no interrupts
+
225 
+
226 //RADIOLIB_SX126X_CMD_SET_DIO2_AS_RF_SWITCH_CTRL
+
227 #define RADIOLIB_SX126X_DIO2_AS_IRQ 0x00 // 7 0 DIO2 configuration: IRQ
+
228 #define RADIOLIB_SX126X_DIO2_AS_RF_SWITCH 0x01 // 7 0 RF switch control
+
229 
+
230 //RADIOLIB_SX126X_CMD_SET_DIO3_AS_TCXO_CTRL
+
231 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_6 0x00 // 7 0 DIO3 voltage output for TCXO: 1.6 V
+
232 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_7 0x01 // 7 0 1.7 V
+
233 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_8 0x02 // 7 0 1.8 V
+
234 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_2 0x03 // 7 0 2.2 V
+
235 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_4 0x04 // 7 0 2.4 V
+
236 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_7 0x05 // 7 0 2.7 V
+
237 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_0 0x06 // 7 0 3.0 V
+
238 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_3 0x07 // 7 0 3.3 V
+
239 
+
240 //RADIOLIB_SX126X_CMD_SET_PACKET_TYPE
+
241 #define RADIOLIB_SX126X_PACKET_TYPE_GFSK 0x00 // 7 0 packet type: GFSK
+
242 #define RADIOLIB_SX126X_PACKET_TYPE_LORA 0x01 // 7 0 LoRa
+
243 #define RADIOLIB_SX126X_PACKET_TYPE_LR_FHSS 0x03 // 7 0 LR-FHSS
+
244 
+
245 //RADIOLIB_SX126X_CMD_SET_TX_PARAMS
+
246 #define RADIOLIB_SX126X_PA_RAMP_10U 0x00 // 7 0 ramp time: 10 us
+
247 #define RADIOLIB_SX126X_PA_RAMP_20U 0x01 // 7 0 20 us
+
248 #define RADIOLIB_SX126X_PA_RAMP_40U 0x02 // 7 0 40 us
+
249 #define RADIOLIB_SX126X_PA_RAMP_80U 0x03 // 7 0 80 us
+
250 #define RADIOLIB_SX126X_PA_RAMP_200U 0x04 // 7 0 200 us
+
251 #define RADIOLIB_SX126X_PA_RAMP_800U 0x05 // 7 0 800 us
+
252 #define RADIOLIB_SX126X_PA_RAMP_1700U 0x06 // 7 0 1700 us
+
253 #define RADIOLIB_SX126X_PA_RAMP_3400U 0x07 // 7 0 3400 us
+
254 
+
255 //RADIOLIB_SX126X_CMD_SET_MODULATION_PARAMS
+
256 #define RADIOLIB_SX126X_GFSK_FILTER_NONE 0x00 // 7 0 GFSK filter: none
+
257 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_3 0x08 // 7 0 Gaussian, BT = 0.3
+
258 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_5 0x09 // 7 0 Gaussian, BT = 0.5
+
259 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_7 0x0A // 7 0 Gaussian, BT = 0.7
+
260 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_1 0x0B // 7 0 Gaussian, BT = 1
+
261 #define RADIOLIB_SX126X_GFSK_RX_BW_4_8 0x1F // 7 0 GFSK Rx bandwidth: 4.8 kHz
+
262 #define RADIOLIB_SX126X_GFSK_RX_BW_5_8 0x17 // 7 0 5.8 kHz
+
263 #define RADIOLIB_SX126X_GFSK_RX_BW_7_3 0x0F // 7 0 7.3 kHz
+
264 #define RADIOLIB_SX126X_GFSK_RX_BW_9_7 0x1E // 7 0 9.7 kHz
+
265 #define RADIOLIB_SX126X_GFSK_RX_BW_11_7 0x16 // 7 0 11.7 kHz
+
266 #define RADIOLIB_SX126X_GFSK_RX_BW_14_6 0x0E // 7 0 14.6 kHz
+
267 #define RADIOLIB_SX126X_GFSK_RX_BW_19_5 0x1D // 7 0 19.5 kHz
+
268 #define RADIOLIB_SX126X_GFSK_RX_BW_23_4 0x15 // 7 0 23.4 kHz
+
269 #define RADIOLIB_SX126X_GFSK_RX_BW_29_3 0x0D // 7 0 29.3 kHz
+
270 #define RADIOLIB_SX126X_GFSK_RX_BW_39_0 0x1C // 7 0 39.0 kHz
+
271 #define RADIOLIB_SX126X_GFSK_RX_BW_46_9 0x14 // 7 0 46.9 kHz
+
272 #define RADIOLIB_SX126X_GFSK_RX_BW_58_6 0x0C // 7 0 58.6 kHz
+
273 #define RADIOLIB_SX126X_GFSK_RX_BW_78_2 0x1B // 7 0 78.2 kHz
+
274 #define RADIOLIB_SX126X_GFSK_RX_BW_93_8 0x13 // 7 0 93.8 kHz
+
275 #define RADIOLIB_SX126X_GFSK_RX_BW_117_3 0x0B // 7 0 117.3 kHz
+
276 #define RADIOLIB_SX126X_GFSK_RX_BW_156_2 0x1A // 7 0 156.2 kHz
+
277 #define RADIOLIB_SX126X_GFSK_RX_BW_187_2 0x12 // 7 0 187.2 kHz
+
278 #define RADIOLIB_SX126X_GFSK_RX_BW_234_3 0x0A // 7 0 234.3 kHz
+
279 #define RADIOLIB_SX126X_GFSK_RX_BW_312_0 0x19 // 7 0 312.0 kHz
+
280 #define RADIOLIB_SX126X_GFSK_RX_BW_373_6 0x11 // 7 0 373.6 kHz
+
281 #define RADIOLIB_SX126X_GFSK_RX_BW_467_0 0x09 // 7 0 467.0 kHz
+
282 #define RADIOLIB_SX126X_LORA_BW_7_8 0x00 // 7 0 LoRa bandwidth: 7.8 kHz
+
283 #define RADIOLIB_SX126X_LORA_BW_10_4 0x08 // 7 0 10.4 kHz
+
284 #define RADIOLIB_SX126X_LORA_BW_15_6 0x01 // 7 0 15.6 kHz
+
285 #define RADIOLIB_SX126X_LORA_BW_20_8 0x09 // 7 0 20.8 kHz
+
286 #define RADIOLIB_SX126X_LORA_BW_31_25 0x02 // 7 0 31.25 kHz
+
287 #define RADIOLIB_SX126X_LORA_BW_41_7 0x0A // 7 0 41.7 kHz
+
288 #define RADIOLIB_SX126X_LORA_BW_62_5 0x03 // 7 0 62.5 kHz
+
289 #define RADIOLIB_SX126X_LORA_BW_125_0 0x04 // 7 0 125.0 kHz
+
290 #define RADIOLIB_SX126X_LORA_BW_250_0 0x05 // 7 0 250.0 kHz
+
291 #define RADIOLIB_SX126X_LORA_BW_500_0 0x06 // 7 0 500.0 kHz
+
292 #define RADIOLIB_SX126X_LORA_CR_4_5 0x01 // 7 0 LoRa coding rate: 4/5
+
293 #define RADIOLIB_SX126X_LORA_CR_4_6 0x02 // 7 0 4/6
+
294 #define RADIOLIB_SX126X_LORA_CR_4_7 0x03 // 7 0 4/7
+
295 #define RADIOLIB_SX126X_LORA_CR_4_8 0x04 // 7 0 4/8
+
296 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_OFF 0x00 // 7 0 LoRa low data rate optimization: disabled
+
297 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_ON 0x01 // 7 0 enabled
+
298 
+
299 //RADIOLIB_SX126X_CMD_SET_PACKET_PARAMS
+
300 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_OFF 0x00 // 7 0 GFSK minimum preamble length before reception starts: detector disabled
+
301 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_8 0x04 // 7 0 8 bits
+
302 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16 0x05 // 7 0 16 bits
+
303 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_24 0x06 // 7 0 24 bits
+
304 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_32 0x07 // 7 0 32 bits
+
305 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_OFF 0x00 // 7 0 GFSK address filtering: disabled
+
306 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE 0x01 // 7 0 node only
+
307 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE_BROADCAST 0x02 // 7 0 node and broadcast
+
308 #define RADIOLIB_SX126X_GFSK_PACKET_FIXED 0x00 // 7 0 GFSK packet type: fixed (payload length known in advance to both sides)
+
309 #define RADIOLIB_SX126X_GFSK_PACKET_VARIABLE 0x01 // 7 0 variable (payload length added to packet)
+
310 #define RADIOLIB_SX126X_GFSK_CRC_OFF 0x01 // 7 0 GFSK packet CRC: disabled
+
311 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE 0x00 // 7 0 1 byte
+
312 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE 0x02 // 7 0 2 byte
+
313 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE_INV 0x04 // 7 0 1 byte, inverted
+
314 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE_INV 0x06 // 7 0 2 byte, inverted
+
315 #define RADIOLIB_SX126X_GFSK_WHITENING_OFF 0x00 // 7 0 GFSK data whitening: disabled
+
316 #define RADIOLIB_SX126X_GFSK_WHITENING_ON 0x01 // 7 0 enabled
+
317 #define RADIOLIB_SX126X_LORA_HEADER_EXPLICIT 0x00 // 7 0 LoRa header mode: explicit
+
318 #define RADIOLIB_SX126X_LORA_HEADER_IMPLICIT 0x01 // 7 0 implicit
+
319 #define RADIOLIB_SX126X_LORA_CRC_OFF 0x00 // 7 0 LoRa CRC mode: disabled
+
320 #define RADIOLIB_SX126X_LORA_CRC_ON 0x01 // 7 0 enabled
+
321 #define RADIOLIB_SX126X_LORA_IQ_STANDARD 0x00 // 7 0 LoRa IQ setup: standard
+
322 #define RADIOLIB_SX126X_LORA_IQ_INVERTED 0x01 // 7 0 inverted
+
323 
+
324 //RADIOLIB_SX126X_CMD_SET_CAD_PARAMS
+
325 #define RADIOLIB_SX126X_CAD_ON_1_SYMB 0x00 // 7 0 number of symbols used for CAD: 1
+
326 #define RADIOLIB_SX126X_CAD_ON_2_SYMB 0x01 // 7 0 2
+
327 #define RADIOLIB_SX126X_CAD_ON_4_SYMB 0x02 // 7 0 4
+
328 #define RADIOLIB_SX126X_CAD_ON_8_SYMB 0x03 // 7 0 8
+
329 #define RADIOLIB_SX126X_CAD_ON_16_SYMB 0x04 // 7 0 16
+
330 #define RADIOLIB_SX126X_CAD_GOTO_STDBY 0x00 // 7 0 after CAD is done, always go to STDBY_RC mode
+
331 #define RADIOLIB_SX126X_CAD_GOTO_RX 0x01 // 7 0 after CAD is done, go to Rx mode if activity is detected
+
332 #define RADIOLIB_SX126X_CAD_PARAM_DEFAULT 0xFF // 7 0 used by the CAD methods to specify default parameter value
+
333 #define RADIOLIB_SX126X_CAD_PARAM_DET_MIN 10 // 7 0 default detMin CAD parameter
+
334 
+
335 //RADIOLIB_SX126X_CMD_GET_STATUS
+
336 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_RC 0b00100000 // 6 4 current chip mode: STDBY_RC
+
337 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_XOSC 0b00110000 // 6 4 STDBY_XOSC
+
338 #define RADIOLIB_SX126X_STATUS_MODE_FS 0b01000000 // 6 4 FS
+
339 #define RADIOLIB_SX126X_STATUS_MODE_RX 0b01010000 // 6 4 RX
+
340 #define RADIOLIB_SX126X_STATUS_MODE_TX 0b01100000 // 6 4 TX
+
341 #define RADIOLIB_SX126X_STATUS_DATA_AVAILABLE 0b00000100 // 3 1 command status: packet received and data can be retrieved
+
342 #define RADIOLIB_SX126X_STATUS_CMD_TIMEOUT 0b00000110 // 3 1 SPI command timed out
+
343 #define RADIOLIB_SX126X_STATUS_CMD_INVALID 0b00001000 // 3 1 invalid SPI command
+
344 #define RADIOLIB_SX126X_STATUS_CMD_FAILED 0b00001010 // 3 1 SPI command failed to execute
+
345 #define RADIOLIB_SX126X_STATUS_TX_DONE 0b00001100 // 3 1 packet transmission done
+
346 #define RADIOLIB_SX126X_STATUS_SPI_FAILED 0b11111111 // 7 0 SPI transaction failed
+
347 
+
348 //RADIOLIB_SX126X_CMD_GET_PACKET_STATUS
+
349 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PREAMBLE_ERR 0b10000000 // 7 7 GFSK Rx status: preamble error
+
350 #define RADIOLIB_SX126X_GFSK_RX_STATUS_SYNC_ERR 0b01000000 // 6 6 sync word error
+
351 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ADRS_ERR 0b00100000 // 5 5 address error
+
352 #define RADIOLIB_SX126X_GFSK_RX_STATUS_CRC_ERR 0b00010000 // 4 4 CRC error
+
353 #define RADIOLIB_SX126X_GFSK_RX_STATUS_LENGTH_ERR 0b00001000 // 3 3 length error
+
354 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ABORT_ERR 0b00000100 // 2 2 abort error
+
355 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_RECEIVED 0b00000010 // 2 2 packet received
+
356 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_SENT 0b00000001 // 2 2 packet sent
+
357 
+
358 //RADIOLIB_SX126X_CMD_GET_DEVICE_ERRORS
+
359 #define RADIOLIB_SX126X_PA_RAMP_ERR 0b100000000 // 8 8 device errors: PA ramping failed
+
360 #define RADIOLIB_SX126X_PLL_LOCK_ERR 0b001000000 // 6 6 PLL failed to lock
+
361 #define RADIOLIB_SX126X_XOSC_START_ERR 0b000100000 // 5 5 crystal oscillator failed to start
+
362 #define RADIOLIB_SX126X_IMG_CALIB_ERR 0b000010000 // 4 4 image calibration failed
+
363 #define RADIOLIB_SX126X_ADC_CALIB_ERR 0b000001000 // 3 3 ADC calibration failed
+
364 #define RADIOLIB_SX126X_PLL_CALIB_ERR 0b000000100 // 2 2 PLL calibration failed
+
365 #define RADIOLIB_SX126X_RC13M_CALIB_ERR 0b000000010 // 1 1 RC13M calibration failed
+
366 #define RADIOLIB_SX126X_RC64K_CALIB_ERR 0b000000001 // 0 0 RC64K calibration failed
+
367 
+
368 //RADIOLIB_SX126X_CMD_SET_LBT_SCAN_PARAMS + RADIOLIB_SX126X_CMD_SET_SPECTR_SCAN_PARAMS
+
369 #define RADIOLIB_SX126X_SCAN_INTERVAL_7_68_US 10 // 7 0 RSSI reading interval: 7.68 us
+
370 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US 11 // 7 0 8.20 us
+
371 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_68_US 12 // 7 0 8.68 us
+
372 
+
373 // SX126X SPI register variables
+
374 //RADIOLIB_SX126X_REG_HOPPING_ENABLE
+
375 #define RADIOLIB_SX126X_HOPPING_ENABLED 0b00000001 // 0 0 intra-packet hopping for LR-FHSS: enabled
+
376 #define RADIOLIB_SX126X_HOPPING_DISABLED 0b00000000 // 0 0 (disabled)
+
377 
+
378 //RADIOLIB_SX126X_REG_LORA_SYNC_WORD_MSB + LSB
+
379 #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.
+
380 #define RADIOLIB_SX126X_SYNC_WORD_PRIVATE 0x12 // actually 0x1424 You couldn't make this up if you tried.
+
381 
+
382 // RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_1
+
383 #define RADIOLIB_SX126X_TX_BITBANG_1_DISABLED 0b00000000 // 6 4 Tx bitbang: disabled (default)
+
384 #define RADIOLIB_SX126X_TX_BITBANG_1_ENABLED 0b00010000 // 6 4 enabled
+
385 
+
386 // RADIOLIB_SX126X_REG_TX_BITBANG_ENABLE_0
+
387 #define RADIOLIB_SX126X_TX_BITBANG_0_DISABLED 0b00000000 // 3 0 Tx bitbang: disabled (default)
+
388 #define RADIOLIB_SX126X_TX_BITBANG_0_ENABLED 0b00001100 // 3 0 enabled
+
389 
+
390 // RADIOLIB_SX126X_REG_DIOX_OUT_ENABLE
+
391 #define RADIOLIB_SX126X_DIO1_OUT_DISABLED 0b00000010 // 1 1 DIO1 output: disabled
+
392 #define RADIOLIB_SX126X_DIO1_OUT_ENABLED 0b00000000 // 1 1 enabled
+
393 #define RADIOLIB_SX126X_DIO2_OUT_DISABLED 0b00000100 // 2 2 DIO2 output: disabled
+
394 #define RADIOLIB_SX126X_DIO2_OUT_ENABLED 0b00000000 // 2 2 enabled
+
395 #define RADIOLIB_SX126X_DIO3_OUT_DISABLED 0b00001000 // 3 3 DIO3 output: disabled
+
396 #define RADIOLIB_SX126X_DIO3_OUT_ENABLED 0b00000000 // 3 3 enabled
+
397 
+
398 // RADIOLIB_SX126X_REG_DIOX_IN_ENABLE
+
399 #define RADIOLIB_SX126X_DIO1_IN_DISABLED 0b00000000 // 1 1 DIO1 input: disabled
+
400 #define RADIOLIB_SX126X_DIO1_IN_ENABLED 0b00000010 // 1 1 enabled
+
401 #define RADIOLIB_SX126X_DIO2_IN_DISABLED 0b00000000 // 2 2 DIO2 input: disabled
+
402 #define RADIOLIB_SX126X_DIO2_IN_ENABLED 0b00000100 // 2 2 enabled
+
403 #define RADIOLIB_SX126X_DIO3_IN_DISABLED 0b00000000 // 3 3 DIO3 input: disabled
+
404 #define RADIOLIB_SX126X_DIO3_IN_ENABLED 0b00001000 // 3 3 enabled
+
405 
+
406 // RADIOLIB_SX126X_REG_RX_GAIN
+
407 #define RADIOLIB_SX126X_RX_GAIN_BOOSTED 0x96 // 7 0 Rx gain: boosted
+
408 #define RADIOLIB_SX126X_RX_GAIN_POWER_SAVING 0x94 // 7 0 power saving
+
409 #define RADIOLIB_SX126X_RX_GAIN_SPECTRAL_SCAN 0xCB // 7 0 spectral scan
+
410 
+
411 // RADIOLIB_SX126X_REG_PATCH_UPDATE_ENABLE
+
412 #define RADIOLIB_SX126X_PATCH_UPDATE_DISABLED 0b00000000 // 4 4 patch update: disabled
+
413 #define RADIOLIB_SX126X_PATCH_UPDATE_ENABLED 0b00010000 // 4 4 enabled
+
414 
+
415 // RADIOLIB_SX126X_REG_SPECTRAL_SCAN_STATUS
+
416 #define RADIOLIB_SX126X_SPECTRAL_SCAN_NONE 0x00 // 7 0 spectral scan status: none
+
417 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ONGOING 0x0F // 7 0 ongoing
+
418 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ABORTED 0xF0 // 7 0 aborted
+
419 #define RADIOLIB_SX126X_SPECTRAL_SCAN_COMPLETED 0xFF // 7 0 completed
+
420 
+
421 // RADIOLIB_SX126X_REG_RSSI_AVG_WINDOW
+
422 #define RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT (0x05 << 2) // 7 0 default RSSI average window
423 
-
424 // RADIOLIB_SX126X_REG_RSSI_AVG_WINDOW
-
425 #define RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT (0x05 << 2) // 7 0 default RSSI average window
-
426 
-
427 #define RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE (33)
-
428 
-
435 class SX126x: public PhysicalLayer {
-
436  public:
-
437  // introduce PhysicalLayer overloads
-
438  using PhysicalLayer::transmit;
-
439  using PhysicalLayer::receive;
-
440  using PhysicalLayer::startTransmit;
-
441  using PhysicalLayer::readData;
-
442 
-
448  SX126x(Module* mod);
-
449 
-
450  Module* getMod();
-
451 
-
455  bool XTAL;
-
456 
-
457  // basic methods
-
458 
-
474  int16_t begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO = false);
-
475 
-
493  int16_t beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO = false);
-
494 
-
503  int16_t reset(bool verify = true);
-
504 
-
517  int16_t transmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
-
518 
-
529  int16_t receive(uint8_t* data, size_t len) override;
-
530 
-
538  int16_t transmitDirect(uint32_t frf = 0) override;
-
539 
-
546  int16_t receiveDirect() override;
-
547 
-
559  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);
-
560 
-
568  int16_t sleep(bool retainConfig = true);
-
569 
-
575  int16_t standby() override;
-
576 
-
584  int16_t standby(uint8_t mode);
-
585 
-
586  // interrupt methods
-
587 
-
593  void setDio1Action(void (*func)(void));
-
594 
-
598  void clearDio1Action();
-
599 
-
612  int16_t startTransmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
-
613 
-
619  int16_t finishTransmit() override;
-
620 
-
633  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);
-
634 
-
649  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);
-
650 
-
666  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);
-
667 
-
673  uint16_t getIrqStatus();
-
674 
-
685  int16_t readData(uint8_t* data, size_t len) override;
-
686 
-
698  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);
-
699 
-
705  int16_t getChannelScanResult();
-
706 
-
707  // configuration methods
-
708 
-
716  int16_t setBandwidth(float bw);
-
717 
-
725  int16_t setSpreadingFactor(uint8_t sf);
-
726 
-
734  int16_t setCodingRate(uint8_t cr);
-
735 
-
745  int16_t setSyncWord(uint8_t syncWord, uint8_t controlBits = 0x44);
-
746 
-
754  int16_t setCurrentLimit(float currentLimit);
-
755 
-
761  float getCurrentLimit();
-
762 
-
770  int16_t setPreambleLength(uint16_t preambleLength);
-
771 
-
779  int16_t setFrequencyDeviation(float freqDev) override;
-
780 
-
788  int16_t setBitRate(float br);
-
789 
-
797  int16_t setRxBandwidth(float rxBw);
-
798 
-
808  int16_t setRxBoostedGainMode(bool rxbgm, bool persist = true);
-
809 
-
819  int16_t setDataShaping(uint8_t sh) override;
-
820 
-
830  int16_t setSyncWord(uint8_t* syncWord, uint8_t len);
-
831 
-
841  int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
-
842 
-
850  int16_t setNodeAddress(uint8_t nodeAddr);
-
851 
-
859  int16_t setBroadcastAddress(uint8_t broadAddr);
-
860 
-
866  int16_t disableAddressFiltering();
-
867 
-
881  int16_t setCRC(uint8_t len, uint16_t initial = 0x1D0F, uint16_t polynomial = 0x1021, bool inverted = true);
-
882 
-
892  int16_t setWhitening(bool enabled, uint16_t initial = 0x0100);
-
893 
-
904  int16_t setTCXO(float voltage, uint32_t delay = 5000);
-
905 
-
911  int16_t setDio2AsRfSwitch(bool enable = true);
-
912 
-
918  float getDataRate() const;
-
919 
-
925  float getRSSI();
-
926 
-
932  float getSNR();
-
933 
-
941  size_t getPacketLength(bool update = true) override;
-
942 
-
950  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
-
951 
-
959  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
-
960 
-
968  uint32_t getTimeOnAir(size_t len);
-
969 
-
975  float getRSSIInst();
-
976 
-
984  int16_t implicitHeader(size_t len);
-
985 
-
991  int16_t explicitHeader();
-
992 
-
998  int16_t setRegulatorLDO();
-
999 
-
1005  int16_t setRegulatorDCDC();
-
1006 
-
1014  int16_t setEncoding(uint8_t encoding) override;
-
1015 
-
1017  void setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn);
-
1018 
-
1020  void setRfSwitchTable(const RADIOLIB_PIN_TYPE (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
+
424 #define RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE (33)
+
425 
+
432 class SX126x: public PhysicalLayer {
+
433  public:
+
434  // introduce PhysicalLayer overloads
+
435  using PhysicalLayer::transmit;
+
436  using PhysicalLayer::receive;
+
437  using PhysicalLayer::startTransmit;
+
438  using PhysicalLayer::readData;
+
439 
+
445  SX126x(Module* mod);
+
446 
+
447  Module* getMod();
+
448 
+
452  bool XTAL;
+
453 
+
454  // basic methods
+
455 
+
471  int16_t begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO = false);
+
472 
+
490  int16_t beginFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage, bool useRegulatorLDO = false);
+
491 
+
500  int16_t reset(bool verify = true);
+
501 
+
514  int16_t transmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
+
515 
+
526  int16_t receive(uint8_t* data, size_t len) override;
+
527 
+
535  int16_t transmitDirect(uint32_t frf = 0) override;
+
536 
+
543  int16_t receiveDirect() override;
+
544 
+
556  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);
+
557 
+
565  int16_t sleep(bool retainConfig = true);
+
566 
+
572  int16_t standby() override;
+
573 
+
581  int16_t standby(uint8_t mode);
+
582 
+
583  // interrupt methods
+
584 
+
590  void setDio1Action(void (*func)(void));
+
591 
+
595  void clearDio1Action();
+
596 
+
609  int16_t startTransmit(uint8_t* data, size_t len, uint8_t addr = 0) override;
+
610 
+
616  int16_t finishTransmit() override;
+
617 
+
630  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);
+
631 
+
646  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);
+
647 
+
663  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);
+
664 
+
670  uint16_t getIrqStatus();
+
671 
+
682  int16_t readData(uint8_t* data, size_t len) override;
+
683 
+
695  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);
+
696 
+
702  int16_t getChannelScanResult();
+
703 
+
704  // configuration methods
+
705 
+
713  int16_t setBandwidth(float bw);
+
714 
+
722  int16_t setSpreadingFactor(uint8_t sf);
+
723 
+
731  int16_t setCodingRate(uint8_t cr);
+
732 
+
742  int16_t setSyncWord(uint8_t syncWord, uint8_t controlBits = 0x44);
+
743 
+
751  int16_t setCurrentLimit(float currentLimit);
+
752 
+
758  float getCurrentLimit();
+
759 
+
767  int16_t setPreambleLength(uint16_t preambleLength);
+
768 
+
776  int16_t setFrequencyDeviation(float freqDev) override;
+
777 
+
785  int16_t setBitRate(float br);
+
786 
+
794  int16_t setRxBandwidth(float rxBw);
+
795 
+
805  int16_t setRxBoostedGainMode(bool rxbgm, bool persist = true);
+
806 
+
816  int16_t setDataShaping(uint8_t sh) override;
+
817 
+
827  int16_t setSyncWord(uint8_t* syncWord, uint8_t len);
+
828 
+
838  int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
+
839 
+
847  int16_t setNodeAddress(uint8_t nodeAddr);
+
848 
+
856  int16_t setBroadcastAddress(uint8_t broadAddr);
+
857 
+
863  int16_t disableAddressFiltering();
+
864 
+
878  int16_t setCRC(uint8_t len, uint16_t initial = 0x1D0F, uint16_t polynomial = 0x1021, bool inverted = true);
+
879 
+
889  int16_t setWhitening(bool enabled, uint16_t initial = 0x0100);
+
890 
+
901  int16_t setTCXO(float voltage, uint32_t delay = 5000);
+
902 
+
908  int16_t setDio2AsRfSwitch(bool enable = true);
+
909 
+
915  float getDataRate() const;
+
916 
+
922  float getRSSI();
+
923 
+
929  float getSNR();
+
930 
+
938  float getFrequencyError();
+
939 
+
947  size_t getPacketLength(bool update = true) override;
+
948 
+
956  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
+
957 
+
965  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_SX126X_MAX_PACKET_LENGTH);
+
966 
+
974  uint32_t getTimeOnAir(size_t len);
+
975 
+
981  float getRSSIInst();
+
982 
+
990  int16_t implicitHeader(size_t len);
+
991 
+
997  int16_t explicitHeader();
+
998 
+
1004  int16_t setRegulatorLDO();
+
1005 
+
1011  int16_t setRegulatorDCDC();
+
1012 
+
1020  int16_t setEncoding(uint8_t encoding) override;
1021 
-
1030  int16_t forceLDRO(bool enable);
-
1031 
-
1038  int16_t autoLDRO();
-
1039 
-
1045  uint8_t randomByte();
-
1046 
-
1047  #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
-
1053  void setDirectAction(void (*func)(void));
-
1054 
-
1060  void readBit(RADIOLIB_PIN_TYPE pin);
-
1061  #endif
-
1062 
-
1076  int16_t uploadPatch(const uint32_t* patch, size_t len, bool nonvolatile = true);
-
1077 
-
1089  int16_t spectralScanStart(uint16_t numScans, uint8_t window = RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval = RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US);
-
1090 
-
1094  void spectralScanAbort();
-
1095 
-
1101  int16_t spectralScanGetStatus();
-
1102 
-
1110  int16_t spectralScanGetResult(uint16_t* results);
-
1111 
-
1112 #if !defined(RADIOLIB_GODMODE)
-
1113  protected:
-
1114 #endif
-
1115  // SX126x SPI command implementations
-
1116  int16_t setTx(uint32_t timeout = 0);
-
1117  int16_t setRx(uint32_t timeout);
-
1118  int16_t setCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
-
1119  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);
-
1120  int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
-
1121  int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
-
1122  int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
-
1123  int16_t readBuffer(uint8_t* data, uint8_t numBytes);
-
1124  int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = RADIOLIB_SX126X_IRQ_NONE, uint16_t dio3Mask = RADIOLIB_SX126X_IRQ_NONE);
-
1125  virtual int16_t clearIrqStatus(uint16_t clearIrqParams = RADIOLIB_SX126X_IRQ_ALL);
-
1126  int16_t setRfFrequency(uint32_t frf);
-
1127  int16_t calibrateImage(uint8_t* data);
-
1128  uint8_t getPacketType();
-
1129  int16_t setTxParams(uint8_t power, uint8_t rampTime = RADIOLIB_SX126X_PA_RAMP_200U);
-
1130  int16_t setModulationParams(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
-
1131  int16_t setModulationParamsFSK(uint32_t br, uint8_t pulseShape, uint8_t rxBw, uint32_t freqDev);
-
1132  int16_t setPacketParams(uint16_t preambleLength, uint8_t crcType, uint8_t payloadLength, uint8_t headerType, uint8_t invertIQ = RADIOLIB_SX126X_LORA_IQ_STANDARD);
-
1133  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);
-
1134  int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
-
1135  int16_t setRegulatorMode(uint8_t mode);
-
1136  uint8_t getStatus();
-
1137  uint32_t getPacketStatus();
-
1138  uint16_t getDeviceErrors();
-
1139  int16_t clearDeviceErrors();
-
1140 
-
1141  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);
-
1142  int16_t setFrequencyRaw(float freq);
-
1143  int16_t setPacketMode(uint8_t mode, uint8_t len);
-
1144  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
-
1145  int16_t directMode();
-
1146  int16_t packetMode();
-
1147 
-
1148  // fixes to errata
-
1149  int16_t fixSensitivity();
-
1150  int16_t fixPaClamping(bool enable = true);
-
1151  int16_t fixImplicitTimeout();
-
1152  int16_t fixInvertedIQ(uint8_t iqConfig);
+
1023  void setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn);
+
1024 
+
1026  void setRfSwitchTable(const RADIOLIB_PIN_TYPE (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
+
1027 
+
1036  int16_t forceLDRO(bool enable);
+
1037 
+
1044  int16_t autoLDRO();
+
1045 
+
1051  uint8_t randomByte();
+
1052 
+
1053  #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
+
1059  void setDirectAction(void (*func)(void));
+
1060 
+
1066  void readBit(RADIOLIB_PIN_TYPE pin);
+
1067  #endif
+
1068 
+
1082  int16_t uploadPatch(const uint32_t* patch, size_t len, bool nonvolatile = true);
+
1083 
+
1095  int16_t spectralScanStart(uint16_t numScans, uint8_t window = RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval = RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US);
+
1096 
+
1100  void spectralScanAbort();
+
1101 
+
1107  int16_t spectralScanGetStatus();
+
1108 
+
1116  int16_t spectralScanGetResult(uint16_t* results);
+
1117 
+
1118 #if !defined(RADIOLIB_GODMODE)
+
1119  protected:
+
1120 #endif
+
1121  // SX126x SPI command implementations
+
1122  int16_t setTx(uint32_t timeout = 0);
+
1123  int16_t setRx(uint32_t timeout);
+
1124  int16_t setCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
+
1125  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);
+
1126  int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+
1127  int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+
1128  int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
+
1129  int16_t readBuffer(uint8_t* data, uint8_t numBytes);
+
1130  int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = RADIOLIB_SX126X_IRQ_NONE, uint16_t dio3Mask = RADIOLIB_SX126X_IRQ_NONE);
+
1131  virtual int16_t clearIrqStatus(uint16_t clearIrqParams = RADIOLIB_SX126X_IRQ_ALL);
+
1132  int16_t setRfFrequency(uint32_t frf);
+
1133  int16_t calibrateImage(uint8_t* data);
+
1134  uint8_t getPacketType();
+
1135  int16_t setTxParams(uint8_t power, uint8_t rampTime = RADIOLIB_SX126X_PA_RAMP_200U);
+
1136  int16_t setModulationParams(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
+
1137  int16_t setModulationParamsFSK(uint32_t br, uint8_t pulseShape, uint8_t rxBw, uint32_t freqDev);
+
1138  int16_t setPacketParams(uint16_t preambleLength, uint8_t crcType, uint8_t payloadLength, uint8_t headerType, uint8_t invertIQ = RADIOLIB_SX126X_LORA_IQ_STANDARD);
+
1139  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);
+
1140  int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
+
1141  int16_t setRegulatorMode(uint8_t mode);
+
1142  uint8_t getStatus();
+
1143  uint32_t getPacketStatus();
+
1144  uint16_t getDeviceErrors();
+
1145  int16_t clearDeviceErrors();
+
1146 
+
1147  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);
+
1148  int16_t setFrequencyRaw(float freq);
+
1149  int16_t setPacketMode(uint8_t mode, uint8_t len);
+
1150  int16_t setHeaderType(uint8_t headerType, size_t len = 0xFF);
+
1151  int16_t directMode();
+
1152  int16_t packetMode();
1153 
-
1154 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
-
1155  protected:
-
1156 #endif
-
1157  Module* _mod;
-
1158 
-
1159  // common low-level SPI interface
-
1160  static int16_t SPIparseStatus(uint8_t in);
-
1161 
-
1162 #if !defined(RADIOLIB_GODMODE)
-
1163  protected:
-
1164 #endif
-
1165 
-
1166  uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
-
1167  uint16_t _preambleLength = 0;
-
1168  float _bwKhz = 0;
-
1169  bool _ldroAuto = true;
-
1170 
-
1171  uint32_t _br = 0, _freqDev = 0;
-
1172  uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
-
1173  uint16_t _preambleLengthFSK = 0;
-
1174  float _rxBwKhz = 0;
-
1175 
-
1176  float _dataRate = 0;
-
1177 
-
1178  uint32_t _tcxoDelay = 0;
-
1179 
-
1180  size_t _implicitLen = 0;
-
1181  uint8_t _chipType = 0;
-
1182 
-
1183  // Allow subclasses to define different TX modes
-
1184  uint8_t _tx_mode = Module::MODE_TX;
+
1154  // fixes to errata
+
1155  int16_t fixSensitivity();
+
1156  int16_t fixPaClamping(bool enable = true);
+
1157  int16_t fixImplicitTimeout();
+
1158  int16_t fixInvertedIQ(uint8_t iqConfig);
+
1159 
+
1160 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
1161  protected:
+
1162 #endif
+
1163  Module* _mod;
+
1164 
+
1165  // common low-level SPI interface
+
1166  static int16_t SPIparseStatus(uint8_t in);
+
1167 
+
1168 #if !defined(RADIOLIB_GODMODE)
+
1169  protected:
+
1170 #endif
+
1171 
+
1172  uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
+
1173  uint16_t _preambleLength = 0;
+
1174  float _bwKhz = 0;
+
1175  bool _ldroAuto = true;
+
1176 
+
1177  uint32_t _br = 0, _freqDev = 0;
+
1178  uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
+
1179  uint16_t _preambleLengthFSK = 0;
+
1180  float _rxBwKhz = 0;
+
1181 
+
1182  float _dataRate = 0;
+
1183 
+
1184  uint32_t _tcxoDelay = 0;
1185 
-
1186  int16_t config(uint8_t modem);
-
1187  bool findChip(uint8_t type);
-
1188 };
-
1189 
-
1190 #endif
+
1186  size_t _implicitLen = 0;
+
1187  uint8_t _chipType = 0;
+
1188 
+
1189  // Allow subclasses to define different TX modes
+
1190  uint8_t _tx_mode = Module::MODE_TX;
1191 
-
1192 #endif
+
1192  int16_t config(uint8_t modem);
+
1193  bool findChip(uint8_t type);
+
1194 };
+
1195 
+
1196 #endif
+
1197 
+
1198 #endif
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:24
static const size_t RFSWITCH_MAX_PINS
The maximum number of pins supported by the RF switch code.
Definition: Module.h:35
@ MODE_TX
Definition: Module.h:64
@@ -762,74 +761,75 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
int16_t startTransmit(String &str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:133
virtual int16_t sleep()
Sets module to sleep.
Definition: PhysicalLayer.cpp:113
int16_t receive(String &str, size_t len=0)
Arduino String receive method.
Definition: PhysicalLayer.cpp:60
-
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:435
+
Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:432
+
float getFrequencyError()
Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x im...
Definition: SX126x.cpp:1244
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:576
void setDio1Action(void(*func)(void))
Sets interrupt service routine to call when DIO1 activates.
Definition: SX126x.cpp:459
float getRSSI()
Gets RSSI (Recorded Signal Strength Indicator) of the last received packet.
Definition: SX126x.cpp:1221
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:684
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:996
-
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: SX126x.cpp:1309
-
void setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1321
-
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:1381
-
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:1317
+
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: SX126x.cpp:1342
+
void setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: SX126x.cpp:1354
+
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:1414
+
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:1350
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:92
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:731
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)
Interrupt-driven receive method. DIO1 will be activated when full packet is received.
Definition: SX126x.cpp:536
-
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX126x.cpp:1305
-
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1329
+
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX126x.cpp:1338
+
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1362
int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: SX126x.cpp:1076
-
int16_t spectralScanGetStatus()
Read the status of spectral scan.
Definition: SX126x.cpp:1450
-
int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: SX126x.cpp:1470
+
int16_t spectralScanGetStatus()
Read the status of spectral scan.
Definition: SX126x.cpp:1483
+
int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: SX126x.cpp:1503
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:896
-
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: SX126x.cpp:1313
+
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: SX126x.cpp:1346
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:549
int16_t setWhitening(bool enabled, uint16_t initial=0x0100)
Sets FSK whitening parameters.
Definition: SX126x.cpp:1180
void clearDio1Action()
Clears interrupt service routine to call when DIO1 activates.
Definition: SX126x.cpp:463
-
int16_t spectralScanStart(uint16_t numScans, 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:1430
+
int16_t spectralScanStart(uint16_t numScans, 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:1463
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:417
int16_t standby() override
Sets the module to standby mode (overload for PhysicalLayer compatibility, uses 13 MHz RC oscillator)...
Definition: SX126x.cpp:447
int16_t setFrequencyDeviation(float freqDev) override
Sets FSK frequency deviation. Allowed values range from 0.0 to 200.0 kHz.
Definition: SX126x.cpp:854
int16_t setBitRate(float br)
Sets FSK bit rate. Allowed values range from 0.6 to 300.0 kbps.
Definition: SX126x.cpp:878
-
uint32_t getTimeOnAir(size_t len)
Get expected time-on-air for a given size of payload.
Definition: SX126x.cpp:1259
-
uint8_t randomByte()
Get one truly random byte from RSSI noise.
Definition: SX126x.cpp:1350
-
void spectralScanAbort()
Abort an ongoing spectral scan.
Definition: SX126x.cpp:1446
+
uint32_t getTimeOnAir(size_t len)
Get expected time-on-air for a given size of payload.
Definition: SX126x.cpp:1292
+
uint8_t randomByte()
Get one truly random byte from RSSI noise.
Definition: SX126x.cpp:1383
+
void spectralScanAbort()
Abort an ongoing spectral scan.
Definition: SX126x.cpp:1479
int16_t receiveDirect() override
Starts direct mode reception. Only implemented for PhysicalLayer compatibility, as SX126x series does...
Definition: SX126x.cpp:343
int16_t finishTransmit() override
Clean up after transmission is done.
Definition: SX126x.cpp:528
int16_t setCurrentLimit(float currentLimit)
Sets current protection limit. Can be set in 2.5 mA steps.
Definition: SX126x.cpp:819
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:959
int16_t transmitDirect(uint32_t frf=0) override
Starts direct mode transmission.
Definition: SX126x.cpp:327
-
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:1255
+
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:1288
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:13
int16_t setCRC(uint8_t len, uint16_t initial=0x1D0F, uint16_t polynomial=0x1021, bool inverted=true)
Sets CRC configuration.
Definition: SX126x.cpp:1121
-
uint16_t getIrqStatus()
Reads the current IRQ status.
Definition: SX126x.cpp:1622
+
uint16_t getIrqStatus()
Reads the current IRQ status.
Definition: SX126x.cpp:1655
int16_t reset(bool verify=true)
Reset method. Will reset the chip to the default state using RST pin.
Definition: SX126x.cpp:186
int16_t setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)
Sets LoRa sync word.
Definition: SX126x.cpp:808
float getCurrentLimit()
Reads current protection limit.
Definition: SX126x.cpp:832
SX126x(Module *mod)
Default constructor.
Definition: SX126x.cpp:4
int16_t setPreambleLength(uint16_t preambleLength)
Sets preamble length for LoRa or FSK modem. Allowed values range from 1 to 65535.
Definition: SX126x.cpp:841
int16_t transmit(__FlashStringHelper *fstr, uint8_t addr=0)
Arduino Flash String transmit method.
Definition: PhysicalLayer.cpp:12
-
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1341
-
void setDirectAction(void(*func)(void))
Set interrupt service routine function to call when data bit is receveid in direct mode.
Definition: SX126x.cpp:1372
-
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:1251
+
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1374
+
void setDirectAction(void(*func)(void))
Set interrupt service routine function to call when data bit is receveid in direct mode.
Definition: SX126x.cpp:1405
+
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:1284
int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: SX126x.cpp:1093
int16_t getChannelScanResult()
Read the channel scan result.
Definition: SX126x.cpp:710
-
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: SX126x.cpp:1244
+
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: SX126x.cpp:1277
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:1049
float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: SX126x.cpp:1217
-
void setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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:1325
-
bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: SX126x.h:455
-
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX126x.cpp:1301
-
float getRSSIInst()
Get instantaneous RSSI value during recption of the packet. Should switch to FSK receive mode for LBT...
Definition: SX126x.cpp:1294
+
void setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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:1358
+
bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: SX126x.h:452
+
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX126x.cpp:1334
+
float getRSSIInst()
Get instantaneous RSSI value during recption of the packet. Should switch to FSK receive mode for LBT...
Definition: SX126x.cpp:1327
float getSNR()
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: SX126x.cpp:1228
-
int16_t setDio2AsRfSwitch(bool enable=true)
Set DIO2 to function as RF switch (default in Semtech example designs).
Definition: SX126x.cpp:1523
-
int16_t spectralScanGetResult(uint16_t *results)
Read the result of spectral scan.
Definition: SX126x.cpp:1458
+
int16_t setDio2AsRfSwitch(bool enable=true)
Set DIO2 to function as RF switch (default in Semtech example designs).
Definition: SX126x.cpp:1556
+
int16_t spectralScanGetResult(uint16_t *results)
Read the result of spectral scan.
Definition: SX126x.cpp:1491
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa spreading factor. Allowed values range from 5 to 12.
Definition: SX126x.cpp:782
int16_t readData(String &str, size_t len=0)
Reads data that was received after calling startReceive method.
Definition: PhysicalLayer.cpp:152
int16_t startTransmit(String &str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:133
int16_t receive(String &str, size_t len=0)
Arduino String receive method.
Definition: PhysicalLayer.cpp:60
int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: SX126x.cpp:1110
int16_t setCodingRate(uint8_t cr)
Sets LoRa coding rate denominator. Allowed values range from 5 to 8.
Definition: SX126x.cpp:795
-
void readBit(RADIOLIB_PIN_TYPE pin)
Function to read and process data bit in direct reception mode.
Definition: SX126x.cpp:1376
+
void readBit(RADIOLIB_PIN_TYPE pin)
Function to read and process data bit in direct reception mode.
Definition: SX126x.cpp:1409
Definition: Module.h:42
diff --git a/class_l_l_c_c68-members.html b/class_l_l_c_c68-members.html index b2ba7111..5a6a6be5 100644 --- a/class_l_l_c_c68-members.html +++ b/class_l_l_c_c68-members.html @@ -107,96 +107,97 @@ $(document).ready(function(){initNavTree('class_l_l_c_c68.html',''); initResizab getCurrentLimit()SX126x getDataRate() constSX126x getFreqStep() constPhysicalLayer - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI()SX126xvirtual - getRSSIInst()SX126x - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - LLCC68(Module *mod)LLCC68 - PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(String &str, size_t len=0)SX126x - readData(uint8_t *data, size_t len)SX126x - PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(String &str, size_t len=0)SX126x - receive(uint8_t *data, size_t len)SX126x - PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer - 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(RADIOLIB_PIN_TYPE pin, uint8_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(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x - setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer - 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(__FlashStringHelper *fstr, uint8_t addr=0)SX126x - transmit(String &str, uint8_t addr=0)SX126x - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer - PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer - 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 + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI()SX126xvirtual + getRSSIInst()SX126x + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + LLCC68(Module *mod)LLCC68 + PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(String &str, size_t len=0)SX126x + readData(uint8_t *data, size_t len)SX126x + PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(String &str, size_t len=0)SX126x + receive(uint8_t *data, size_t len)SX126x + PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer + 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(RADIOLIB_PIN_TYPE pin, uint8_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(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x + setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer + 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(__FlashStringHelper *fstr, uint8_t addr=0)SX126x + transmit(String &str, uint8_t addr=0)SX126x + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer + PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer + 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 aeb668db..d3174d4d 100644 --- a/class_l_l_c_c68.html +++ b/class_l_l_c_c68.html @@ -288,6 +288,9 @@ void float getSNR ()  Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem. More...
  +float getFrequencyError () + Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x implementation and not documented on SX126x. While it seems to be working, it should be used with caution! More...
+  size_t getPacketLength (bool update=true) override  Query modem for the packet length of received payload. More...
  diff --git a/class_s_t_m32_w_lx-members.html b/class_s_t_m32_w_lx-members.html index e3bd65df..4660a630 100644 --- a/class_s_t_m32_w_lx-members.html +++ b/class_s_t_m32_w_lx-members.html @@ -107,103 +107,104 @@ $(document).ready(function(){initNavTree('class_s_t_m32_w_lx.html',''); initResi getCurrentLimit()SX126x getDataRate() constSX126x getFreqStep() constPhysicalLayer - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI()SX126xvirtual - getRSSIInst()SX126x - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)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 freqStep, size_t maxPacketLength)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(String &str, size_t len=0)SX126x - readData(uint8_t *data, size_t len)SX126x - PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(String &str, size_t len=0)SX126x - receive(uint8_t *data, size_t len)SX126x - PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer - 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(RADIOLIB_PIN_TYPE pin, uint8_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(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x - setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])STM32WLx - SX1262::setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer - 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(__FlashStringHelper *fstr, uint8_t addr=0)SX126x - transmit(String &str, uint8_t addr=0)SX126x - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer - PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer - 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 + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI()SX126xvirtual + getRSSIInst()SX126x + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)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 freqStep, size_t maxPacketLength)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(String &str, size_t len=0)SX126x + readData(uint8_t *data, size_t len)SX126x + PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(String &str, size_t len=0)SX126x + receive(uint8_t *data, size_t len)SX126x + PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer + 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(RADIOLIB_PIN_TYPE pin, uint8_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(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x + setRfSwitchTable(const RADIOLIB_PIN_TYPE(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])STM32WLx + SX1262::setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer + 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(__FlashStringHelper *fstr, uint8_t addr=0)SX126x + transmit(String &str, uint8_t addr=0)SX126x + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer + PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer + 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 b9163b82..0ca142e6 100644 --- a/class_s_t_m32_w_lx.html +++ b/class_s_t_m32_w_lx.html @@ -310,6 +310,9 @@ void float getSNR ()  Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem. More...
  +float getFrequencyError () + Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x implementation and not documented on SX126x. While it seems to be working, it should be used with caution! More...
+  size_t getPacketLength (bool update=true) override  Query modem for the packet length of received payload. More...
  diff --git a/class_s_x1261-members.html b/class_s_x1261-members.html index d6a99c85..d4837b65 100644 --- a/class_s_x1261-members.html +++ b/class_s_x1261-members.html @@ -107,96 +107,97 @@ $(document).ready(function(){initNavTree('class_s_x1261.html',''); initResizable getCurrentLimit()SX126x getDataRate() constSX126x getFreqStep() constPhysicalLayer - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI()SX126xvirtual - getRSSIInst()SX126x - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(String &str, size_t len=0)SX126x - readData(uint8_t *data, size_t len)SX126x - PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(String &str, size_t len=0)SX126x - receive(uint8_t *data, size_t len)SX126x - PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer - 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(RADIOLIB_PIN_TYPE pin, uint8_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(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x - setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer - 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(__FlashStringHelper *fstr, uint8_t addr=0)SX126x - transmit(String &str, uint8_t addr=0)SX126x - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer - PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer - 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 + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI()SX126xvirtual + getRSSIInst()SX126x + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(String &str, size_t len=0)SX126x + readData(uint8_t *data, size_t len)SX126x + PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(String &str, size_t len=0)SX126x + receive(uint8_t *data, size_t len)SX126x + PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer + 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(RADIOLIB_PIN_TYPE pin, uint8_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(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x + setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer + 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(__FlashStringHelper *fstr, uint8_t addr=0)SX126x + transmit(String &str, uint8_t addr=0)SX126x + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer + PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer + 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 d90c231d..7b821ce6 100644 --- a/class_s_x1261.html +++ b/class_s_x1261.html @@ -279,6 +279,9 @@ void float getSNR ()  Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem. More...
  +float getFrequencyError () + Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x implementation and not documented on SX126x. While it seems to be working, it should be used with caution! More...
+  size_t getPacketLength (bool update=true) override  Query modem for the packet length of received payload. More...
  diff --git a/class_s_x1262-members.html b/class_s_x1262-members.html index 24af491d..f6397e95 100644 --- a/class_s_x1262-members.html +++ b/class_s_x1262-members.html @@ -107,95 +107,96 @@ $(document).ready(function(){initNavTree('class_s_x1262.html',''); initResizable getCurrentLimit()SX126x getDataRate() constSX126x getFreqStep() constPhysicalLayer - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI()SX126xvirtual - getRSSIInst()SX126x - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(String &str, size_t len=0)SX126x - readData(uint8_t *data, size_t len)SX126x - PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(String &str, size_t len=0)SX126x - receive(uint8_t *data, size_t len)SX126x - PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer - 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(RADIOLIB_PIN_TYPE pin, uint8_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(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x - setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer - 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(__FlashStringHelper *fstr, uint8_t addr=0)SX126x - transmit(String &str, uint8_t addr=0)SX126x - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer - PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer - 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 + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI()SX126xvirtual + getRSSIInst()SX126x + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(String &str, size_t len=0)SX126x + readData(uint8_t *data, size_t len)SX126x + PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(String &str, size_t len=0)SX126x + receive(uint8_t *data, size_t len)SX126x + PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer + 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(RADIOLIB_PIN_TYPE pin, uint8_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(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x + setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer + 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(__FlashStringHelper *fstr, uint8_t addr=0)SX126x + transmit(String &str, uint8_t addr=0)SX126x + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer + PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer + 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 f772e9c8..e773ff9e 100644 --- a/class_s_x1262.html +++ b/class_s_x1262.html @@ -277,6 +277,9 @@ void float getSNR ()  Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem. More...
  +float getFrequencyError () + Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x implementation and not documented on SX126x. While it seems to be working, it should be used with caution! More...
+  size_t getPacketLength (bool update=true) override  Query modem for the packet length of received payload. More...
  diff --git a/class_s_x1268-members.html b/class_s_x1268-members.html index 3fda90f5..f81b06ff 100644 --- a/class_s_x1268-members.html +++ b/class_s_x1268-members.html @@ -106,95 +106,96 @@ $(document).ready(function(){initNavTree('class_s_x1268.html',''); initResizable getCurrentLimit()SX126x getDataRate() constSX126x getFreqStep() constPhysicalLayer - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI()SX126xvirtual - getRSSIInst()SX126x - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(String &str, size_t len=0)SX126x - readData(uint8_t *data, size_t len)SX126x - PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(String &str, size_t len=0)SX126x - receive(uint8_t *data, size_t len)SX126x - PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer - 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(RADIOLIB_PIN_TYPE pin, uint8_t value)PhysicalLayervirtual - setDirectAction(void(*func)(void))SX126xvirtual - setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer - setEncoding(uint8_t encoding) overrideSX126xvirtual - setFrequency(float freq)SX1268virtual - setFrequency(float freq, bool calibrate)SX1268 - setFrequencyDeviation(float freqDev) overrideSX126xvirtual - setNodeAddress(uint8_t nodeAddr)SX126x - setOutputPower(int8_t power)SX1268 - setPreambleLength(uint16_t preambleLength)SX126x - setRegulatorDCDC()SX126x - setRegulatorLDO()SX126x - setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x - setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer - PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer - SX1268(Module *mod)SX1268 - SX126x(Module *mod)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - transmit(__FlashStringHelper *fstr, uint8_t addr=0)SX126x - transmit(String &str, uint8_t addr=0)SX126x - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer - PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer - 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 + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI()SX126xvirtual + getRSSIInst()SX126x + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(String &str, size_t len=0)SX126x + readData(uint8_t *data, size_t len)SX126x + PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(String &str, size_t len=0)SX126x + receive(uint8_t *data, size_t len)SX126x + PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer + 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(RADIOLIB_PIN_TYPE pin, uint8_t value)PhysicalLayervirtual + setDirectAction(void(*func)(void))SX126xvirtual + setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer + setEncoding(uint8_t encoding) overrideSX126xvirtual + setFrequency(float freq)SX1268virtual + setFrequency(float freq, bool calibrate)SX1268 + setFrequencyDeviation(float freqDev) overrideSX126xvirtual + setNodeAddress(uint8_t nodeAddr)SX126x + setOutputPower(int8_t power)SX1268 + setPreambleLength(uint16_t preambleLength)SX126x + setRegulatorDCDC()SX126x + setRegulatorLDO()SX126x + setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x + setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer + PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer + SX1268(Module *mod)SX1268 + SX126x(Module *mod)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + transmit(__FlashStringHelper *fstr, uint8_t addr=0)SX126x + transmit(String &str, uint8_t addr=0)SX126x + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer + PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer + 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_x1268.html b/class_s_x1268.html index 298fbfec..85cde4ef 100644 --- a/class_s_x1268.html +++ b/class_s_x1268.html @@ -271,6 +271,9 @@ void float getSNR ()  Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem. More...
  +float getFrequencyError () + Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x implementation and not documented on SX126x. While it seems to be working, it should be used with caution! More...
+  size_t getPacketLength (bool update=true) override  Query modem for the packet length of received payload. More...
  diff --git a/class_s_x126x-members.html b/class_s_x126x-members.html index 6ee92dc5..f7ec81ce 100644 --- a/class_s_x126x-members.html +++ b/class_s_x126x-members.html @@ -104,92 +104,93 @@ $(document).ready(function(){initNavTree('class_s_x126x.html',''); initResizable getCurrentLimit()SX126x getDataRate() constSX126x getFreqStep() constPhysicalLayer - getIrqStatus()SX126x - getMod() (defined in SX126x)SX126xvirtual - getPacketLength(bool update=true) overrideSX126xvirtual - getRSSI()SX126xvirtual - getRSSIInst()SX126x - getSNR()SX126xvirtual - getTimeOnAir(size_t len)SX126x - implicitHeader(size_t len)SX126x - PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer - random(int32_t max)PhysicalLayer - random(int32_t min, int32_t max)PhysicalLayer - randomByte()SX126xvirtual - read(bool drop=true)PhysicalLayer - readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual - readData(uint8_t *data, size_t len) overrideSX126xvirtual - readData(String &str, size_t len=0)SX126x - readData(uint8_t *data, size_t len)SX126x - PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer - receive(uint8_t *data, size_t len) overrideSX126xvirtual - receive(String &str, size_t len=0)SX126x - receive(uint8_t *data, size_t len)SX126x - PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer - 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(RADIOLIB_PIN_TYPE pin, uint8_t value)PhysicalLayervirtual - setDirectAction(void(*func)(void))SX126xvirtual - setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer - setEncoding(uint8_t encoding) overrideSX126xvirtual - setFrequency(float freq)PhysicalLayervirtual - setFrequencyDeviation(float freqDev) overrideSX126xvirtual - setNodeAddress(uint8_t nodeAddr)SX126x - setPreambleLength(uint16_t preambleLength)SX126x - setRegulatorDCDC()SX126x - setRegulatorLDO()SX126x - setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x - setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x - startTransmit(const char *str, uint8_t addr=0)SX126x - startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer - PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer - SX126x(Module *mod)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual - transmit(__FlashStringHelper *fstr, uint8_t addr=0)SX126x - transmit(String &str, uint8_t addr=0)SX126x - transmit(const char *str, uint8_t addr=0)SX126x - transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x - PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer - PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer - 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 + getFrequencyError()SX126x + getIrqStatus()SX126x + getMod() (defined in SX126x)SX126xvirtual + getPacketLength(bool update=true) overrideSX126xvirtual + getRSSI()SX126xvirtual + getRSSIInst()SX126x + getSNR()SX126xvirtual + getTimeOnAir(size_t len)SX126x + implicitHeader(size_t len)SX126x + PhysicalLayer(float freqStep, size_t maxPacketLength)PhysicalLayer + random(int32_t max)PhysicalLayer + random(int32_t min, int32_t max)PhysicalLayer + randomByte()SX126xvirtual + read(bool drop=true)PhysicalLayer + readBit(RADIOLIB_PIN_TYPE pin)SX126xvirtual + readData(uint8_t *data, size_t len) overrideSX126xvirtual + readData(String &str, size_t len=0)SX126x + readData(uint8_t *data, size_t len)SX126x + PhysicalLayer::readData(String &str, size_t len=0)PhysicalLayer + receive(uint8_t *data, size_t len) overrideSX126xvirtual + receive(String &str, size_t len=0)SX126x + receive(uint8_t *data, size_t len)SX126x + PhysicalLayer::receive(String &str, size_t len=0)PhysicalLayer + 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(RADIOLIB_PIN_TYPE pin, uint8_t value)PhysicalLayervirtual + setDirectAction(void(*func)(void))SX126xvirtual + setDirectSyncWord(uint32_t syncWord, uint8_t len)PhysicalLayer + setEncoding(uint8_t encoding) overrideSX126xvirtual + setFrequency(float freq)PhysicalLayervirtual + setFrequencyDeviation(float freqDev) overrideSX126xvirtual + setNodeAddress(uint8_t nodeAddr)SX126x + setPreambleLength(uint16_t preambleLength)SX126x + setRegulatorDCDC()SX126x + setRegulatorLDO()SX126x + setRfSwitchPins(RADIOLIB_PIN_TYPE rxEn, RADIOLIB_PIN_TYPE txEn)SX126x + setRfSwitchTable(const RADIOLIB_PIN_TYPE(&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 numScans, 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)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(String &str, uint8_t addr=0)SX126x + startTransmit(const char *str, uint8_t addr=0)SX126x + startTransmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::startTransmit(String &str, uint8_t addr=0)PhysicalLayer + PhysicalLayer::startTransmit(const char *str, uint8_t addr=0)PhysicalLayer + SX126x(Module *mod)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0) overrideSX126xvirtual + transmit(__FlashStringHelper *fstr, uint8_t addr=0)SX126x + transmit(String &str, uint8_t addr=0)SX126x + transmit(const char *str, uint8_t addr=0)SX126x + transmit(uint8_t *data, size_t len, uint8_t addr=0)SX126x + PhysicalLayer::transmit(__FlashStringHelper *fstr, uint8_t addr=0)PhysicalLayer + PhysicalLayer::transmit(String &str, uint8_t addr=0)PhysicalLayer + 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_x126x.html b/class_s_x126x.html index 137a6f9e..c5c0ab3a 100644 --- a/class_s_x126x.html +++ b/class_s_x126x.html @@ -257,6 +257,9 @@ void float getSNR ()  Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem. More...
  +float getFrequencyError () + Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x implementation and not documented on SX126x. While it seems to be working, it should be used with caution! More...
+  size_t getPacketLength (bool update=true) override  Query modem for the packet length of received payload. More...
  @@ -781,6 +784,26 @@ bool 
Returns
Effective data rate in bps.
+ + +
+

◆ getFrequencyError()

+ +
+
+ + + + + + + +
float SX126x::getFrequencyError ()
+
+ +

Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x implementation and not documented on SX126x. While it seems to be working, it should be used with caution!

+
Returns
Frequency error in Hz.
+
diff --git a/class_s_x126x.js b/class_s_x126x.js index 6e4f2227..c56fbd72 100644 --- a/class_s_x126x.js +++ b/class_s_x126x.js @@ -13,6 +13,7 @@ var class_s_x126x = [ "getChannelScanResult", "class_s_x126x.html#abf1c3d6fa419a1e3ef11db63d3f46f8f", null ], [ "getCurrentLimit", "class_s_x126x.html#aa668babb0bd129b2facee9fd280525ab", null ], [ "getDataRate", "class_s_x126x.html#acbe2d75b1e2df8bcc58c4fd9d8e6e4f9", null ], + [ "getFrequencyError", "class_s_x126x.html#a068d709ffb79ae66d718ffb76ffae997", null ], [ "getIrqStatus", "class_s_x126x.html#a9a9b090eddcb811ee19b595debfab1df", null ], [ "getMod", "class_s_x126x.html#aae1af90432c457e5bf8f8f362295399b", null ], [ "getPacketLength", "class_s_x126x.html#ac4ef8c8751a3c09d64e431684840c987", null ], diff --git a/functions_func_g.html b/functions_func_g.html index 6d212ec4..7838ee8a 100644 --- a/functions_func_g.html +++ b/functions_func_g.html @@ -124,7 +124,8 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza , RF69
  • getFrequencyError() -: SX127x +: SX126x +, SX127x , SX128x
  • getGpio() diff --git a/functions_g.html b/functions_g.html index da4b8eb4..3d1c919d 100644 --- a/functions_g.html +++ b/functions_g.html @@ -124,7 +124,8 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable() , RF69
  • getFrequencyError() -: SX127x +: SX126x +, SX127x , SX128x
  • getGpio() diff --git a/navtreedata.js b/navtreedata.js index ede4f819..0642de8f 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -52,8 +52,8 @@ var NAVTREEINDEX = "_a_f_s_k_8h_source.html", "class_module.html#a870c63233146d03380f753498c975050", "class_s_s_t_v_client.html#a3769dcdebf8b1fa01eb2d8bd2bb3815a", -"class_s_x127x.html#ac74c5914ca429a3892c66b9d98e3ea6c", -"functions_func_m.html" +"class_s_x127x.html#ac5d2ddb517e474a699b4539653b3754d", +"functions_func_l.html" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/navtreeindex2.js b/navtreeindex2.js index 648b5246..18d7ccc6 100644 --- a/navtreeindex2.js +++ b/navtreeindex2.js @@ -44,88 +44,89 @@ var NAVTREEINDEX2 = "class_s_x1268.html#ad9e92b39ae0fdfa47131ddf7adb92b71":[3,0,34,1], "class_s_x1268.html#af6b041392136b599eec57085e2067a6f":[3,0,34,2], "class_s_x126x.html":[3,0,35], -"class_s_x126x.html#a077f180905ce4818cbdacad0cd9fe841":[3,0,35,68], -"class_s_x126x.html#a0da667fe702d7b4aafaa4bf7e69ea40d":[3,0,35,39], -"class_s_x126x.html#a0e5f0032a91686b9673a48c908eb1925":[3,0,35,16], -"class_s_x126x.html#a10a0e75571350fb05fa100e5d5151be2":[3,0,35,65], -"class_s_x126x.html#a1d8f4deb555844b24c2426dd86e69676":[3,0,35,38], -"class_s_x126x.html#a21c263ce1a339faa74c568d9afb81cd2":[3,0,35,47], -"class_s_x126x.html#a288257242e483cb3eb6944333179dd26":[3,0,35,48], -"class_s_x126x.html#a2af78b744b3e61d3857bed93c3b1bde1":[3,0,35,79], -"class_s_x126x.html#a2b3eb51117558c58384b03de4b7bfe60":[3,0,35,42], +"class_s_x126x.html#a068d709ffb79ae66d718ffb76ffae997":[3,0,35,13], +"class_s_x126x.html#a077f180905ce4818cbdacad0cd9fe841":[3,0,35,69], +"class_s_x126x.html#a0da667fe702d7b4aafaa4bf7e69ea40d":[3,0,35,40], +"class_s_x126x.html#a0e5f0032a91686b9673a48c908eb1925":[3,0,35,17], +"class_s_x126x.html#a10a0e75571350fb05fa100e5d5151be2":[3,0,35,66], +"class_s_x126x.html#a1d8f4deb555844b24c2426dd86e69676":[3,0,35,39], +"class_s_x126x.html#a21c263ce1a339faa74c568d9afb81cd2":[3,0,35,48], +"class_s_x126x.html#a288257242e483cb3eb6944333179dd26":[3,0,35,49], +"class_s_x126x.html#a2af78b744b3e61d3857bed93c3b1bde1":[3,0,35,80], +"class_s_x126x.html#a2b3eb51117558c58384b03de4b7bfe60":[3,0,35,43], "class_s_x126x.html#a2e500e5b6044ccab8f6b19af4ffa917c":[3,0,35,3], -"class_s_x126x.html#a2f60df59c80241d98ce078c0417a7f08":[3,0,35,32], -"class_s_x126x.html#a3350cbfab628956c1a456383ac7bb2b2":[3,0,35,25], -"class_s_x126x.html#a34057f054d1cd3cce520ddf87b0821d5":[3,0,35,66], -"class_s_x126x.html#a3563453988a83d22dd07d4691543a300":[3,0,35,24], +"class_s_x126x.html#a2f60df59c80241d98ce078c0417a7f08":[3,0,35,33], +"class_s_x126x.html#a3350cbfab628956c1a456383ac7bb2b2":[3,0,35,26], +"class_s_x126x.html#a34057f054d1cd3cce520ddf87b0821d5":[3,0,35,67], +"class_s_x126x.html#a3563453988a83d22dd07d4691543a300":[3,0,35,25], "class_s_x126x.html#a3765f534418d4e0540c179621c019138":[3,0,35,6], -"class_s_x126x.html#a38e6d7831f35893a5b8328c10a2901bf":[3,0,35,54], -"class_s_x126x.html#a3dd42f8d5569487ea74f004ca652a709":[3,0,35,76], +"class_s_x126x.html#a38e6d7831f35893a5b8328c10a2901bf":[3,0,35,55], +"class_s_x126x.html#a3dd42f8d5569487ea74f004ca652a709":[3,0,35,77], "class_s_x126x.html#a420c23bb1861646e29f44c0f4c646ee8":[3,0,35,9], -"class_s_x126x.html#a492b2d057dd803c3884fa1adc8e22534":[3,0,35,74], -"class_s_x126x.html#a514cabe74bbe3434d7e4f244c4077752":[3,0,35,44], -"class_s_x126x.html#a5595fff99d76d50d711b8cdad98527c4":[3,0,35,61], -"class_s_x126x.html#a57bee6f4b3a3b7ec646ac8de347ee0d6":[3,0,35,56], -"class_s_x126x.html#a59d443c02d4620cda32c63a00c6bcc22":[3,0,35,50], -"class_s_x126x.html#a5ae69309ca0cf5f13c60f2d162916ff8":[3,0,35,46], -"class_s_x126x.html#a5b4f8a41b593436b8c7a2a2d46ac387e":[3,0,35,67], -"class_s_x126x.html#a67702de41ae866b9f9d73234fc9ae376":[3,0,35,57], +"class_s_x126x.html#a492b2d057dd803c3884fa1adc8e22534":[3,0,35,75], +"class_s_x126x.html#a514cabe74bbe3434d7e4f244c4077752":[3,0,35,45], +"class_s_x126x.html#a5595fff99d76d50d711b8cdad98527c4":[3,0,35,62], +"class_s_x126x.html#a57bee6f4b3a3b7ec646ac8de347ee0d6":[3,0,35,57], +"class_s_x126x.html#a59d443c02d4620cda32c63a00c6bcc22":[3,0,35,51], +"class_s_x126x.html#a5ae69309ca0cf5f13c60f2d162916ff8":[3,0,35,47], +"class_s_x126x.html#a5b4f8a41b593436b8c7a2a2d46ac387e":[3,0,35,68], +"class_s_x126x.html#a67702de41ae866b9f9d73234fc9ae376":[3,0,35,58], "class_s_x126x.html#a6848afe4c16a47edb3e0b342a86ecdfd":[3,0,35,4], -"class_s_x126x.html#a6a5ed11f9932a065438d073e7790a0e0":[3,0,35,62], -"class_s_x126x.html#a755e7df4b0958f7c793d0c058408831a":[3,0,35,31], -"class_s_x126x.html#a7a1579e2557c36a4a34b09039c0d0c71":[3,0,35,63], -"class_s_x126x.html#a7cd95a5f2e39ae8fb1a3040e77fa21a3":[3,0,35,43], -"class_s_x126x.html#a7deeef45d7f64a4018a3e56aaea4eb0e":[3,0,35,33], -"class_s_x126x.html#a7e342ddbef84cf845bef8f4448b8da10":[3,0,35,19], -"class_s_x126x.html#a819bb3ced0f184a63cbfbef408a68561":[3,0,35,21], -"class_s_x126x.html#a865397e1cca38bec2d055c047825ea07":[3,0,35,59], -"class_s_x126x.html#a8a18aee2bf05793aa29b5cf6b47bb435":[3,0,35,29], +"class_s_x126x.html#a6a5ed11f9932a065438d073e7790a0e0":[3,0,35,63], +"class_s_x126x.html#a755e7df4b0958f7c793d0c058408831a":[3,0,35,32], +"class_s_x126x.html#a7a1579e2557c36a4a34b09039c0d0c71":[3,0,35,64], +"class_s_x126x.html#a7cd95a5f2e39ae8fb1a3040e77fa21a3":[3,0,35,44], +"class_s_x126x.html#a7deeef45d7f64a4018a3e56aaea4eb0e":[3,0,35,34], +"class_s_x126x.html#a7e342ddbef84cf845bef8f4448b8da10":[3,0,35,20], +"class_s_x126x.html#a819bb3ced0f184a63cbfbef408a68561":[3,0,35,22], +"class_s_x126x.html#a865397e1cca38bec2d055c047825ea07":[3,0,35,60], +"class_s_x126x.html#a8a18aee2bf05793aa29b5cf6b47bb435":[3,0,35,30], "class_s_x126x.html#a8e22d67b64953c8b4da779d87d563f3e":[3,0,35,7], -"class_s_x126x.html#a8f971dca834be7e0470a9a9f0c01854e":[3,0,35,37], -"class_s_x126x.html#a920aa76ff5f0f579424ef6de92e588c8":[3,0,35,51], -"class_s_x126x.html#a921aa8afb8d33b2660731c1f8d67664b":[3,0,35,78], -"class_s_x126x.html#a923654706eff5118ef6e84214e837f27":[3,0,35,69], -"class_s_x126x.html#a92c157efe751b4ae73d22ff44115285d":[3,0,35,80], +"class_s_x126x.html#a8f971dca834be7e0470a9a9f0c01854e":[3,0,35,38], +"class_s_x126x.html#a920aa76ff5f0f579424ef6de92e588c8":[3,0,35,52], +"class_s_x126x.html#a921aa8afb8d33b2660731c1f8d67664b":[3,0,35,79], +"class_s_x126x.html#a923654706eff5118ef6e84214e837f27":[3,0,35,70], +"class_s_x126x.html#a92c157efe751b4ae73d22ff44115285d":[3,0,35,81], "class_s_x126x.html#a936a40038e05740a528f2b53f8e17010":[3,0,35,2], -"class_s_x126x.html#a95007639c2648a1dbb614493224606f1":[3,0,35,36], -"class_s_x126x.html#a9a9b090eddcb811ee19b595debfab1df":[3,0,35,13], -"class_s_x126x.html#a9aa6dd05dd32ef717a06cc8ba28ff71f":[3,0,35,30], -"class_s_x126x.html#a9d92dce566f8aefa836fe8f332e9560f":[3,0,35,55], +"class_s_x126x.html#a95007639c2648a1dbb614493224606f1":[3,0,35,37], +"class_s_x126x.html#a9a9b090eddcb811ee19b595debfab1df":[3,0,35,14], +"class_s_x126x.html#a9aa6dd05dd32ef717a06cc8ba28ff71f":[3,0,35,31], +"class_s_x126x.html#a9d92dce566f8aefa836fe8f332e9560f":[3,0,35,56], "class_s_x126x.html#aa668babb0bd129b2facee9fd280525ab":[3,0,35,11], -"class_s_x126x.html#aab18364237ddac0c56aeaf63f08cf009":[3,0,35,77], +"class_s_x126x.html#aab18364237ddac0c56aeaf63f08cf009":[3,0,35,78], "class_s_x126x.html#aaca5a8fa8a3e634dd1b5b4c2bb5058d8":[3,0,35,0], -"class_s_x126x.html#aae1af90432c457e5bf8f8f362295399b":[3,0,35,14], -"class_s_x126x.html#ab00f765bbfbfaa8c693532ea3a90c29b":[3,0,35,45], -"class_s_x126x.html#ab139a34e03a6fd5a781cd54da21d308f":[3,0,35,73], -"class_s_x126x.html#ab82617fa3fa9f21d4cd427314ecc4af8":[3,0,35,27], -"class_s_x126x.html#ab843614658a79db7aa24e48d5b6e84f1":[3,0,35,72], +"class_s_x126x.html#aae1af90432c457e5bf8f8f362295399b":[3,0,35,15], +"class_s_x126x.html#ab00f765bbfbfaa8c693532ea3a90c29b":[3,0,35,46], +"class_s_x126x.html#ab139a34e03a6fd5a781cd54da21d308f":[3,0,35,74], +"class_s_x126x.html#ab82617fa3fa9f21d4cd427314ecc4af8":[3,0,35,28], +"class_s_x126x.html#ab843614658a79db7aa24e48d5b6e84f1":[3,0,35,73], "class_s_x126x.html#ab9ce38cfeaa36ddcc2d82b2974d7088c":[3,0,35,1], -"class_s_x126x.html#abbf8b4623da8c2caa83a8c3d35a44d0a":[3,0,35,41], +"class_s_x126x.html#abbf8b4623da8c2caa83a8c3d35a44d0a":[3,0,35,42], "class_s_x126x.html#abc3a4f9213b2a7052e97c2e3a0bf45a5":[3,0,35,8], -"class_s_x126x.html#abd8eea7e468db3d6064c19d4934d5034":[3,0,35,34], +"class_s_x126x.html#abd8eea7e468db3d6064c19d4934d5034":[3,0,35,35], "class_s_x126x.html#abf1c3d6fa419a1e3ef11db63d3f46f8f":[3,0,35,10], -"class_s_x126x.html#ac4ef8c8751a3c09d64e431684840c987":[3,0,35,15], -"class_s_x126x.html#ac594fbb30c5010658c970a64654c7162":[3,0,35,53], +"class_s_x126x.html#ac4ef8c8751a3c09d64e431684840c987":[3,0,35,16], +"class_s_x126x.html#ac594fbb30c5010658c970a64654c7162":[3,0,35,54], "class_s_x126x.html#acbe2d75b1e2df8bcc58c4fd9d8e6e4f9":[3,0,35,12], -"class_s_x126x.html#ad59e37ce0606dc8051e40be9d14cfec3":[3,0,35,71], -"class_s_x126x.html#ad7569396f09f3867dc1bd4d4a0613acd":[3,0,35,64], -"class_s_x126x.html#ad92085fdf4508c0849de0aec8dee2494":[3,0,35,49], -"class_s_x126x.html#ada0fe6c3d31885952b439135cf0c18f1":[3,0,35,81], -"class_s_x126x.html#adec09cba71494bd927ad1da786606ca6":[3,0,35,20], -"class_s_x126x.html#ae36664f9c605a8fe74b2f357e0ec3323":[3,0,35,17], -"class_s_x126x.html#ae36823d3539667bdf7d2f073bd4fa1ca":[3,0,35,18], -"class_s_x126x.html#ae3db6b29c482d94eef8a43cd8b5751c0":[3,0,35,28], -"class_s_x126x.html#ae46e08d579f4acbad029b4cd4f4fffaf":[3,0,35,40], -"class_s_x126x.html#ae473773e5bed4b08452e80311bdb26f2":[3,0,35,60], -"class_s_x126x.html#ae5993359ace652fbdc862eb23fdd263d":[3,0,35,52], -"class_s_x126x.html#ae8eed0e888a7c8742e89d2b850977de2":[3,0,35,23], -"class_s_x126x.html#aeb62c5a521aafc1e0525c58e9364482b":[3,0,35,75], -"class_s_x126x.html#af068e6e862c99e39d0261a7971dd56db":[3,0,35,70], -"class_s_x126x.html#afb1b090348d9091bfa3a0b5ba3d85b36":[3,0,35,26], -"class_s_x126x.html#afb5509f0705cdd971065251ed6b2fb4e":[3,0,35,58], +"class_s_x126x.html#ad59e37ce0606dc8051e40be9d14cfec3":[3,0,35,72], +"class_s_x126x.html#ad7569396f09f3867dc1bd4d4a0613acd":[3,0,35,65], +"class_s_x126x.html#ad92085fdf4508c0849de0aec8dee2494":[3,0,35,50], +"class_s_x126x.html#ada0fe6c3d31885952b439135cf0c18f1":[3,0,35,82], +"class_s_x126x.html#adec09cba71494bd927ad1da786606ca6":[3,0,35,21], +"class_s_x126x.html#ae36664f9c605a8fe74b2f357e0ec3323":[3,0,35,18], +"class_s_x126x.html#ae36823d3539667bdf7d2f073bd4fa1ca":[3,0,35,19], +"class_s_x126x.html#ae3db6b29c482d94eef8a43cd8b5751c0":[3,0,35,29], +"class_s_x126x.html#ae46e08d579f4acbad029b4cd4f4fffaf":[3,0,35,41], +"class_s_x126x.html#ae473773e5bed4b08452e80311bdb26f2":[3,0,35,61], +"class_s_x126x.html#ae5993359ace652fbdc862eb23fdd263d":[3,0,35,53], +"class_s_x126x.html#ae8eed0e888a7c8742e89d2b850977de2":[3,0,35,24], +"class_s_x126x.html#aeb62c5a521aafc1e0525c58e9364482b":[3,0,35,76], +"class_s_x126x.html#af068e6e862c99e39d0261a7971dd56db":[3,0,35,71], +"class_s_x126x.html#afb1b090348d9091bfa3a0b5ba3d85b36":[3,0,35,27], +"class_s_x126x.html#afb5509f0705cdd971065251ed6b2fb4e":[3,0,35,59], "class_s_x126x.html#afc3a7a42c401b6c44e00cb6c5b9696f2":[3,0,35,5], -"class_s_x126x.html#afd3113858966e878e9c67a1e710bd586":[3,0,35,35], -"class_s_x126x.html#aff80db65e546934980feac7e6c81dd80":[3,0,35,22], +"class_s_x126x.html#afd3113858966e878e9c67a1e710bd586":[3,0,35,36], +"class_s_x126x.html#aff80db65e546934980feac7e6c81dd80":[3,0,35,23], "class_s_x1272.html":[3,0,36], "class_s_x1272.html#a0978cc9ecbb7b9d3a017c133506e57ac":[3,0,36,8], "class_s_x1272.html#a0cc8eeb00241031796fc73b08711469b":[3,0,36,9], @@ -248,6 +249,5 @@ var NAVTREEINDEX2 = "class_s_x127x.html#abc5069b39dc31b637ee561d5745e1deb":[3,0,42,25], "class_s_x127x.html#abc51ce6718153e4963128f25bb5aab40":[3,0,42,45], "class_s_x127x.html#abfc840e8d6fe5e222f0143be17876745":[3,0,42,34], -"class_s_x127x.html#ac5c7f4584352a12390594395d9c29bde":[3,0,42,71], -"class_s_x127x.html#ac5d2ddb517e474a699b4539653b3754d":[3,0,42,21] +"class_s_x127x.html#ac5c7f4584352a12390594395d9c29bde":[3,0,42,71] }; diff --git a/navtreeindex3.js b/navtreeindex3.js index 935d150f..18d8d573 100644 --- a/navtreeindex3.js +++ b/navtreeindex3.js @@ -1,5 +1,6 @@ var NAVTREEINDEX3 = { +"class_s_x127x.html#ac5d2ddb517e474a699b4539653b3754d":[3,0,42,21], "class_s_x127x.html#ac74c5914ca429a3892c66b9d98e3ea6c":[3,0,42,0], "class_s_x127x.html#ad18500bf1dd7592f4ea9d7c447427e14":[3,0,42,66], "class_s_x127x.html#ad3955f85f456edae772a51025a19029b":[3,0,42,67], @@ -230,8 +231,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], @@ -248,6 +249,5 @@ var NAVTREEINDEX3 = "functions_func_f.html":[3,3,1,5], "functions_func_g.html":[3,3,1,6], "functions_func_h.html":[3,3,1,7], -"functions_func_i.html":[3,3,1,8], -"functions_func_l.html":[3,3,1,9] +"functions_func_i.html":[3,3,1,8] }; diff --git a/navtreeindex4.js b/navtreeindex4.js index 66de453c..be4ccafb 100644 --- a/navtreeindex4.js +++ b/navtreeindex4.js @@ -1,5 +1,6 @@ var NAVTREEINDEX4 = { +"functions_func_l.html":[3,3,1,9], "functions_func_m.html":[3,3,1,10], "functions_func_n.html":[3,3,1,11], "functions_func_o.html":[3,3,1,12], diff --git a/search/all_6.js b/search/all_6.js index 91dc4e54..22882418 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -10,15 +10,15 @@ var searchData= ['getfhsshoppingperiod_66',['getFHSSHoppingPeriod',['../class_s_x127x.html#ad7600b8b0aac4d8a5e962d631145b617',1,'SX127x']]], ['getfreqstep_67',['getFreqStep',['../class_physical_layer.html#a977e5236693960bb1c79090a201e9e1c',1,'PhysicalLayer']]], ['getfrequency_68',['getFrequency',['../class_r_f69.html#a2391eb6e07db3795e993b59b3a85cfed',1,'RF69']]], - ['getfrequencydeviation_69',['getFrequencyDeviation',['../class_c_c1101.html#abe26fa310e973bf2b14750b9eae02124',1,'CC1101::getFrequencyDeviation()'],['../class_r_f69.html#a2bf0d5e045ccfecf9510773148cdd2c9',1,'RF69::getFrequencyDeviation()']]], - ['getfrequencyerror_70',['getFrequencyError',['../class_s_x127x.html#af6aa854a2668d70f4d3a374a49440362',1,'SX127x::getFrequencyError()'],['../class_s_x128x.html#a2b424000856a9dc212f571d0e8890635',1,'SX128x::getFrequencyError()']]], + ['getfrequencydeviation_69',['getFrequencyDeviation',['../class_r_f69.html#a2bf0d5e045ccfecf9510773148cdd2c9',1,'RF69::getFrequencyDeviation()'],['../class_c_c1101.html#abe26fa310e973bf2b14750b9eae02124',1,'CC1101::getFrequencyDeviation()']]], + ['getfrequencyerror_70',['getFrequencyError',['../class_s_x126x.html#a068d709ffb79ae66d718ffb76ffae997',1,'SX126x::getFrequencyError()'],['../class_s_x127x.html#af6aa854a2668d70f4d3a374a49440362',1,'SX127x::getFrequencyError()'],['../class_s_x128x.html#a2b424000856a9dc212f571d0e8890635',1,'SX128x::getFrequencyError()']]], ['getgpio_71',['getGpio',['../class_module.html#aeb4c7447372d56a7cae6db91994aacfc',1,'Module']]], ['getirq_72',['getIrq',['../class_module.html#a8c7f17a63b67117d953f1ba990b17f80',1,'Module']]], ['getirqflags_73',['getIRQFlags',['../class_s_x127x.html#ac5d2ddb517e474a699b4539653b3754d',1,'SX127x']]], ['getirqstatus_74',['getIrqStatus',['../class_s_x126x.html#a9a9b090eddcb811ee19b595debfab1df',1,'SX126x::getIrqStatus()'],['../class_s_x128x.html#ae1f933f767161cc59fdaca816ab93e22',1,'SX128x::getIrqStatus()']]], ['getlqi_75',['getLQI',['../class_c_c1101.html#a59ca9e8956e308159949638bf327e5fb',1,'CC1101']]], ['getmodemstatus_76',['getModemStatus',['../class_s_x127x.html#a2cf6a5bd8f3257f98ee4f250cbdf8bdc',1,'SX127x']]], - ['getpacketlength_77',['getPacketLength',['../class_physical_layer.html#a2fe95169b5cdc8cabe1f2af66cad6ef6',1,'PhysicalLayer::getPacketLength()'],['../class_s_x128x.html#a390fd0749b316eed67da7b54f4f24735',1,'SX128x::getPacketLength()'],['../class_r_f69.html#a86a080086c0228d23e2cb77d2b1915c1',1,'RF69::getPacketLength()'],['../class_s_x127x.html#a462fa74275e67c296328a01f361892d5',1,'SX127x::getPacketLength()'],['../class_si443x.html#a2d944669dc69ccd47f9e6c360f2ffd10',1,'Si443x::getPacketLength()'],['../classn_r_f24.html#a23ea1749c21863ebc5bd3a2b08d64f3b',1,'nRF24::getPacketLength()'],['../class_c_c1101.html#a122281f6a915b77ee9dafc9926e731a0',1,'CC1101::getPacketLength()'],['../class_s_x126x.html#ac4ef8c8751a3c09d64e431684840c987',1,'SX126x::getPacketLength()']]], + ['getpacketlength_77',['getPacketLength',['../class_r_f69.html#a86a080086c0228d23e2cb77d2b1915c1',1,'RF69::getPacketLength()'],['../class_physical_layer.html#a2fe95169b5cdc8cabe1f2af66cad6ef6',1,'PhysicalLayer::getPacketLength()'],['../class_s_x128x.html#a390fd0749b316eed67da7b54f4f24735',1,'SX128x::getPacketLength()'],['../class_s_x127x.html#a462fa74275e67c296328a01f361892d5',1,'SX127x::getPacketLength()'],['../class_si443x.html#a2d944669dc69ccd47f9e6c360f2ffd10',1,'Si443x::getPacketLength()'],['../classn_r_f24.html#a23ea1749c21863ebc5bd3a2b08d64f3b',1,'nRF24::getPacketLength()'],['../class_c_c1101.html#a122281f6a915b77ee9dafc9926e731a0',1,'CC1101::getPacketLength()'],['../class_s_x126x.html#ac4ef8c8751a3c09d64e431684840c987',1,'SX126x::getPacketLength()']]], ['getpictureheight_78',['getPictureHeight',['../class_s_s_t_v_client.html#ad66e5082788b507f0f18e6e0e255314d',1,'SSTVClient']]], ['getpromiscuousmode_79',['getPromiscuousMode',['../class_c_c1101.html#aeea78919ec14d940cda0f213e4fdced6',1,'CC1101']]], ['getrangingresult_80',['getRangingResult',['../class_s_x1280.html#a91f4f241f02cd4e79d15a9ba08eb1e8f',1,'SX1280']]], diff --git a/search/functions_6.js b/search/functions_6.js index a3649ce4..e8ccab5e 100644 --- a/search/functions_6.js +++ b/search/functions_6.js @@ -10,15 +10,15 @@ var searchData= ['getfhsshoppingperiod_496',['getFHSSHoppingPeriod',['../class_s_x127x.html#ad7600b8b0aac4d8a5e962d631145b617',1,'SX127x']]], ['getfreqstep_497',['getFreqStep',['../class_physical_layer.html#a977e5236693960bb1c79090a201e9e1c',1,'PhysicalLayer']]], ['getfrequency_498',['getFrequency',['../class_r_f69.html#a2391eb6e07db3795e993b59b3a85cfed',1,'RF69']]], - ['getfrequencydeviation_499',['getFrequencyDeviation',['../class_c_c1101.html#abe26fa310e973bf2b14750b9eae02124',1,'CC1101::getFrequencyDeviation()'],['../class_r_f69.html#a2bf0d5e045ccfecf9510773148cdd2c9',1,'RF69::getFrequencyDeviation()']]], - ['getfrequencyerror_500',['getFrequencyError',['../class_s_x127x.html#af6aa854a2668d70f4d3a374a49440362',1,'SX127x::getFrequencyError()'],['../class_s_x128x.html#a2b424000856a9dc212f571d0e8890635',1,'SX128x::getFrequencyError()']]], + ['getfrequencydeviation_499',['getFrequencyDeviation',['../class_r_f69.html#a2bf0d5e045ccfecf9510773148cdd2c9',1,'RF69::getFrequencyDeviation()'],['../class_c_c1101.html#abe26fa310e973bf2b14750b9eae02124',1,'CC1101::getFrequencyDeviation()']]], + ['getfrequencyerror_500',['getFrequencyError',['../class_s_x126x.html#a068d709ffb79ae66d718ffb76ffae997',1,'SX126x::getFrequencyError()'],['../class_s_x127x.html#af6aa854a2668d70f4d3a374a49440362',1,'SX127x::getFrequencyError()'],['../class_s_x128x.html#a2b424000856a9dc212f571d0e8890635',1,'SX128x::getFrequencyError()']]], ['getgpio_501',['getGpio',['../class_module.html#aeb4c7447372d56a7cae6db91994aacfc',1,'Module']]], ['getirq_502',['getIrq',['../class_module.html#a8c7f17a63b67117d953f1ba990b17f80',1,'Module']]], ['getirqflags_503',['getIRQFlags',['../class_s_x127x.html#ac5d2ddb517e474a699b4539653b3754d',1,'SX127x']]], ['getirqstatus_504',['getIrqStatus',['../class_s_x126x.html#a9a9b090eddcb811ee19b595debfab1df',1,'SX126x::getIrqStatus()'],['../class_s_x128x.html#ae1f933f767161cc59fdaca816ab93e22',1,'SX128x::getIrqStatus()']]], ['getlqi_505',['getLQI',['../class_c_c1101.html#a59ca9e8956e308159949638bf327e5fb',1,'CC1101']]], ['getmodemstatus_506',['getModemStatus',['../class_s_x127x.html#a2cf6a5bd8f3257f98ee4f250cbdf8bdc',1,'SX127x']]], - ['getpacketlength_507',['getPacketLength',['../class_physical_layer.html#a2fe95169b5cdc8cabe1f2af66cad6ef6',1,'PhysicalLayer::getPacketLength()'],['../class_s_x128x.html#a390fd0749b316eed67da7b54f4f24735',1,'SX128x::getPacketLength()'],['../class_r_f69.html#a86a080086c0228d23e2cb77d2b1915c1',1,'RF69::getPacketLength()'],['../class_s_x127x.html#a462fa74275e67c296328a01f361892d5',1,'SX127x::getPacketLength()'],['../class_si443x.html#a2d944669dc69ccd47f9e6c360f2ffd10',1,'Si443x::getPacketLength()'],['../classn_r_f24.html#a23ea1749c21863ebc5bd3a2b08d64f3b',1,'nRF24::getPacketLength()'],['../class_c_c1101.html#a122281f6a915b77ee9dafc9926e731a0',1,'CC1101::getPacketLength()'],['../class_s_x126x.html#ac4ef8c8751a3c09d64e431684840c987',1,'SX126x::getPacketLength()']]], + ['getpacketlength_507',['getPacketLength',['../class_r_f69.html#a86a080086c0228d23e2cb77d2b1915c1',1,'RF69::getPacketLength()'],['../class_physical_layer.html#a2fe95169b5cdc8cabe1f2af66cad6ef6',1,'PhysicalLayer::getPacketLength()'],['../class_s_x128x.html#a390fd0749b316eed67da7b54f4f24735',1,'SX128x::getPacketLength()'],['../class_s_x127x.html#a462fa74275e67c296328a01f361892d5',1,'SX127x::getPacketLength()'],['../class_si443x.html#a2d944669dc69ccd47f9e6c360f2ffd10',1,'Si443x::getPacketLength()'],['../classn_r_f24.html#a23ea1749c21863ebc5bd3a2b08d64f3b',1,'nRF24::getPacketLength()'],['../class_c_c1101.html#a122281f6a915b77ee9dafc9926e731a0',1,'CC1101::getPacketLength()'],['../class_s_x126x.html#ac4ef8c8751a3c09d64e431684840c987',1,'SX126x::getPacketLength()']]], ['getpictureheight_508',['getPictureHeight',['../class_s_s_t_v_client.html#ad66e5082788b507f0f18e6e0e255314d',1,'SSTVClient']]], ['getpromiscuousmode_509',['getPromiscuousMode',['../class_c_c1101.html#aeea78919ec14d940cda0f213e4fdced6',1,'CC1101']]], ['getrangingresult_510',['getRangingResult',['../class_s_x1280.html#a91f4f241f02cd4e79d15a9ba08eb1e8f',1,'SX1280']]],