diff --git a/_s_x1262_8h_source.html b/_s_x1262_8h_source.html
index 1258c835..2e723779 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:432
+Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:444
diff --git a/_s_x1268_8h_source.html b/_s_x1268_8h_source.html
index 4461d5e2..08d2bb9b 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:432
+Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:444
diff --git a/_s_x126x_8h_source.html b/_s_x126x_8h_source.html
index 2f611b11..907f94de 100644
--- a/_s_x126x_8h_source.html
+++ b/_s_x126x_8h_source.html
@@ -202,555 +202,567 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
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
- 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
-
-
-
- 147 #define RADIOLIB_SX126X_SLEEP_START_COLD 0b00000000
- 148 #define RADIOLIB_SX126X_SLEEP_START_WARM 0b00000100
- 149 #define RADIOLIB_SX126X_SLEEP_RTC_OFF 0b00000000
- 150 #define RADIOLIB_SX126X_SLEEP_RTC_ON 0b00000001
-
-
- 153 #define RADIOLIB_SX126X_STANDBY_RC 0x00
- 154 #define RADIOLIB_SX126X_STANDBY_XOSC 0x01
-
-
- 157 #define RADIOLIB_SX126X_RX_TIMEOUT_NONE 0x000000
- 158 #define RADIOLIB_SX126X_RX_TIMEOUT_INF 0xFFFFFF
-
-
- 161 #define RADIOLIB_SX126X_TX_TIMEOUT_NONE 0x000000
+ 117 #define RADIOLIB_SX126X_REG_LORA_SYNC_TIMEOUT 0x0706
+ 118 #define RADIOLIB_SX126X_REG_IQ_CONFIG 0x0736
+ 119 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_MSB 0x0740
+ 120 #define RADIOLIB_SX126X_REG_LORA_SYNC_WORD_LSB 0x0741
+ 121 #define RADIOLIB_SX126X_REG_FREQ_ERROR 0x076B
+ 122 #define RADIOLIB_SX126X_REG_SPECTRAL_SCAN_STATUS 0x07CD
+ 123 #define RADIOLIB_SX126X_REG_RX_ADDR_PTR 0x0803
+ 124 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_0 0x0819
+ 125 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_1 0x081A
+ 126 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_2 0x081B
+ 127 #define RADIOLIB_SX126X_REG_RANDOM_NUMBER_3 0x081C
+ 128 #define RADIOLIB_SX126X_REG_SENSITIVITY_CONFIG 0x0889
+ 129 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_0 0x088B
+ 130 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_1 0x088C
+ 131 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_2 0x088D
+ 132 #define RADIOLIB_SX126X_REG_RF_FREQUENCY_3 0x088E
+ 133 #define RADIOLIB_SX126X_REG_RSSI_AVG_WINDOW 0x089B
+ 134 #define RADIOLIB_SX126X_REG_RX_GAIN 0x08AC
+ 135 #define RADIOLIB_SX126X_REG_TX_CLAMP_CONFIG 0x08D8
+ 136 #define RADIOLIB_SX126X_REG_ANA_LNA 0x08E2
+ 137 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_N 0x08E3
+ 138 #define RADIOLIB_SX126X_REG_LNA_CAP_TUNE_P 0x08E4
+ 139 #define RADIOLIB_SX126X_REG_ANA_MIXER 0x08E5
+ 140 #define RADIOLIB_SX126X_REG_OCP_CONFIGURATION 0x08E7
+ 141 #define RADIOLIB_SX126X_REG_RTC_CTRL 0x0902
+ 142 #define RADIOLIB_SX126X_REG_XTA_TRIM 0x0911
+ 143 #define RADIOLIB_SX126X_REG_XTB_TRIM 0x0912
+ 144 #define RADIOLIB_SX126X_REG_DIO3_OUT_VOLTAGE_CTRL 0x0920
+ 145 #define RADIOLIB_SX126X_REG_EVENT_MASK 0x0944
+ 146 #define RADIOLIB_SX126X_REG_PATCH_MEMORY_BASE 0x8000
+
+
+
+ 150 #define RADIOLIB_SX126X_SLEEP_START_COLD 0b00000000
+ 151 #define RADIOLIB_SX126X_SLEEP_START_WARM 0b00000100
+ 152 #define RADIOLIB_SX126X_SLEEP_RTC_OFF 0b00000000
+ 153 #define RADIOLIB_SX126X_SLEEP_RTC_ON 0b00000001
+
+
+ 156 #define RADIOLIB_SX126X_STANDBY_RC 0x00
+ 157 #define RADIOLIB_SX126X_STANDBY_XOSC 0x01
+
+
+ 160 #define RADIOLIB_SX126X_RX_TIMEOUT_NONE 0x000000
+ 161 #define RADIOLIB_SX126X_RX_TIMEOUT_INF 0xFFFFFF
-
- 164 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_OFF 0x00
- 165 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_ON 0x01
-
-
- 168 #define RADIOLIB_SX126X_REGULATOR_LDO 0x00
- 169 #define RADIOLIB_SX126X_REGULATOR_DC_DC 0x01
-
-
- 172 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_OFF 0b00000000
- 173 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_ON 0b01000000
- 174 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_OFF 0b00000000
- 175 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_ON 0b00100000
- 176 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_OFF 0b00000000
- 177 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_ON 0b00010000
- 178 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_OFF 0b00000000
- 179 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_ON 0b00001000
- 180 #define RADIOLIB_SX126X_CALIBRATE_PLL_OFF 0b00000000
- 181 #define RADIOLIB_SX126X_CALIBRATE_PLL_ON 0b00000100
- 182 #define RADIOLIB_SX126X_CALIBRATE_RC13M_OFF 0b00000000
- 183 #define RADIOLIB_SX126X_CALIBRATE_RC13M_ON 0b00000010
- 184 #define RADIOLIB_SX126X_CALIBRATE_RC64K_OFF 0b00000000
- 185 #define RADIOLIB_SX126X_CALIBRATE_RC64K_ON 0b00000001
- 186 #define RADIOLIB_SX126X_CALIBRATE_ALL 0b01111111
-
-
- 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
-
-
- 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
-
-
- 206 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_FS 0x40
- 207 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_XOSC 0x30
- 208 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_RC 0x20
-
-
- 211 #define RADIOLIB_SX126X_IRQ_LR_FHSS_HOP 0b0100000000000000
- 212 #define RADIOLIB_SX126X_IRQ_TIMEOUT 0b0000001000000000
- 213 #define RADIOLIB_SX126X_IRQ_CAD_DETECTED 0b0000000100000000
- 214 #define RADIOLIB_SX126X_IRQ_CAD_DONE 0b0000000010000000
- 215 #define RADIOLIB_SX126X_IRQ_CRC_ERR 0b0000000001000000
- 216 #define RADIOLIB_SX126X_IRQ_HEADER_ERR 0b0000000000100000
- 217 #define RADIOLIB_SX126X_IRQ_HEADER_VALID 0b0000000000010000
- 218 #define RADIOLIB_SX126X_IRQ_SYNC_WORD_VALID 0b0000000000001000
- 219 #define RADIOLIB_SX126X_IRQ_RADIOLIB_PREAMBLE_DETECTED 0b0000000000000100
- 220 #define RADIOLIB_SX126X_IRQ_RX_DONE 0b0000000000000010
- 221 #define RADIOLIB_SX126X_IRQ_TX_DONE 0b0000000000000001
- 222 #define RADIOLIB_SX126X_IRQ_RX_DEFAULT 0b0000001001100010
- 223 #define RADIOLIB_SX126X_IRQ_ALL 0b0100001111111111
- 224 #define RADIOLIB_SX126X_IRQ_NONE 0b0000000000000000
-
-
- 227 #define RADIOLIB_SX126X_DIO2_AS_IRQ 0x00
- 228 #define RADIOLIB_SX126X_DIO2_AS_RF_SWITCH 0x01
-
-
- 231 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_6 0x00
- 232 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_7 0x01
- 233 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_8 0x02
- 234 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_2 0x03
- 235 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_4 0x04
- 236 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_7 0x05
- 237 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_0 0x06
- 238 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_3 0x07
-
-
- 241 #define RADIOLIB_SX126X_PACKET_TYPE_GFSK 0x00
- 242 #define RADIOLIB_SX126X_PACKET_TYPE_LORA 0x01
- 243 #define RADIOLIB_SX126X_PACKET_TYPE_LR_FHSS 0x03
-
-
- 246 #define RADIOLIB_SX126X_PA_RAMP_10U 0x00
- 247 #define RADIOLIB_SX126X_PA_RAMP_20U 0x01
- 248 #define RADIOLIB_SX126X_PA_RAMP_40U 0x02
- 249 #define RADIOLIB_SX126X_PA_RAMP_80U 0x03
- 250 #define RADIOLIB_SX126X_PA_RAMP_200U 0x04
- 251 #define RADIOLIB_SX126X_PA_RAMP_800U 0x05
- 252 #define RADIOLIB_SX126X_PA_RAMP_1700U 0x06
- 253 #define RADIOLIB_SX126X_PA_RAMP_3400U 0x07
-
-
- 256 #define RADIOLIB_SX126X_GFSK_FILTER_NONE 0x00
- 257 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_3 0x08
- 258 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_5 0x09
- 259 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_7 0x0A
- 260 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_1 0x0B
- 261 #define RADIOLIB_SX126X_GFSK_RX_BW_4_8 0x1F
- 262 #define RADIOLIB_SX126X_GFSK_RX_BW_5_8 0x17
- 263 #define RADIOLIB_SX126X_GFSK_RX_BW_7_3 0x0F
- 264 #define RADIOLIB_SX126X_GFSK_RX_BW_9_7 0x1E
- 265 #define RADIOLIB_SX126X_GFSK_RX_BW_11_7 0x16
- 266 #define RADIOLIB_SX126X_GFSK_RX_BW_14_6 0x0E
- 267 #define RADIOLIB_SX126X_GFSK_RX_BW_19_5 0x1D
- 268 #define RADIOLIB_SX126X_GFSK_RX_BW_23_4 0x15
- 269 #define RADIOLIB_SX126X_GFSK_RX_BW_29_3 0x0D
- 270 #define RADIOLIB_SX126X_GFSK_RX_BW_39_0 0x1C
- 271 #define RADIOLIB_SX126X_GFSK_RX_BW_46_9 0x14
- 272 #define RADIOLIB_SX126X_GFSK_RX_BW_58_6 0x0C
- 273 #define RADIOLIB_SX126X_GFSK_RX_BW_78_2 0x1B
- 274 #define RADIOLIB_SX126X_GFSK_RX_BW_93_8 0x13
- 275 #define RADIOLIB_SX126X_GFSK_RX_BW_117_3 0x0B
- 276 #define RADIOLIB_SX126X_GFSK_RX_BW_156_2 0x1A
- 277 #define RADIOLIB_SX126X_GFSK_RX_BW_187_2 0x12
- 278 #define RADIOLIB_SX126X_GFSK_RX_BW_234_3 0x0A
- 279 #define RADIOLIB_SX126X_GFSK_RX_BW_312_0 0x19
- 280 #define RADIOLIB_SX126X_GFSK_RX_BW_373_6 0x11
- 281 #define RADIOLIB_SX126X_GFSK_RX_BW_467_0 0x09
- 282 #define RADIOLIB_SX126X_LORA_BW_7_8 0x00
- 283 #define RADIOLIB_SX126X_LORA_BW_10_4 0x08
- 284 #define RADIOLIB_SX126X_LORA_BW_15_6 0x01
- 285 #define RADIOLIB_SX126X_LORA_BW_20_8 0x09
- 286 #define RADIOLIB_SX126X_LORA_BW_31_25 0x02
- 287 #define RADIOLIB_SX126X_LORA_BW_41_7 0x0A
- 288 #define RADIOLIB_SX126X_LORA_BW_62_5 0x03
- 289 #define RADIOLIB_SX126X_LORA_BW_125_0 0x04
- 290 #define RADIOLIB_SX126X_LORA_BW_250_0 0x05
- 291 #define RADIOLIB_SX126X_LORA_BW_500_0 0x06
- 292 #define RADIOLIB_SX126X_LORA_CR_4_5 0x01
- 293 #define RADIOLIB_SX126X_LORA_CR_4_6 0x02
- 294 #define RADIOLIB_SX126X_LORA_CR_4_7 0x03
- 295 #define RADIOLIB_SX126X_LORA_CR_4_8 0x04
- 296 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_OFF 0x00
- 297 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_ON 0x01
-
-
- 300 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_OFF 0x00
- 301 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_8 0x04
- 302 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16 0x05
- 303 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_24 0x06
- 304 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_32 0x07
- 305 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_OFF 0x00
- 306 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE 0x01
- 307 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE_BROADCAST 0x02
- 308 #define RADIOLIB_SX126X_GFSK_PACKET_FIXED 0x00
- 309 #define RADIOLIB_SX126X_GFSK_PACKET_VARIABLE 0x01
- 310 #define RADIOLIB_SX126X_GFSK_CRC_OFF 0x01
- 311 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE 0x00
- 312 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE 0x02
- 313 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE_INV 0x04
- 314 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE_INV 0x06
- 315 #define RADIOLIB_SX126X_GFSK_WHITENING_OFF 0x00
- 316 #define RADIOLIB_SX126X_GFSK_WHITENING_ON 0x01
- 317 #define RADIOLIB_SX126X_LORA_HEADER_EXPLICIT 0x00
- 318 #define RADIOLIB_SX126X_LORA_HEADER_IMPLICIT 0x01
- 319 #define RADIOLIB_SX126X_LORA_CRC_OFF 0x00
- 320 #define RADIOLIB_SX126X_LORA_CRC_ON 0x01
- 321 #define RADIOLIB_SX126X_LORA_IQ_STANDARD 0x00
- 322 #define RADIOLIB_SX126X_LORA_IQ_INVERTED 0x01
-
-
- 325 #define RADIOLIB_SX126X_CAD_ON_1_SYMB 0x00
- 326 #define RADIOLIB_SX126X_CAD_ON_2_SYMB 0x01
- 327 #define RADIOLIB_SX126X_CAD_ON_4_SYMB 0x02
- 328 #define RADIOLIB_SX126X_CAD_ON_8_SYMB 0x03
- 329 #define RADIOLIB_SX126X_CAD_ON_16_SYMB 0x04
- 330 #define RADIOLIB_SX126X_CAD_GOTO_STDBY 0x00
- 331 #define RADIOLIB_SX126X_CAD_GOTO_RX 0x01
- 332 #define RADIOLIB_SX126X_CAD_PARAM_DEFAULT 0xFF
- 333 #define RADIOLIB_SX126X_CAD_PARAM_DET_MIN 10
-
-
- 336 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_RC 0b00100000
- 337 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_XOSC 0b00110000
- 338 #define RADIOLIB_SX126X_STATUS_MODE_FS 0b01000000
- 339 #define RADIOLIB_SX126X_STATUS_MODE_RX 0b01010000
- 340 #define RADIOLIB_SX126X_STATUS_MODE_TX 0b01100000
- 341 #define RADIOLIB_SX126X_STATUS_DATA_AVAILABLE 0b00000100
- 342 #define RADIOLIB_SX126X_STATUS_CMD_TIMEOUT 0b00000110
- 343 #define RADIOLIB_SX126X_STATUS_CMD_INVALID 0b00001000
- 344 #define RADIOLIB_SX126X_STATUS_CMD_FAILED 0b00001010
- 345 #define RADIOLIB_SX126X_STATUS_TX_DONE 0b00001100
- 346 #define RADIOLIB_SX126X_STATUS_SPI_FAILED 0b11111111
-
-
- 349 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PREAMBLE_ERR 0b10000000
- 350 #define RADIOLIB_SX126X_GFSK_RX_STATUS_SYNC_ERR 0b01000000
- 351 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ADRS_ERR 0b00100000
- 352 #define RADIOLIB_SX126X_GFSK_RX_STATUS_CRC_ERR 0b00010000
- 353 #define RADIOLIB_SX126X_GFSK_RX_STATUS_LENGTH_ERR 0b00001000
- 354 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ABORT_ERR 0b00000100
- 355 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_RECEIVED 0b00000010
- 356 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_SENT 0b00000001
-
-
- 359 #define RADIOLIB_SX126X_PA_RAMP_ERR 0b100000000
- 360 #define RADIOLIB_SX126X_PLL_LOCK_ERR 0b001000000
- 361 #define RADIOLIB_SX126X_XOSC_START_ERR 0b000100000
- 362 #define RADIOLIB_SX126X_IMG_CALIB_ERR 0b000010000
- 363 #define RADIOLIB_SX126X_ADC_CALIB_ERR 0b000001000
- 364 #define RADIOLIB_SX126X_PLL_CALIB_ERR 0b000000100
- 365 #define RADIOLIB_SX126X_RC13M_CALIB_ERR 0b000000010
- 366 #define RADIOLIB_SX126X_RC64K_CALIB_ERR 0b000000001
-
-
- 369 #define RADIOLIB_SX126X_SCAN_INTERVAL_7_68_US 10
- 370 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US 11
- 371 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_68_US 12
-
-
-
- 375 #define RADIOLIB_SX126X_HOPPING_ENABLED 0b00000001
- 376 #define RADIOLIB_SX126X_HOPPING_DISABLED 0b00000000
-
-
- 379 #define RADIOLIB_SX126X_SYNC_WORD_PUBLIC 0x34
- 380 #define RADIOLIB_SX126X_SYNC_WORD_PRIVATE 0x12
-
-
- 383 #define RADIOLIB_SX126X_TX_BITBANG_1_DISABLED 0b00000000
- 384 #define RADIOLIB_SX126X_TX_BITBANG_1_ENABLED 0b00010000
-
-
- 387 #define RADIOLIB_SX126X_TX_BITBANG_0_DISABLED 0b00000000
- 388 #define RADIOLIB_SX126X_TX_BITBANG_0_ENABLED 0b00001100
-
-
- 391 #define RADIOLIB_SX126X_DIO1_OUT_DISABLED 0b00000010
- 392 #define RADIOLIB_SX126X_DIO1_OUT_ENABLED 0b00000000
- 393 #define RADIOLIB_SX126X_DIO2_OUT_DISABLED 0b00000100
- 394 #define RADIOLIB_SX126X_DIO2_OUT_ENABLED 0b00000000
- 395 #define RADIOLIB_SX126X_DIO3_OUT_DISABLED 0b00001000
- 396 #define RADIOLIB_SX126X_DIO3_OUT_ENABLED 0b00000000
-
-
- 399 #define RADIOLIB_SX126X_DIO1_IN_DISABLED 0b00000000
- 400 #define RADIOLIB_SX126X_DIO1_IN_ENABLED 0b00000010
- 401 #define RADIOLIB_SX126X_DIO2_IN_DISABLED 0b00000000
- 402 #define RADIOLIB_SX126X_DIO2_IN_ENABLED 0b00000100
- 403 #define RADIOLIB_SX126X_DIO3_IN_DISABLED 0b00000000
- 404 #define RADIOLIB_SX126X_DIO3_IN_ENABLED 0b00001000
-
-
- 407 #define RADIOLIB_SX126X_RX_GAIN_BOOSTED 0x96
- 408 #define RADIOLIB_SX126X_RX_GAIN_POWER_SAVING 0x94
- 409 #define RADIOLIB_SX126X_RX_GAIN_SPECTRAL_SCAN 0xCB
-
-
- 412 #define RADIOLIB_SX126X_PATCH_UPDATE_DISABLED 0b00000000
- 413 #define RADIOLIB_SX126X_PATCH_UPDATE_ENABLED 0b00010000
-
-
- 416 #define RADIOLIB_SX126X_SPECTRAL_SCAN_NONE 0x00
- 417 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ONGOING 0x0F
- 418 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ABORTED 0xF0
- 419 #define RADIOLIB_SX126X_SPECTRAL_SCAN_COMPLETED 0xFF
-
-
- 422 #define RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT (0x05 << 2)
+
+ 164 #define RADIOLIB_SX126X_TX_TIMEOUT_NONE 0x000000
+
+
+ 167 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_OFF 0x00
+ 168 #define RADIOLIB_SX126X_STOP_ON_PREAMBLE_ON 0x01
+
+
+ 171 #define RADIOLIB_SX126X_REGULATOR_LDO 0x00
+ 172 #define RADIOLIB_SX126X_REGULATOR_DC_DC 0x01
+
+
+ 175 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_OFF 0b00000000
+ 176 #define RADIOLIB_SX126X_CALIBRATE_IMAGE_ON 0b01000000
+ 177 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_OFF 0b00000000
+ 178 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_P_ON 0b00100000
+ 179 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_OFF 0b00000000
+ 180 #define RADIOLIB_SX126X_CALIBRATE_ADC_BULK_N_ON 0b00010000
+ 181 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_OFF 0b00000000
+ 182 #define RADIOLIB_SX126X_CALIBRATE_ADC_PULSE_ON 0b00001000
+ 183 #define RADIOLIB_SX126X_CALIBRATE_PLL_OFF 0b00000000
+ 184 #define RADIOLIB_SX126X_CALIBRATE_PLL_ON 0b00000100
+ 185 #define RADIOLIB_SX126X_CALIBRATE_RC13M_OFF 0b00000000
+ 186 #define RADIOLIB_SX126X_CALIBRATE_RC13M_ON 0b00000010
+ 187 #define RADIOLIB_SX126X_CALIBRATE_RC64K_OFF 0b00000000
+ 188 #define RADIOLIB_SX126X_CALIBRATE_RC64K_ON 0b00000001
+ 189 #define RADIOLIB_SX126X_CALIBRATE_ALL 0b01111111
+
+
+ 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
+
+
+ 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
+
+
+ 209 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_FS 0x40
+ 210 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_XOSC 0x30
+ 211 #define RADIOLIB_SX126X_RX_TX_FALLBACK_MODE_STDBY_RC 0x20
+
+
+ 214 #define RADIOLIB_SX126X_IRQ_LR_FHSS_HOP 0b0100000000000000
+ 215 #define RADIOLIB_SX126X_IRQ_TIMEOUT 0b0000001000000000
+ 216 #define RADIOLIB_SX126X_IRQ_CAD_DETECTED 0b0000000100000000
+ 217 #define RADIOLIB_SX126X_IRQ_CAD_DONE 0b0000000010000000
+ 218 #define RADIOLIB_SX126X_IRQ_CRC_ERR 0b0000000001000000
+ 219 #define RADIOLIB_SX126X_IRQ_HEADER_ERR 0b0000000000100000
+ 220 #define RADIOLIB_SX126X_IRQ_HEADER_VALID 0b0000000000010000
+ 221 #define RADIOLIB_SX126X_IRQ_SYNC_WORD_VALID 0b0000000000001000
+ 222 #define RADIOLIB_SX126X_IRQ_RADIOLIB_PREAMBLE_DETECTED 0b0000000000000100
+ 223 #define RADIOLIB_SX126X_IRQ_RX_DONE 0b0000000000000010
+ 224 #define RADIOLIB_SX126X_IRQ_TX_DONE 0b0000000000000001
+ 225 #define RADIOLIB_SX126X_IRQ_RX_DEFAULT 0b0000001001100010
+ 226 #define RADIOLIB_SX126X_IRQ_ALL 0b0100001111111111
+ 227 #define RADIOLIB_SX126X_IRQ_NONE 0b0000000000000000
+
+
+ 230 #define RADIOLIB_SX126X_DIO2_AS_IRQ 0x00
+ 231 #define RADIOLIB_SX126X_DIO2_AS_RF_SWITCH 0x01
+
+
+ 234 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_6 0x00
+ 235 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_7 0x01
+ 236 #define RADIOLIB_SX126X_DIO3_OUTPUT_1_8 0x02
+ 237 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_2 0x03
+ 238 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_4 0x04
+ 239 #define RADIOLIB_SX126X_DIO3_OUTPUT_2_7 0x05
+ 240 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_0 0x06
+ 241 #define RADIOLIB_SX126X_DIO3_OUTPUT_3_3 0x07
+
+
+ 244 #define RADIOLIB_SX126X_PACKET_TYPE_GFSK 0x00
+ 245 #define RADIOLIB_SX126X_PACKET_TYPE_LORA 0x01
+ 246 #define RADIOLIB_SX126X_PACKET_TYPE_LR_FHSS 0x03
+
+
+ 249 #define RADIOLIB_SX126X_PA_RAMP_10U 0x00
+ 250 #define RADIOLIB_SX126X_PA_RAMP_20U 0x01
+ 251 #define RADIOLIB_SX126X_PA_RAMP_40U 0x02
+ 252 #define RADIOLIB_SX126X_PA_RAMP_80U 0x03
+ 253 #define RADIOLIB_SX126X_PA_RAMP_200U 0x04
+ 254 #define RADIOLIB_SX126X_PA_RAMP_800U 0x05
+ 255 #define RADIOLIB_SX126X_PA_RAMP_1700U 0x06
+ 256 #define RADIOLIB_SX126X_PA_RAMP_3400U 0x07
+
+
+ 259 #define RADIOLIB_SX126X_GFSK_FILTER_NONE 0x00
+ 260 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_3 0x08
+ 261 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_5 0x09
+ 262 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_0_7 0x0A
+ 263 #define RADIOLIB_SX126X_GFSK_FILTER_GAUSS_1 0x0B
+ 264 #define RADIOLIB_SX126X_GFSK_RX_BW_4_8 0x1F
+ 265 #define RADIOLIB_SX126X_GFSK_RX_BW_5_8 0x17
+ 266 #define RADIOLIB_SX126X_GFSK_RX_BW_7_3 0x0F
+ 267 #define RADIOLIB_SX126X_GFSK_RX_BW_9_7 0x1E
+ 268 #define RADIOLIB_SX126X_GFSK_RX_BW_11_7 0x16
+ 269 #define RADIOLIB_SX126X_GFSK_RX_BW_14_6 0x0E
+ 270 #define RADIOLIB_SX126X_GFSK_RX_BW_19_5 0x1D
+ 271 #define RADIOLIB_SX126X_GFSK_RX_BW_23_4 0x15
+ 272 #define RADIOLIB_SX126X_GFSK_RX_BW_29_3 0x0D
+ 273 #define RADIOLIB_SX126X_GFSK_RX_BW_39_0 0x1C
+ 274 #define RADIOLIB_SX126X_GFSK_RX_BW_46_9 0x14
+ 275 #define RADIOLIB_SX126X_GFSK_RX_BW_58_6 0x0C
+ 276 #define RADIOLIB_SX126X_GFSK_RX_BW_78_2 0x1B
+ 277 #define RADIOLIB_SX126X_GFSK_RX_BW_93_8 0x13
+ 278 #define RADIOLIB_SX126X_GFSK_RX_BW_117_3 0x0B
+ 279 #define RADIOLIB_SX126X_GFSK_RX_BW_156_2 0x1A
+ 280 #define RADIOLIB_SX126X_GFSK_RX_BW_187_2 0x12
+ 281 #define RADIOLIB_SX126X_GFSK_RX_BW_234_3 0x0A
+ 282 #define RADIOLIB_SX126X_GFSK_RX_BW_312_0 0x19
+ 283 #define RADIOLIB_SX126X_GFSK_RX_BW_373_6 0x11
+ 284 #define RADIOLIB_SX126X_GFSK_RX_BW_467_0 0x09
+ 285 #define RADIOLIB_SX126X_LORA_BW_7_8 0x00
+ 286 #define RADIOLIB_SX126X_LORA_BW_10_4 0x08
+ 287 #define RADIOLIB_SX126X_LORA_BW_15_6 0x01
+ 288 #define RADIOLIB_SX126X_LORA_BW_20_8 0x09
+ 289 #define RADIOLIB_SX126X_LORA_BW_31_25 0x02
+ 290 #define RADIOLIB_SX126X_LORA_BW_41_7 0x0A
+ 291 #define RADIOLIB_SX126X_LORA_BW_62_5 0x03
+ 292 #define RADIOLIB_SX126X_LORA_BW_125_0 0x04
+ 293 #define RADIOLIB_SX126X_LORA_BW_250_0 0x05
+ 294 #define RADIOLIB_SX126X_LORA_BW_500_0 0x06
+ 295 #define RADIOLIB_SX126X_LORA_CR_4_5 0x01
+ 296 #define RADIOLIB_SX126X_LORA_CR_4_6 0x02
+ 297 #define RADIOLIB_SX126X_LORA_CR_4_7 0x03
+ 298 #define RADIOLIB_SX126X_LORA_CR_4_8 0x04
+ 299 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_OFF 0x00
+ 300 #define RADIOLIB_SX126X_LORA_LOW_DATA_RATE_OPTIMIZE_ON 0x01
+
+
+ 303 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_OFF 0x00
+ 304 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_8 0x04
+ 305 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_16 0x05
+ 306 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_24 0x06
+ 307 #define RADIOLIB_SX126X_GFSK_PREAMBLE_DETECT_32 0x07
+ 308 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_OFF 0x00
+ 309 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE 0x01
+ 310 #define RADIOLIB_SX126X_GFSK_ADDRESS_FILT_NODE_BROADCAST 0x02
+ 311 #define RADIOLIB_SX126X_GFSK_PACKET_FIXED 0x00
+ 312 #define RADIOLIB_SX126X_GFSK_PACKET_VARIABLE 0x01
+ 313 #define RADIOLIB_SX126X_GFSK_CRC_OFF 0x01
+ 314 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE 0x00
+ 315 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE 0x02
+ 316 #define RADIOLIB_SX126X_GFSK_CRC_1_BYTE_INV 0x04
+ 317 #define RADIOLIB_SX126X_GFSK_CRC_2_BYTE_INV 0x06
+ 318 #define RADIOLIB_SX126X_GFSK_WHITENING_OFF 0x00
+ 319 #define RADIOLIB_SX126X_GFSK_WHITENING_ON 0x01
+ 320 #define RADIOLIB_SX126X_LORA_HEADER_EXPLICIT 0x00
+ 321 #define RADIOLIB_SX126X_LORA_HEADER_IMPLICIT 0x01
+ 322 #define RADIOLIB_SX126X_LORA_CRC_OFF 0x00
+ 323 #define RADIOLIB_SX126X_LORA_CRC_ON 0x01
+ 324 #define RADIOLIB_SX126X_LORA_IQ_STANDARD 0x00
+ 325 #define RADIOLIB_SX126X_LORA_IQ_INVERTED 0x01
+
+
+ 328 #define RADIOLIB_SX126X_CAD_ON_1_SYMB 0x00
+ 329 #define RADIOLIB_SX126X_CAD_ON_2_SYMB 0x01
+ 330 #define RADIOLIB_SX126X_CAD_ON_4_SYMB 0x02
+ 331 #define RADIOLIB_SX126X_CAD_ON_8_SYMB 0x03
+ 332 #define RADIOLIB_SX126X_CAD_ON_16_SYMB 0x04
+ 333 #define RADIOLIB_SX126X_CAD_GOTO_STDBY 0x00
+ 334 #define RADIOLIB_SX126X_CAD_GOTO_RX 0x01
+ 335 #define RADIOLIB_SX126X_CAD_PARAM_DEFAULT 0xFF
+ 336 #define RADIOLIB_SX126X_CAD_PARAM_DET_MIN 10
+
+
+ 339 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_RC 0b00100000
+ 340 #define RADIOLIB_SX126X_STATUS_MODE_STDBY_XOSC 0b00110000
+ 341 #define RADIOLIB_SX126X_STATUS_MODE_FS 0b01000000
+ 342 #define RADIOLIB_SX126X_STATUS_MODE_RX 0b01010000
+ 343 #define RADIOLIB_SX126X_STATUS_MODE_TX 0b01100000
+ 344 #define RADIOLIB_SX126X_STATUS_DATA_AVAILABLE 0b00000100
+ 345 #define RADIOLIB_SX126X_STATUS_CMD_TIMEOUT 0b00000110
+ 346 #define RADIOLIB_SX126X_STATUS_CMD_INVALID 0b00001000
+ 347 #define RADIOLIB_SX126X_STATUS_CMD_FAILED 0b00001010
+ 348 #define RADIOLIB_SX126X_STATUS_TX_DONE 0b00001100
+ 349 #define RADIOLIB_SX126X_STATUS_SPI_FAILED 0b11111111
+
+
+ 352 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PREAMBLE_ERR 0b10000000
+ 353 #define RADIOLIB_SX126X_GFSK_RX_STATUS_SYNC_ERR 0b01000000
+ 354 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ADRS_ERR 0b00100000
+ 355 #define RADIOLIB_SX126X_GFSK_RX_STATUS_CRC_ERR 0b00010000
+ 356 #define RADIOLIB_SX126X_GFSK_RX_STATUS_LENGTH_ERR 0b00001000
+ 357 #define RADIOLIB_SX126X_GFSK_RX_STATUS_ABORT_ERR 0b00000100
+ 358 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_RECEIVED 0b00000010
+ 359 #define RADIOLIB_SX126X_GFSK_RX_STATUS_PACKET_SENT 0b00000001
+
+
+ 362 #define RADIOLIB_SX126X_PA_RAMP_ERR 0b100000000
+ 363 #define RADIOLIB_SX126X_PLL_LOCK_ERR 0b001000000
+ 364 #define RADIOLIB_SX126X_XOSC_START_ERR 0b000100000
+ 365 #define RADIOLIB_SX126X_IMG_CALIB_ERR 0b000010000
+ 366 #define RADIOLIB_SX126X_ADC_CALIB_ERR 0b000001000
+ 367 #define RADIOLIB_SX126X_PLL_CALIB_ERR 0b000000100
+ 368 #define RADIOLIB_SX126X_RC13M_CALIB_ERR 0b000000010
+ 369 #define RADIOLIB_SX126X_RC64K_CALIB_ERR 0b000000001
+
+
+ 372 #define RADIOLIB_SX126X_SCAN_INTERVAL_7_68_US 10
+ 373 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US 11
+ 374 #define RADIOLIB_SX126X_SCAN_INTERVAL_8_68_US 12
+
+
+
+ 378 #define RADIOLIB_SX126X_HOPPING_ENABLED 0b00000001
+ 379 #define RADIOLIB_SX126X_HOPPING_DISABLED 0b00000000
+
+
+ 382 #define RADIOLIB_SX126X_SYNC_WORD_PUBLIC 0x34
+ 383 #define RADIOLIB_SX126X_SYNC_WORD_PRIVATE 0x12
+
+
+ 386 #define RADIOLIB_SX126X_TX_BITBANG_1_DISABLED 0b00000000
+ 387 #define RADIOLIB_SX126X_TX_BITBANG_1_ENABLED 0b00010000
+
+
+ 390 #define RADIOLIB_SX126X_TX_BITBANG_0_DISABLED 0b00000000
+ 391 #define RADIOLIB_SX126X_TX_BITBANG_0_ENABLED 0b00001100
+
+
+ 394 #define RADIOLIB_SX126X_DIO1_OUT_DISABLED 0b00000010
+ 395 #define RADIOLIB_SX126X_DIO1_OUT_ENABLED 0b00000000
+ 396 #define RADIOLIB_SX126X_DIO2_OUT_DISABLED 0b00000100
+ 397 #define RADIOLIB_SX126X_DIO2_OUT_ENABLED 0b00000000
+ 398 #define RADIOLIB_SX126X_DIO3_OUT_DISABLED 0b00001000
+ 399 #define RADIOLIB_SX126X_DIO3_OUT_ENABLED 0b00000000
+
+
+ 402 #define RADIOLIB_SX126X_DIO1_IN_DISABLED 0b00000000
+ 403 #define RADIOLIB_SX126X_DIO1_IN_ENABLED 0b00000010
+ 404 #define RADIOLIB_SX126X_DIO2_IN_DISABLED 0b00000000
+ 405 #define RADIOLIB_SX126X_DIO2_IN_ENABLED 0b00000100
+ 406 #define RADIOLIB_SX126X_DIO3_IN_DISABLED 0b00000000
+ 407 #define RADIOLIB_SX126X_DIO3_IN_ENABLED 0b00001000
+
+
+ 410 #define RADIOLIB_SX126X_RX_GAIN_BOOSTED 0x96
+ 411 #define RADIOLIB_SX126X_RX_GAIN_POWER_SAVING 0x94
+ 412 #define RADIOLIB_SX126X_RX_GAIN_SPECTRAL_SCAN 0xCB
+
+
+ 415 #define RADIOLIB_SX126X_PATCH_UPDATE_DISABLED 0b00000000
+ 416 #define RADIOLIB_SX126X_PATCH_UPDATE_ENABLED 0b00010000
+
+
+ 419 #define RADIOLIB_SX126X_SPECTRAL_SCAN_NONE 0x00
+ 420 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ONGOING 0x0F
+ 421 #define RADIOLIB_SX126X_SPECTRAL_SCAN_ABORTED 0xF0
+ 422 #define RADIOLIB_SX126X_SPECTRAL_SCAN_COMPLETED 0xFF
- 424 #define RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE (33)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 471 int16_t
begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength,
float tcxoVoltage,
bool useRegulatorLDO =
false);
-
- 490 int16_t
beginFSK(
float br,
float freqDev,
float rxBw, uint16_t preambleLength,
float tcxoVoltage,
bool useRegulatorLDO =
false);
-
- 500 int16_t
reset(
bool verify =
true);
-
- 514 int16_t
transmit(uint8_t* data,
size_t len, uint8_t addr = 0)
override;
-
- 526 int16_t
receive(uint8_t* data,
size_t len)
override;
+
+ 425 #define RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT (0x05 << 2)
+
+
+ 428 #define RADIOLIB_SX126X_LNA_RNG_DISABLED 0b00000001
+ 429 #define RADIOLIB_SX126X_LNA_RNG_ENABLED 0b00000000
+
+
+ 432 #define RADIOLIB_SX126X_MIXER_RNG_DISABLED 0b00000001
+ 433 #define RADIOLIB_SX126X_MIXER_RNG_ENABLED 0b00000000
+
+
+ 436 #define RADIOLIB_SX126X_SPECTRAL_SCAN_RES_SIZE (33)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 483 int16_t
begin(uint8_t cr, uint8_t syncWord, uint16_t preambleLength,
float tcxoVoltage,
bool useRegulatorLDO =
false);
+
+ 502 int16_t
beginFSK(
float br,
float freqDev,
float rxBw, uint16_t preambleLength,
float tcxoVoltage,
bool useRegulatorLDO =
false);
+
+ 512 int16_t
reset(
bool verify =
true);
+
+ 526 int16_t
transmit(uint8_t* data,
size_t len, uint8_t addr = 0)
override;
-
-
-
-
- 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);
-
- 565 int16_t
sleep(
bool retainConfig =
true);
-
-
-
-
-
-
-
-
-
-
+ 538 int16_t
receive(uint8_t* data,
size_t len)
override;
+
+
+
+
+
+ 568 int16_t
scanChannel(uint8_t symbolNum = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detPeak = RADIOLIB_SX126X_CAD_PARAM_DEFAULT, uint8_t detMin = RADIOLIB_SX126X_CAD_PARAM_DEFAULT);
+
+ 577 int16_t
sleep(
bool retainConfig =
true);
+
+
+
+
+
+
- 609 int16_t
startTransmit(uint8_t* data,
size_t len, uint8_t addr = 0)
override;
-
-
-
- 632 int16_t
startReceive(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE,
size_t len = 0);
-
- 648 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);
-
- 665 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);
-
-
-
- 684 int16_t
readData(uint8_t* data,
size_t len)
override;
+
+
+
+
+ 621 int16_t
startTransmit(uint8_t* data,
size_t len, uint8_t addr = 0)
override;
+
+
+
+ 644 int16_t
startReceive(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE,
size_t len = 0);
+
+ 660 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);
+
+ 677 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);
+
+
- 697 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);
-
-
-
-
-
-
-
-
-
-
-
- 744 int16_t
setSyncWord(uint8_t syncWord, uint8_t controlBits = 0x44);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 829 int16_t
setSyncWord(uint8_t* syncWord, uint8_t len);
-
- 840 int16_t
setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
-
-
-
-
-
-
-
- 880 int16_t
setCRC(uint8_t len, uint16_t initial = 0x1D0F, uint16_t polynomial = 0x1021,
bool inverted =
true);
-
- 891 int16_t
setWhitening(
bool enabled, uint16_t initial = 0x0100);
-
- 903 int16_t
setTCXO(
float voltage, uint32_t delay = 5000);
+ 696 int16_t
readData(uint8_t* data,
size_t len)
override;
+
+ 709 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);
+
+
+
+
+
+
+
+
+
+
+
+ 756 int16_t
setSyncWord(uint8_t syncWord, uint8_t controlBits = 0x44);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 841 int16_t
setSyncWord(uint8_t* syncWord, uint8_t len);
+
+ 852 int16_t
setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
+
+
+
+
+
+
+
+ 892 int16_t
setCRC(uint8_t len, uint16_t initial = 0x1D0F, uint16_t polynomial = 0x1021,
bool inverted =
true);
+
+ 903 int16_t
setWhitening(
bool enabled, uint16_t initial = 0x0100);
-
-
-
-
- 926 float getRSSI(
bool packet =
true);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ 915 int16_t
setTCXO(
float voltage, uint32_t delay = 5000);
+
+
+
+
+
+ 938 float getRSSI(
bool packet =
true);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- 1050 #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
-
-
- 1063 void readBit(RADIOLIB_PIN_TYPE pin);
-
-
- 1079 int16_t
uploadPatch(
const uint32_t* patch,
size_t len,
bool nonvolatile =
true);
-
- 1092 int16_t
spectralScanStart(uint16_t numSamples, uint8_t window = RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval = RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US);
-
-
-
-
-
-
-
- 1115 #if !defined(RADIOLIB_GODMODE)
-
-
-
-
- 1120 int16_t setTx(uint32_t timeout = 0);
- 1121 int16_t setRx(uint32_t timeout);
- 1122 int16_t setCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
- 1123 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);
- 1124 int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
- 1125 int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
- 1126 int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
- 1127 int16_t readBuffer(uint8_t* data, uint8_t numBytes);
- 1128 int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = RADIOLIB_SX126X_IRQ_NONE, uint16_t dio3Mask = RADIOLIB_SX126X_IRQ_NONE);
- 1129 virtual int16_t clearIrqStatus(uint16_t clearIrqParams = RADIOLIB_SX126X_IRQ_ALL);
- 1130 int16_t setRfFrequency(uint32_t frf);
- 1131 int16_t calibrateImage(uint8_t* data);
- 1132 uint8_t getPacketType();
- 1133 int16_t setTxParams(uint8_t power, uint8_t rampTime = RADIOLIB_SX126X_PA_RAMP_200U);
- 1134 int16_t setModulationParams(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
- 1135 int16_t setModulationParamsFSK(uint32_t br, uint8_t pulseShape, uint8_t rxBw, uint32_t freqDev);
- 1136 int16_t setPacketParams(uint16_t preambleLength, uint8_t crcType, uint8_t payloadLength, uint8_t headerType, uint8_t invertIQ = RADIOLIB_SX126X_LORA_IQ_STANDARD);
- 1137 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);
- 1138 int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
- 1139 int16_t setRegulatorMode(uint8_t mode);
- 1140 uint8_t getStatus();
- 1141 uint32_t getPacketStatus();
- 1142 uint16_t getDeviceErrors();
- 1143 int16_t clearDeviceErrors();
-
- 1145 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);
- 1146 int16_t setFrequencyRaw(
float freq);
- 1147 int16_t setPacketMode(uint8_t mode, uint8_t len);
- 1148 int16_t setHeaderType(uint8_t headerType,
size_t len = 0xFF);
- 1149 int16_t directMode();
- 1150 int16_t packetMode();
-
-
- 1153 int16_t fixSensitivity();
- 1154 int16_t fixPaClamping(
bool enable =
true);
- 1155 int16_t fixImplicitTimeout();
- 1156 int16_t fixInvertedIQ(uint8_t iqConfig);
-
- 1158 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
-
-
-
-
-
- 1164 static int16_t SPIparseStatus(uint8_t in);
-
- 1166 #if !defined(RADIOLIB_GODMODE)
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 1062 #if !defined(RADIOLIB_EXCLUDE_DIRECT_RECEIVE)
+
+
+ 1075 void readBit(RADIOLIB_PIN_TYPE pin);
+
+
+ 1091 int16_t
uploadPatch(
const uint32_t* patch,
size_t len,
bool nonvolatile =
true);
+
+ 1104 int16_t
spectralScanStart(uint16_t numSamples, uint8_t window = RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval = RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US);
+
+
+
+
+
+
+
+ 1127 #if !defined(RADIOLIB_GODMODE)
+
+
+
+
+ 1132 int16_t setTx(uint32_t timeout = 0);
+ 1133 int16_t setRx(uint32_t timeout);
+ 1134 int16_t setCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin);
+ 1135 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);
+ 1136 int16_t writeRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+ 1137 int16_t readRegister(uint16_t addr, uint8_t* data, uint8_t numBytes);
+ 1138 int16_t writeBuffer(uint8_t* data, uint8_t numBytes, uint8_t offset = 0x00);
+ 1139 int16_t readBuffer(uint8_t* data, uint8_t numBytes);
+ 1140 int16_t setDioIrqParams(uint16_t irqMask, uint16_t dio1Mask, uint16_t dio2Mask = RADIOLIB_SX126X_IRQ_NONE, uint16_t dio3Mask = RADIOLIB_SX126X_IRQ_NONE);
+ 1141 virtual int16_t clearIrqStatus(uint16_t clearIrqParams = RADIOLIB_SX126X_IRQ_ALL);
+ 1142 int16_t setRfFrequency(uint32_t frf);
+ 1143 int16_t calibrateImage(uint8_t* data);
+ 1144 uint8_t getPacketType();
+ 1145 int16_t setTxParams(uint8_t power, uint8_t rampTime = RADIOLIB_SX126X_PA_RAMP_200U);
+ 1146 int16_t setModulationParams(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
+ 1147 int16_t setModulationParamsFSK(uint32_t br, uint8_t pulseShape, uint8_t rxBw, uint32_t freqDev);
+ 1148 int16_t setPacketParams(uint16_t preambleLength, uint8_t crcType, uint8_t payloadLength, uint8_t headerType, uint8_t invertIQ = RADIOLIB_SX126X_LORA_IQ_STANDARD);
+ 1149 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);
+ 1150 int16_t setBufferBaseAddress(uint8_t txBaseAddress = 0x00, uint8_t rxBaseAddress = 0x00);
+ 1151 int16_t setRegulatorMode(uint8_t mode);
+ 1152 uint8_t getStatus();
+ 1153 uint32_t getPacketStatus();
+ 1154 uint16_t getDeviceErrors();
+ 1155 int16_t clearDeviceErrors();
+
+ 1157 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);
+ 1158 int16_t setFrequencyRaw(
float freq);
+ 1159 int16_t setPacketMode(uint8_t mode, uint8_t len);
+ 1160 int16_t setHeaderType(uint8_t headerType,
size_t len = 0xFF);
+ 1161 int16_t directMode();
+ 1162 int16_t packetMode();
+
+
+ 1165 int16_t fixSensitivity();
+ 1166 int16_t fixPaClamping(
bool enable =
true);
+ 1167 int16_t fixImplicitTimeout();
+ 1168 int16_t fixInvertedIQ(uint8_t iqConfig);
- 1170 uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
- 1171 uint16_t _preambleLength = 0;
-
- 1173 bool _ldroAuto =
true;
+ 1170 #if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
+
+
+
- 1175 uint32_t _br = 0, _freqDev = 0;
- 1176 uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
- 1177 uint16_t _preambleLengthFSK = 0;
-
-
- 1180 float _dataRate = 0;
+
+ 1176 static int16_t SPIparseStatus(uint8_t in);
+
+ 1178 #if !defined(RADIOLIB_GODMODE)
+
+
- 1182 uint32_t _tcxoDelay = 0;
-
- 1184 size_t _implicitLen = 0;
- 1185 const char* _chipType;
+ 1182 uint8_t _bw = 0, _sf = 0, _cr = 0, _ldro = 0, _crcType = 0, _headerType = 0;
+ 1183 uint16_t _preambleLength = 0;
+
+ 1185 bool _ldroAuto =
true;
-
-
-
- 1190 int16_t config(uint8_t modem);
- 1191 bool findChip(
const char* verStr);
-
+ 1187 uint32_t _br = 0, _freqDev = 0;
+ 1188 uint8_t _rxBw = 0, _pulseShape = 0, _crcTypeFSK = 0, _syncWordLength = 0, _addrComp = 0, _whitening = 0, _packetType = 0;
+ 1189 uint16_t _preambleLengthFSK = 0;
+
+
+ 1192 float _dataRate = 0;
-
+ 1194 uint32_t _tcxoDelay = 0;
-
+ 1196 size_t _implicitLen = 0;
+ 1197 const char* _chipType;
+
+
+
+
+ 1202 int16_t config(uint8_t modem);
+ 1203 bool findChip(
const char* verStr);
+
+
+
+
+
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
@@ -761,7 +773,7 @@ $(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:134
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:432
+Base class for SX126x series. All derived classes for SX126x (e.g. SX1262 or SX1268) inherit from thi...
Definition: SX126x.h:444
float getFrequencyError()
Gets frequency error of the latest received packet. WARNING: This functionality is based on SX128x im...
Definition: SX126x.cpp:1255
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:580
void setDio1Action(void(*func)(void))
Sets interrupt service routine to call when DIO1 activates.
Definition: SX126x.cpp:462
@@ -770,15 +782,15 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
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:1000
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: SX126x.cpp:1352
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:1364
-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:1424
+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:1432
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:1360
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:95
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:735
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: SX126x.cpp:1348
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: SX126x.cpp:1372
int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: SX126x.cpp:1080
-int16_t spectralScanGetStatus()
Read the status of spectral scan.
Definition: SX126x.cpp:1493
-int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: SX126x.cpp:1513
+int16_t spectralScanGetStatus()
Read the status of spectral scan.
Definition: SX126x.cpp:1501
+int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: SX126x.cpp:1521
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:900
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: SX126x.cpp:1356
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:553
@@ -790,8 +802,9 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
int16_t setBitRate(float br)
Sets FSK bit rate. Allowed values range from 0.6 to 300.0 kbps.
Definition: SX126x.cpp:882
uint32_t getTimeOnAir(size_t len)
Get expected time-on-air for a given size of payload.
Definition: SX126x.cpp:1309
uint8_t randomByte()
Get one truly random byte from RSSI noise.
Definition: SX126x.cpp:1393
-void spectralScanAbort()
Abort an ongoing spectral scan.
Definition: SX126x.cpp:1489
+void spectralScanAbort()
Abort an ongoing spectral scan.
Definition: SX126x.cpp:1497
int16_t receiveDirect() override
Starts direct mode reception. Only implemented for PhysicalLayer compatibility, as SX126x series does...
Definition: SX126x.cpp:346
+int16_t spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)
Start spectral scan. Requires binary path to be uploaded.
Definition: SX126x.cpp:1481
int16_t finishTransmit() override
Clean up after transmission is done.
Definition: SX126x.cpp:531
int16_t setCurrentLimit(float currentLimit)
Sets current protection limit. Can be set in 2.5 mA steps.
Definition: SX126x.cpp:823
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:963
@@ -799,7 +812,7 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
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:1305
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:1125
-uint16_t getIrqStatus()
Reads the current IRQ status.
Definition: SX126x.cpp:1669
+uint16_t getIrqStatus()
Reads the current IRQ status.
Definition: SX126x.cpp:1677
int16_t reset(bool verify=true)
Reset method. Will reset the chip to the default state using RST pin.
Definition: SX126x.cpp:189
int16_t setSyncWord(uint8_t syncWord, uint8_t controlBits=0x44)
Sets LoRa sync word.
Definition: SX126x.cpp:812
float getCurrentLimit()
Reads current protection limit.
Definition: SX126x.cpp:836
@@ -807,27 +820,26 @@ $(document).ready(function(){initNavTree('_s_x126x_8h_source.html',''); initResi
int16_t setPreambleLength(uint16_t preambleLength)
Sets preamble length for LoRa or FSK modem. Allowed values range from 1 to 65535.
Definition: SX126x.cpp:845
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:1384
-void setDirectAction(void(*func)(void))
Set interrupt service routine function to call when data bit is receveid in direct mode.
Definition: SX126x.cpp:1415
+void setDirectAction(void(*func)(void))
Set interrupt service routine function to call when data bit is receveid in direct mode.
Definition: SX126x.cpp:1423
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:1301
int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: SX126x.cpp:1097
int16_t getChannelScanResult()
Read the channel scan result.
Definition: SX126x.cpp:714
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: SX126x.cpp:1288
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:1053
float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: SX126x.cpp:1221
-int16_t spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US)
Start spectral scan. Requires binary path to be uploaded.
Definition: SX126x.cpp:1473
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:1368
-bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: SX126x.h:452
+bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: SX126x.h:464
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: SX126x.cpp:1344
float getSNR()
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: SX126x.cpp:1239
-int16_t setDio2AsRfSwitch(bool enable=true)
Set DIO2 to function as RF switch (default in Semtech example designs).
Definition: SX126x.cpp:1566
-int16_t spectralScanGetResult(uint16_t *results)
Read the result of spectral scan.
Definition: SX126x.cpp:1501
+int16_t setDio2AsRfSwitch(bool enable=true)
Set DIO2 to function as RF switch (default in Semtech example designs).
Definition: SX126x.cpp:1574
+int16_t spectralScanGetResult(uint16_t *results)
Read the result of spectral scan.
Definition: SX126x.cpp:1509
int16_t setSpreadingFactor(uint8_t sf)
Sets LoRa spreading factor. Allowed values range from 5 to 12.
Definition: SX126x.cpp:786
int16_t readData(String &str, size_t len=0)
Reads data that was received after calling startReceive method.
Definition: PhysicalLayer.cpp:153
int16_t startTransmit(String &str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:134
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:1114
int16_t setCodingRate(uint8_t cr)
Sets LoRa coding rate denominator. Allowed values range from 5 to 8.
Definition: SX126x.cpp:799
-void readBit(RADIOLIB_PIN_TYPE pin)
Function to read and process data bit in direct reception mode.
Definition: SX126x.cpp:1419
+void readBit(RADIOLIB_PIN_TYPE pin)
Function to read and process data bit in direct reception mode.
Definition: SX126x.cpp:1427
diff --git a/class_l_l_c_c68-members.html b/class_l_l_c_c68-members.html
index b0cb7ba6..6becd870 100644
--- a/class_l_l_c_c68-members.html
+++ b/class_l_l_c_c68-members.html
@@ -170,7 +170,7 @@ $(document).ready(function(){initNavTree('class_l_l_c_c68.html',''); initResizab
spectralScanAbort() | SX126x | |
spectralScanGetResult(uint16_t *results) | SX126x | |
spectralScanGetStatus() | SX126x | |
- spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
+ spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
standby() override | SX126x | virtual |
standby(uint8_t mode) | SX126x | virtual |
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 | |
diff --git a/class_l_l_c_c68.html b/class_l_l_c_c68.html
index dbae9f8a..94181515 100644
--- a/class_l_l_c_c68.html
+++ b/class_l_l_c_c68.html
@@ -342,9 +342,9 @@ void | 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 must be uploaded again on every power cycle. More...
|
|
-int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
- | Start spectral scan. Requires binary path to be uploaded. More...
|
- |
+int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
+ | Start spectral scan. Requires binary path to be uploaded. More...
|
+ |
void | spectralScanAbort () |
| Abort an ongoing spectral scan.
|
diff --git a/class_s_t_m32_w_lx-members.html b/class_s_t_m32_w_lx-members.html
index 50f442ae..6f42f174 100644
--- a/class_s_t_m32_w_lx-members.html
+++ b/class_s_t_m32_w_lx-members.html
@@ -176,7 +176,7 @@ $(document).ready(function(){initNavTree('class_s_t_m32_w_lx.html',''); initResi
spectralScanAbort() | SX126x | |
spectralScanGetResult(uint16_t *results) | SX126x | |
spectralScanGetStatus() | SX126x | |
- spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
+ spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
standby() override | SX126x | virtual |
standby(uint8_t mode) | SX126x | virtual |
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 | |
diff --git a/class_s_t_m32_w_lx.html b/class_s_t_m32_w_lx.html
index a2dd36ca..0d4439b8 100644
--- a/class_s_t_m32_w_lx.html
+++ b/class_s_t_m32_w_lx.html
@@ -364,9 +364,9 @@ void | 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 must be uploaded again on every power cycle. More...
|
|
-int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
- | Start spectral scan. Requires binary path to be uploaded. More...
|
- |
+int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
+ | Start spectral scan. Requires binary path to be uploaded. More...
|
+ |
void | spectralScanAbort () |
| Abort an ongoing spectral scan.
|
diff --git a/class_s_x1261-members.html b/class_s_x1261-members.html
index db9a3e40..1e0c89ff 100644
--- a/class_s_x1261-members.html
+++ b/class_s_x1261-members.html
@@ -169,7 +169,7 @@ $(document).ready(function(){initNavTree('class_s_x1261.html',''); initResizable
spectralScanAbort() | SX126x | |
spectralScanGetResult(uint16_t *results) | SX126x | |
spectralScanGetStatus() | SX126x | |
- spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
+ spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
standby() override | SX126x | virtual |
standby(uint8_t mode) | SX126x | virtual |
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 | |
diff --git a/class_s_x1261.html b/class_s_x1261.html
index 86050785..cfc70a0a 100644
--- a/class_s_x1261.html
+++ b/class_s_x1261.html
@@ -333,9 +333,9 @@ void | 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 must be uploaded again on every power cycle. More...
|
|
-int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
- | Start spectral scan. Requires binary path to be uploaded. More...
|
- |
+int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
+ | Start spectral scan. Requires binary path to be uploaded. More...
|
+ |
void | spectralScanAbort () |
| Abort an ongoing spectral scan.
|
diff --git a/class_s_x1262-members.html b/class_s_x1262-members.html
index 7b68bdd6..21a99126 100644
--- a/class_s_x1262-members.html
+++ b/class_s_x1262-members.html
@@ -169,7 +169,7 @@ $(document).ready(function(){initNavTree('class_s_x1262.html',''); initResizable
spectralScanAbort() | SX126x | |
spectralScanGetResult(uint16_t *results) | SX126x | |
spectralScanGetStatus() | SX126x | |
- spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
+ spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
standby() override | SX126x | virtual |
standby(uint8_t mode) | SX126x | virtual |
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 | |
diff --git a/class_s_x1262.html b/class_s_x1262.html
index b89e7a86..c1ac44d3 100644
--- a/class_s_x1262.html
+++ b/class_s_x1262.html
@@ -331,9 +331,9 @@ void | 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 must be uploaded again on every power cycle. More...
|
|
-int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
- | Start spectral scan. Requires binary path to be uploaded. More...
|
- |
+int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
+ | Start spectral scan. Requires binary path to be uploaded. More...
|
+ |
void | spectralScanAbort () |
| Abort an ongoing spectral scan.
|
diff --git a/class_s_x1268-members.html b/class_s_x1268-members.html
index de8e473b..1537a34b 100644
--- a/class_s_x1268-members.html
+++ b/class_s_x1268-members.html
@@ -168,7 +168,7 @@ $(document).ready(function(){initNavTree('class_s_x1268.html',''); initResizable
spectralScanAbort() | SX126x | |
spectralScanGetResult(uint16_t *results) | SX126x | |
spectralScanGetStatus() | SX126x | |
- spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
+ spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
standby() override | SX126x | virtual |
standby(uint8_t mode) | SX126x | virtual |
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 | |
diff --git a/class_s_x1268.html b/class_s_x1268.html
index edf7b028..70423659 100644
--- a/class_s_x1268.html
+++ b/class_s_x1268.html
@@ -325,9 +325,9 @@ void | 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 must be uploaded again on every power cycle. More...
|
|
-int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
- | Start spectral scan. Requires binary path to be uploaded. More...
|
- |
+int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
+ | Start spectral scan. Requires binary path to be uploaded. More...
|
+ |
void | spectralScanAbort () |
| Abort an ongoing spectral scan.
|
diff --git a/class_s_x126x-members.html b/class_s_x126x-members.html
index 4ffe9617..b415e5b4 100644
--- a/class_s_x126x-members.html
+++ b/class_s_x126x-members.html
@@ -164,7 +164,7 @@ $(document).ready(function(){initNavTree('class_s_x126x.html',''); initResizable
spectralScanAbort() | SX126x | |
spectralScanGetResult(uint16_t *results) | SX126x | |
spectralScanGetStatus() | SX126x | |
- spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
+ spectralScanStart(uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) | SX126x | |
standby() override | SX126x | virtual |
standby(uint8_t mode) | SX126x | virtual |
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 | |
diff --git a/class_s_x126x.html b/class_s_x126x.html
index 29acca8e..4650065c 100644
--- a/class_s_x126x.html
+++ b/class_s_x126x.html
@@ -311,9 +311,9 @@ void | 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 must be uploaded again on every power cycle. More...
|
|
-int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
- | Start spectral scan. Requires binary path to be uploaded. More...
|
- |
+int16_t | spectralScanStart (uint16_t numSamples, uint8_t window=RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT, uint8_t interval=RADIOLIB_SX126X_SCAN_INTERVAL_8_20_US) |
+ | Start spectral scan. Requires binary path to be uploaded. More...
|
+ |
void | spectralScanAbort () |
| Abort an ongoing spectral scan.
|
@@ -2288,8 +2288,8 @@ bool
-◆ spectralScanStart()
+
+◆ spectralScanStart()
@@ -2304,7 +2304,7 @@ bool | |
|
uint8_t |
- window = RADIOLIB_SX126x_SPECTRAL_SCAN_WINDOW_DEFAULT , |
+ window = RADIOLIB_SX126X_SPECTRAL_SCAN_WINDOW_DEFAULT , |
|
diff --git a/class_s_x126x.js b/class_s_x126x.js
index c67896a2..42efa2dc 100644
--- a/class_s_x126x.js
+++ b/class_s_x126x.js
@@ -62,7 +62,7 @@ var class_s_x126x =
[ "spectralScanAbort", "class_s_x126x.html#a865397e1cca38bec2d055c047825ea07", null ],
[ "spectralScanGetResult", "class_s_x126x.html#ae473773e5bed4b08452e80311bdb26f2", null ],
[ "spectralScanGetStatus", "class_s_x126x.html#a5595fff99d76d50d711b8cdad98527c4", null ],
- [ "spectralScanStart", "class_s_x126x.html#acea676a81ee40e83f96becdee91d42be", null ],
+ [ "spectralScanStart", "class_s_x126x.html#a8a3ad4e12df862ab18b326d9dba26d66", null ],
[ "standby", "class_s_x126x.html#a7a1579e2557c36a4a34b09039c0d0c71", null ],
[ "standby", "class_s_x126x.html#ad7569396f09f3867dc1bd4d4a0613acd", null ],
[ "startChannelScan", "class_s_x126x.html#a10a0e75571350fb05fa100e5d5151be2", null ],
diff --git a/functions_func_s.html b/functions_func_s.html
index 66d9073e..0288f327 100644
--- a/functions_func_s.html
+++ b/functions_func_s.html
@@ -480,7 +480,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
: SX126x
spectralScanStart()
-: SX126x
+: SX126x
SPIcheckStream()
: Module
diff --git a/functions_s.html b/functions_s.html
index 5fd8796b..ad949f6a 100644
--- a/functions_s.html
+++ b/functions_s.html
@@ -486,7 +486,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
: SX126x
spectralScanStart()
-: SX126x
+: SX126x
SPIaddrWidth
: Module
diff --git a/navtreeindex2.js b/navtreeindex2.js
index 703ed7b9..17048827 100644
--- a/navtreeindex2.js
+++ b/navtreeindex2.js
@@ -81,6 +81,7 @@ var NAVTREEINDEX2 =
"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#a8a3ad4e12df862ab18b326d9dba26d66":[3,0,35,62],
"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],
@@ -108,7 +109,6 @@ var NAVTREEINDEX2 =
"class_s_x126x.html#ac4ef8c8751a3c09d64e431684840c987":[3,0,35,16],
"class_s_x126x.html#ac594fbb30c5010658c970a64654c7162":[3,0,35,53],
"class_s_x126x.html#acbe2d75b1e2df8bcc58c4fd9d8e6e4f9":[3,0,35,12],
-"class_s_x126x.html#acea676a81ee40e83f96becdee91d42be":[3,0,35,62],
"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],
diff --git a/search/all_f.js b/search/all_f.js
index ad02528d..87c39ea3 100644
--- a/search/all_f.js
+++ b/search/all_f.js
@@ -84,7 +84,7 @@ var searchData=
['spectralscanabort_310',['spectralScanAbort',['../class_s_x126x.html#a865397e1cca38bec2d055c047825ea07',1,'SX126x']]],
['spectralscangetresult_311',['spectralScanGetResult',['../class_s_x126x.html#ae473773e5bed4b08452e80311bdb26f2',1,'SX126x']]],
['spectralscangetstatus_312',['spectralScanGetStatus',['../class_s_x126x.html#a5595fff99d76d50d711b8cdad98527c4',1,'SX126x']]],
- ['spectralscanstart_313',['spectralScanStart',['../class_s_x126x.html#acea676a81ee40e83f96becdee91d42be',1,'SX126x']]],
+ ['spectralscanstart_313',['spectralScanStart',['../class_s_x126x.html#a8a3ad4e12df862ab18b326d9dba26d66',1,'SX126x']]],
['spiaddrwidth_314',['SPIaddrWidth',['../class_module.html#ac19a495026aae62f5c2f089aa1b2b57a',1,'Module']]],
['spicheckstream_315',['SPIcheckStream',['../class_module.html#a5efa7ae78cab1d7f43005e965923f769',1,'Module']]],
['spigetregvalue_316',['SPIgetRegValue',['../class_module.html#a01e15988ec448c76142ee5709929be2c',1,'Module']]],
diff --git a/search/functions_f.js b/search/functions_f.js
index ec321f9b..642f8e99 100644
--- a/search/functions_f.js
+++ b/search/functions_f.js
@@ -82,7 +82,7 @@ var searchData=
['spectralscanabort_635',['spectralScanAbort',['../class_s_x126x.html#a865397e1cca38bec2d055c047825ea07',1,'SX126x']]],
['spectralscangetresult_636',['spectralScanGetResult',['../class_s_x126x.html#ae473773e5bed4b08452e80311bdb26f2',1,'SX126x']]],
['spectralscangetstatus_637',['spectralScanGetStatus',['../class_s_x126x.html#a5595fff99d76d50d711b8cdad98527c4',1,'SX126x']]],
- ['spectralscanstart_638',['spectralScanStart',['../class_s_x126x.html#acea676a81ee40e83f96becdee91d42be',1,'SX126x']]],
+ ['spectralscanstart_638',['spectralScanStart',['../class_s_x126x.html#a8a3ad4e12df862ab18b326d9dba26d66',1,'SX126x']]],
['spicheckstream_639',['SPIcheckStream',['../class_module.html#a5efa7ae78cab1d7f43005e965923f769',1,'Module']]],
['spigetregvalue_640',['SPIgetRegValue',['../class_module.html#a01e15988ec448c76142ee5709929be2c',1,'Module']]],
['spireadregister_641',['SPIreadRegister',['../class_module.html#a9a545e4a001da0d9f6358279ac40d4f0',1,'Module']]],