diff --git a/_l_r1110_8h_source.html b/_l_r1110_8h_source.html index e89751e6..3395e67c 100644 --- a/_l_r1110_8h_source.html +++ b/_l_r1110_8h_source.html @@ -139,7 +139,7 @@ $(document).ready(function(){initNavTree('_l_r1110_8h_source.html',''); initResi
LR1110::setFrequency
int16_t setFrequency(float freq) override
Sets carrier frequency. Allowed values are in range from 150.0 to 960.0 MHz. Will also perform calibr...
Definition: LR1110.cpp:47
LR1110::checkOutputPower
int16_t checkOutputPower(int8_t power, int8_t *clipped) override
Check if output power is configurable. This method is needed for compatibility with PhysicalLayer::ch...
Definition: LR1110.cpp:87
LR1110::beginGFSK
int16_t beginGFSK(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)
Initialization method for FSK modem.
Definition: LR1110.cpp:21
-
LR11x0
Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:726
+
LR11x0
Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:729
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:65
diff --git a/_l_r1120_8h_source.html b/_l_r1120_8h_source.html index 9f6811f9..72e859f0 100644 --- a/_l_r1120_8h_source.html +++ b/_l_r1120_8h_source.html @@ -142,7 +142,7 @@ $(document).ready(function(){initNavTree('_l_r1120_8h_source.html',''); initResi
LR1120::beginLRFHSS
int16_t beginLRFHSS(float freq=434.0, uint8_t bw=RADIOLIB_LR11X0_LR_FHSS_BW_722_66, uint8_t cr=RADIOLIB_LR11X0_LR_FHSS_CR_2_3, int8_t power=10, float tcxoVoltage=1.6)
Initialization method for LR-FHSS modem.
Definition: LR1120.cpp:34
LR1120::checkOutputPower
int16_t checkOutputPower(int8_t power, int8_t *clipped) override
Check if output power is configurable. This method is needed for compatibility with PhysicalLayer::ch...
Definition: LR1120.cpp:102
LR1120::LR1120
LR1120(Module *mod)
Default constructor.
Definition: LR1120.cpp:4
-
LR11x0
Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:726
+
LR11x0
Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:729
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:65
diff --git a/_l_r11x0_8h_source.html b/_l_r11x0_8h_source.html index ffe2d3c6..e82782a2 100644 --- a/_l_r11x0_8h_source.html +++ b/_l_r11x0_8h_source.html @@ -452,805 +452,808 @@ $(document).ready(function(){initNavTree('_l_r11x0_8h_source.html',''); initResi
364 #define RADIOLIB_LR11X0_LORA_BW_125_0 (0x04UL << 0) // 7 0 125.0 kHz
365 #define RADIOLIB_LR11X0_LORA_BW_250_0 (0x05UL << 0) // 7 0 250.0 kHz
366 #define RADIOLIB_LR11X0_LORA_BW_500_0 (0x06UL << 0) // 7 0 500.0 kHz
-
367 #define RADIOLIB_LR11X0_LORA_CR_4_5_SHORT (0x01UL << 0) // 7 0 coding rate: 4/5 with short interleaver
-
368 #define RADIOLIB_LR11X0_LORA_CR_4_6_SHORT (0x02UL << 0) // 7 0 4/6 with short interleaver
-
369 #define RADIOLIB_LR11X0_LORA_CR_4_7_SHORT (0x03UL << 0) // 7 0 4/7 with short interleaver
-
370 #define RADIOLIB_LR11X0_LORA_CR_4_8_SHORT (0x04UL << 0) // 7 0 4/8 with short interleaver
-
371 #define RADIOLIB_LR11X0_LORA_CR_4_5_LONG (0x05UL << 0) // 7 0 4/5 with long interleaver
-
372 #define RADIOLIB_LR11X0_LORA_CR_4_6_LONG (0x06UL << 0) // 7 0 4/6 with long interleaver
-
373 #define RADIOLIB_LR11X0_LORA_CR_4_8_LONG (0x07UL << 0) // 7 0 4/8 with long interleaver
-
374 #define RADIOLIB_LR11X0_LORA_LDRO_DISABLED (0x00UL << 0) // 7 0 low data rate optimize: disabled
-
375 #define RADIOLIB_LR11X0_LORA_LDRO_ENABLED (0x01UL << 0) // 7 0 enabled
-
376 #define RADIOLIB_LR11X0_GFSK_BIT_RATE_DIV_DISABLED (0x00UL << 31) // 31 0 divide bit rate value by 256: disabled
-
377 #define RADIOLIB_LR11X0_GFSK_BIT_RATE_DIV_ENABLED (0x01UL << 31) // 31 0 enabled
-
378 #define RADIOLIB_LR11X0_GFSK_SHAPING_NONE (0x00UL << 0) // 7 0 shaping filter: none
-
379 #define RADIOLIB_LR11X0_GFSK_SHAPING_GAUSSIAN_BT_0_3 (0x08UL << 0) // 7 0 Gaussian, BT = 0.3
-
380 #define RADIOLIB_LR11X0_GFSK_SHAPING_GAUSSIAN_BT_0_5 (0x09UL << 0) // 7 0 Gaussian, BT = 0.5
-
381 #define RADIOLIB_LR11X0_GFSK_SHAPING_GAUSSIAN_BT_0_7 (0x0AUL << 0) // 7 0 Gaussian, BT = 0.7
-
382 #define RADIOLIB_LR11X0_GFSK_SHAPING_GAUSSIAN_BT_1_0 (0x0BUL << 0) // 7 0 Gaussian, BT = 1.0
-
383 #define RADIOLIB_LR11X0_GFSK_SHAPING_RAISED_COSINE_BT_0_7 (0x16UL << 0) // 7 0 raised cosine, BT = 0.7
-
384 #define RADIOLIB_LR11X0_GFSK_RX_BW_4_8 (0x1FUL << 0) // 7 0 GFSK Rx bandwidth: 4.8 kHz
-
385 #define RADIOLIB_LR11X0_GFSK_RX_BW_5_8 (0x17UL << 0) // 7 0 5.8 kHz
-
386 #define RADIOLIB_LR11X0_GFSK_RX_BW_7_3 (0x0FUL << 0) // 7 0 7.3 kHz
-
387 #define RADIOLIB_LR11X0_GFSK_RX_BW_9_7 (0x1EUL << 0) // 7 0 9.7 kHz
-
388 #define RADIOLIB_LR11X0_GFSK_RX_BW_11_7 (0x16UL << 0) // 7 0 11.7 kHz
-
389 #define RADIOLIB_LR11X0_GFSK_RX_BW_14_6 (0x0EUL << 0) // 7 0 14.6 kHz
-
390 #define RADIOLIB_LR11X0_GFSK_RX_BW_19_5 (0x1DUL << 0) // 7 0 19.5 kHz
-
391 #define RADIOLIB_LR11X0_GFSK_RX_BW_23_4 (0x15UL << 0) // 7 0 23.4 kHz
-
392 #define RADIOLIB_LR11X0_GFSK_RX_BW_29_3 (0x0DUL << 0) // 7 0 29.3 kHz
-
393 #define RADIOLIB_LR11X0_GFSK_RX_BW_39_0 (0x1CUL << 0) // 7 0 39.0 kHz
-
394 #define RADIOLIB_LR11X0_GFSK_RX_BW_46_9 (0x14UL << 0) // 7 0 46.9 kHz
-
395 #define RADIOLIB_LR11X0_GFSK_RX_BW_58_6 (0x0CUL << 0) // 7 0 58.6 kHz
-
396 #define RADIOLIB_LR11X0_GFSK_RX_BW_78_2 (0x1BUL << 0) // 7 0 78.2 kHz
-
397 #define RADIOLIB_LR11X0_GFSK_RX_BW_93_8 (0x13UL << 0) // 7 0 93.8 kHz
-
398 #define RADIOLIB_LR11X0_GFSK_RX_BW_117_3 (0x0BUL << 0) // 7 0 117.3 kHz
-
399 #define RADIOLIB_LR11X0_GFSK_RX_BW_156_2 (0x1AUL << 0) // 7 0 156.2 kHz
-
400 #define RADIOLIB_LR11X0_GFSK_RX_BW_187_2 (0x12UL << 0) // 7 0 187.2 kHz
-
401 #define RADIOLIB_LR11X0_GFSK_RX_BW_234_3 (0x0AUL << 0) // 7 0 234.3 kHz
-
402 #define RADIOLIB_LR11X0_GFSK_RX_BW_312_0 (0x19UL << 0) // 7 0 312.0 kHz
-
403 #define RADIOLIB_LR11X0_GFSK_RX_BW_373_6 (0x11UL << 0) // 7 0 373.6 kHz
-
404 #define RADIOLIB_LR11X0_GFSK_RX_BW_467_0 (0x09UL << 0) // 7 0 467.0 kHz
-
405 #define RADIOLIB_LR11X0_LR_FHSS_BIT_RATE (488.28215) // 31 0 LR FHSS bit rate: 488.28215 bps
-
406 #define RADIOLIB_LR11X0_LR_FHSS_BIT_RATE_RAW (0x8001E848UL) // 31 0 488.28215 bps in raw
-
407 #define RADIOLIB_LR11X0_LR_FHSS_SHAPING_GAUSSIAN_BT_1_0 (0x0BUL << 0) // 7 0 shaping filter: Gaussian, BT = 1.0
-
408 #define RADIOLIB_LR11X0_SIGFOX_SHAPING_GAUSSIAN_BT_0_7 (0x16UL << 0) // 7 0 shaping filter: Gaussian, BT = 0.7
-
409 
-
410 // RADIOLIB_LR11X0_CMD_SET_PACKET_PARAMS
-
411 #define RADIOLIB_LR11X0_LORA_HEADER_EXPLICIT (0x00UL << 0) // 7 0 LoRa header mode: explicit
-
412 #define RADIOLIB_LR11X0_LORA_HEADER_IMPLICIT (0x01UL << 0) // 7 0 implicit
-
413 #define RADIOLIB_LR11X0_LORA_PAYLOAD_LEN_ANY (0x00UL << 0) // 7 0 accept any payload length
-
414 #define RADIOLIB_LR11X0_LORA_CRC_ENABLED (0x01UL << 0) // 7 0 CRC: enabled
-
415 #define RADIOLIB_LR11X0_LORA_CRC_DISABLED (0x00UL << 0) // 7 0 disabled
-
416 #define RADIOLIB_LR11X0_LORA_IQ_STANDARD (0x00UL << 0) // 7 0 IQ setup: standard
-
417 #define RADIOLIB_LR11X0_LORA_IQ_INVERTED (0x01UL << 0) // 7 0 inverted
-
418 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_DISABLED (0x00UL << 0) // 7 0 preamble detector: disabled
-
419 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_8_BITS (0x04UL << 0) // 7 0 8 bits
-
420 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_16_BITS (0x05UL << 0) // 7 0 16 bits
-
421 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_24_BITS (0x06UL << 0) // 7 0 24 bits
-
422 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_32_BITS (0x07UL << 0) // 7 0 32 bits
-
423 #define RADIOLIB_LR11X0_GFSK_ADDR_FILTER_DISABLED (0x00UL << 0) // 7 0 address filtering: disabled
-
424 #define RADIOLIB_LR11X0_GFSK_ADDR_FILTER_NODE (0x01UL << 0) // 7 0 node address
-
425 #define RADIOLIB_LR11X0_GFSK_ADDR_FILTER_NODE_BROADCAST (0x02UL << 0) // 7 0 node and broadcast address
-
426 #define RADIOLIB_LR11X0_GFSK_PACKET_LENGTH_FIXED (0x00UL << 0) // 7 0 packet length: fixed
-
427 #define RADIOLIB_LR11X0_GFSK_PACKET_LENGTH_VARIABLE (0x01UL << 0) // 7 0 variable
-
428 #define RADIOLIB_LR11X0_GFSK_PACKET_LENGTH_VARIABLE_SX128X (0x02UL << 0) // 7 0 variable, SX128x 9-bit length encoding
-
429 #define RADIOLIB_LR11X0_GFSK_PAYLOAD_LEN_ANY (0x00UL << 0) // 7 0 accept any payload length
-
430 #define RADIOLIB_LR11X0_GFSK_CRC_DISABLED (0x01UL << 0) // 7 0 CRC: disabled
-
431 #define RADIOLIB_LR11X0_GFSK_CRC_1_BYTE (0x00UL << 0) // 7 0 1-byte
-
432 #define RADIOLIB_LR11X0_GFSK_CRC_2_BYTE (0x02UL << 0) // 7 0 2-byte
-
433 #define RADIOLIB_LR11X0_GFSK_CRC_1_BYTE_INV (0x04UL << 0) // 7 0 1-byte, inverted
-
434 #define RADIOLIB_LR11X0_GFSK_CRC_2_BYTE_INV (0x06UL << 0) // 7 0 2-byte, inverted
-
435 #define RADIOLIB_LR11X0_GFSK_WHITENING_DISABLED (0x00UL << 0) // 7 0 whitening: disabled
-
436 #define RADIOLIB_LR11X0_GFSK_WHITENING_ENABLED (0x01UL << 0) // 7 0 enabled
-
437 
-
438 // RADIOLIB_LR11X0_CMD_SET_TX_PARAMS
-
439 #define RADIOLIB_LR11X0_PA_RAMP_48U (0x02UL << 0) // 7 0 PA ramp time: 48 us
+
367 #define RADIOLIB_LR11X0_LORA_BW_203_125 (0x0DUL << 0) // 7 0 203.0 kHz (2.4GHz only)
+
368 #define RADIOLIB_LR11X0_LORA_BW_406_25 (0x0EUL << 0) // 7 0 406.0 kHz (2.4GHz only)
+
369 #define RADIOLIB_LR11X0_LORA_BW_812_50 (0x0FUL << 0) // 7 0 812.0 kHz (2.4GHz only)
+
370 #define RADIOLIB_LR11X0_LORA_CR_4_5_SHORT (0x01UL << 0) // 7 0 coding rate: 4/5 with short interleaver
+
371 #define RADIOLIB_LR11X0_LORA_CR_4_6_SHORT (0x02UL << 0) // 7 0 4/6 with short interleaver
+
372 #define RADIOLIB_LR11X0_LORA_CR_4_7_SHORT (0x03UL << 0) // 7 0 4/7 with short interleaver
+
373 #define RADIOLIB_LR11X0_LORA_CR_4_8_SHORT (0x04UL << 0) // 7 0 4/8 with short interleaver
+
374 #define RADIOLIB_LR11X0_LORA_CR_4_5_LONG (0x05UL << 0) // 7 0 4/5 with long interleaver
+
375 #define RADIOLIB_LR11X0_LORA_CR_4_6_LONG (0x06UL << 0) // 7 0 4/6 with long interleaver
+
376 #define RADIOLIB_LR11X0_LORA_CR_4_8_LONG (0x07UL << 0) // 7 0 4/8 with long interleaver
+
377 #define RADIOLIB_LR11X0_LORA_LDRO_DISABLED (0x00UL << 0) // 7 0 low data rate optimize: disabled
+
378 #define RADIOLIB_LR11X0_LORA_LDRO_ENABLED (0x01UL << 0) // 7 0 enabled
+
379 #define RADIOLIB_LR11X0_GFSK_BIT_RATE_DIV_DISABLED (0x00UL << 31) // 31 0 divide bit rate value by 256: disabled
+
380 #define RADIOLIB_LR11X0_GFSK_BIT_RATE_DIV_ENABLED (0x01UL << 31) // 31 0 enabled
+
381 #define RADIOLIB_LR11X0_GFSK_SHAPING_NONE (0x00UL << 0) // 7 0 shaping filter: none
+
382 #define RADIOLIB_LR11X0_GFSK_SHAPING_GAUSSIAN_BT_0_3 (0x08UL << 0) // 7 0 Gaussian, BT = 0.3
+
383 #define RADIOLIB_LR11X0_GFSK_SHAPING_GAUSSIAN_BT_0_5 (0x09UL << 0) // 7 0 Gaussian, BT = 0.5
+
384 #define RADIOLIB_LR11X0_GFSK_SHAPING_GAUSSIAN_BT_0_7 (0x0AUL << 0) // 7 0 Gaussian, BT = 0.7
+
385 #define RADIOLIB_LR11X0_GFSK_SHAPING_GAUSSIAN_BT_1_0 (0x0BUL << 0) // 7 0 Gaussian, BT = 1.0
+
386 #define RADIOLIB_LR11X0_GFSK_SHAPING_RAISED_COSINE_BT_0_7 (0x16UL << 0) // 7 0 raised cosine, BT = 0.7
+
387 #define RADIOLIB_LR11X0_GFSK_RX_BW_4_8 (0x1FUL << 0) // 7 0 GFSK Rx bandwidth: 4.8 kHz
+
388 #define RADIOLIB_LR11X0_GFSK_RX_BW_5_8 (0x17UL << 0) // 7 0 5.8 kHz
+
389 #define RADIOLIB_LR11X0_GFSK_RX_BW_7_3 (0x0FUL << 0) // 7 0 7.3 kHz
+
390 #define RADIOLIB_LR11X0_GFSK_RX_BW_9_7 (0x1EUL << 0) // 7 0 9.7 kHz
+
391 #define RADIOLIB_LR11X0_GFSK_RX_BW_11_7 (0x16UL << 0) // 7 0 11.7 kHz
+
392 #define RADIOLIB_LR11X0_GFSK_RX_BW_14_6 (0x0EUL << 0) // 7 0 14.6 kHz
+
393 #define RADIOLIB_LR11X0_GFSK_RX_BW_19_5 (0x1DUL << 0) // 7 0 19.5 kHz
+
394 #define RADIOLIB_LR11X0_GFSK_RX_BW_23_4 (0x15UL << 0) // 7 0 23.4 kHz
+
395 #define RADIOLIB_LR11X0_GFSK_RX_BW_29_3 (0x0DUL << 0) // 7 0 29.3 kHz
+
396 #define RADIOLIB_LR11X0_GFSK_RX_BW_39_0 (0x1CUL << 0) // 7 0 39.0 kHz
+
397 #define RADIOLIB_LR11X0_GFSK_RX_BW_46_9 (0x14UL << 0) // 7 0 46.9 kHz
+
398 #define RADIOLIB_LR11X0_GFSK_RX_BW_58_6 (0x0CUL << 0) // 7 0 58.6 kHz
+
399 #define RADIOLIB_LR11X0_GFSK_RX_BW_78_2 (0x1BUL << 0) // 7 0 78.2 kHz
+
400 #define RADIOLIB_LR11X0_GFSK_RX_BW_93_8 (0x13UL << 0) // 7 0 93.8 kHz
+
401 #define RADIOLIB_LR11X0_GFSK_RX_BW_117_3 (0x0BUL << 0) // 7 0 117.3 kHz
+
402 #define RADIOLIB_LR11X0_GFSK_RX_BW_156_2 (0x1AUL << 0) // 7 0 156.2 kHz
+
403 #define RADIOLIB_LR11X0_GFSK_RX_BW_187_2 (0x12UL << 0) // 7 0 187.2 kHz
+
404 #define RADIOLIB_LR11X0_GFSK_RX_BW_234_3 (0x0AUL << 0) // 7 0 234.3 kHz
+
405 #define RADIOLIB_LR11X0_GFSK_RX_BW_312_0 (0x19UL << 0) // 7 0 312.0 kHz
+
406 #define RADIOLIB_LR11X0_GFSK_RX_BW_373_6 (0x11UL << 0) // 7 0 373.6 kHz
+
407 #define RADIOLIB_LR11X0_GFSK_RX_BW_467_0 (0x09UL << 0) // 7 0 467.0 kHz
+
408 #define RADIOLIB_LR11X0_LR_FHSS_BIT_RATE (488.28215) // 31 0 LR FHSS bit rate: 488.28215 bps
+
409 #define RADIOLIB_LR11X0_LR_FHSS_BIT_RATE_RAW (0x8001E848UL) // 31 0 488.28215 bps in raw
+
410 #define RADIOLIB_LR11X0_LR_FHSS_SHAPING_GAUSSIAN_BT_1_0 (0x0BUL << 0) // 7 0 shaping filter: Gaussian, BT = 1.0
+
411 #define RADIOLIB_LR11X0_SIGFOX_SHAPING_GAUSSIAN_BT_0_7 (0x16UL << 0) // 7 0 shaping filter: Gaussian, BT = 0.7
+
412 
+
413 // RADIOLIB_LR11X0_CMD_SET_PACKET_PARAMS
+
414 #define RADIOLIB_LR11X0_LORA_HEADER_EXPLICIT (0x00UL << 0) // 7 0 LoRa header mode: explicit
+
415 #define RADIOLIB_LR11X0_LORA_HEADER_IMPLICIT (0x01UL << 0) // 7 0 implicit
+
416 #define RADIOLIB_LR11X0_LORA_PAYLOAD_LEN_ANY (0x00UL << 0) // 7 0 accept any payload length
+
417 #define RADIOLIB_LR11X0_LORA_CRC_ENABLED (0x01UL << 0) // 7 0 CRC: enabled
+
418 #define RADIOLIB_LR11X0_LORA_CRC_DISABLED (0x00UL << 0) // 7 0 disabled
+
419 #define RADIOLIB_LR11X0_LORA_IQ_STANDARD (0x00UL << 0) // 7 0 IQ setup: standard
+
420 #define RADIOLIB_LR11X0_LORA_IQ_INVERTED (0x01UL << 0) // 7 0 inverted
+
421 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_DISABLED (0x00UL << 0) // 7 0 preamble detector: disabled
+
422 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_8_BITS (0x04UL << 0) // 7 0 8 bits
+
423 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_16_BITS (0x05UL << 0) // 7 0 16 bits
+
424 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_24_BITS (0x06UL << 0) // 7 0 24 bits
+
425 #define RADIOLIB_LR11X0_GFSK_PREAMBLE_DETECT_32_BITS (0x07UL << 0) // 7 0 32 bits
+
426 #define RADIOLIB_LR11X0_GFSK_ADDR_FILTER_DISABLED (0x00UL << 0) // 7 0 address filtering: disabled
+
427 #define RADIOLIB_LR11X0_GFSK_ADDR_FILTER_NODE (0x01UL << 0) // 7 0 node address
+
428 #define RADIOLIB_LR11X0_GFSK_ADDR_FILTER_NODE_BROADCAST (0x02UL << 0) // 7 0 node and broadcast address
+
429 #define RADIOLIB_LR11X0_GFSK_PACKET_LENGTH_FIXED (0x00UL << 0) // 7 0 packet length: fixed
+
430 #define RADIOLIB_LR11X0_GFSK_PACKET_LENGTH_VARIABLE (0x01UL << 0) // 7 0 variable
+
431 #define RADIOLIB_LR11X0_GFSK_PACKET_LENGTH_VARIABLE_SX128X (0x02UL << 0) // 7 0 variable, SX128x 9-bit length encoding
+
432 #define RADIOLIB_LR11X0_GFSK_PAYLOAD_LEN_ANY (0x00UL << 0) // 7 0 accept any payload length
+
433 #define RADIOLIB_LR11X0_GFSK_CRC_DISABLED (0x01UL << 0) // 7 0 CRC: disabled
+
434 #define RADIOLIB_LR11X0_GFSK_CRC_1_BYTE (0x00UL << 0) // 7 0 1-byte
+
435 #define RADIOLIB_LR11X0_GFSK_CRC_2_BYTE (0x02UL << 0) // 7 0 2-byte
+
436 #define RADIOLIB_LR11X0_GFSK_CRC_1_BYTE_INV (0x04UL << 0) // 7 0 1-byte, inverted
+
437 #define RADIOLIB_LR11X0_GFSK_CRC_2_BYTE_INV (0x06UL << 0) // 7 0 2-byte, inverted
+
438 #define RADIOLIB_LR11X0_GFSK_WHITENING_DISABLED (0x00UL << 0) // 7 0 whitening: disabled
+
439 #define RADIOLIB_LR11X0_GFSK_WHITENING_ENABLED (0x01UL << 0) // 7 0 enabled
440 
-
441 // RADIOLIB_LR11X0_CMD_SET_RX_TX_FALLBACK_MODE
-
442 #define RADIOLIB_LR11X0_FALLBACK_MODE_STBY_RC (0x01UL << 0) // 1 0 fallback mode after Rx/Tx: standby with RC
-
443 #define RADIOLIB_LR11X0_FALLBACK_MODE_STBY_XOSC (0x02UL << 0) // 1 0 standby with XOSC
-
444 #define RADIOLIB_LR11X0_FALLBACK_MODE_FS (0x03UL << 0) // 1 0 frequency synthesis
-
445 
-
446 // RADIOLIB_LR11X0_CMD_SET_RX_DUTY_CYCLE
-
447 #define RADIOLIB_LR11X0_RX_DUTY_CYCLE_MODE_RX (0x00UL << 0) // 0 0 mode in Rx windows: Rx (default)
-
448 #define RADIOLIB_LR11X0_RX_DUTY_CYCLE_MODE_CAD (0x01UL << 0) // 0 0 CAD
-
449 #define RADIOLIB_LR11X0_TIMING_STEP (1.0f/32768.0f) // 23 0 timing step fo delays
-
450 
-
451 // RADIOLIB_LR11X0_CMD_SET_PA_CONFIG
-
452 #define RADIOLIB_LR11X0_PA_SEL_LP (0x00UL << 0) // 7 0 PA select: low power PA
-
453 #define RADIOLIB_LR11X0_PA_SEL_HP (0x01UL << 0) // 7 0 high power PA
-
454 #define RADIOLIB_LR11X0_PA_SEL_HF (0x02UL << 0) // 7 0 high frequency PA
-
455 #define RADIOLIB_LR11X0_PA_SUPPLY_INTERNAL (0x00UL << 0) // 7 0 PA power source: internal
-
456 #define RADIOLIB_LR11X0_PA_SUPPLY_VBAT (0x01UL << 0) // 7 0 VBAT (required for >= 14 dBm)
-
457 
-
458 // RADIOLIB_LR11X0_CMD_STOP_TIMEOUT_ON_PREAMBLE
-
459 #define RADIOLIB_LR11X0_STOP_ON_SYNC_HEADER (0x00UL << 0) // 0 0 stop timeout on: sync word or header (default)
-
460 #define RADIOLIB_LR11X0_STOP_ON_PREAMBLE (0x01UL << 0) // 0 0 preamble
-
461 
-
462 // RADIOLIB_LR11X0_CMD_GET_RANGING_RESULT
-
463 #define RADIOLIB_LR11X0_RANGING_RESULT_DISTANCE (0) // 7 0 ranging result type: distance
-
464 #define RADIOLIB_LR11X0_RANGING_RESULT_RSSI (1) // 7 0 RSSI
-
465 
-
466 // RADIOLIB_LR11X0_CMD_SET_RX_BOOSTED
-
467 #define RADIOLIB_LR11X0_RX_BOOSTED_ENABLED (0x01UL << 0) // 0 0 Rx boosted mode: enabled
-
468 #define RADIOLIB_LR11X0_RX_BOOSTED_DISABLED (0x00UL << 0) // 0 0 disabled
-
469 
-
470 // RADIOLIB_LR11X0_CMD_SET_LORA_SYNC_WORD
-
471 #define RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE (0x12)
-
472 #define RADIOLIB_LR11X0_LORA_SYNC_WORD_PUBLIC (0x34)
-
473 
-
474 // RADIOLIB_LR11X0_CMD_LR_FHSS_BUILD_FRAME
-
475 #define RADIOLIB_LR11X0_LR_FHSS_CR_5_6 (0x00UL << 0) // 7 0 LR FHSS coding rate: 5/6
-
476 #define RADIOLIB_LR11X0_LR_FHSS_CR_2_3 (0x01UL << 0) // 7 0 2/3
-
477 #define RADIOLIB_LR11X0_LR_FHSS_CR_1_2 (0x02UL << 0) // 7 0 1/2
-
478 #define RADIOLIB_LR11X0_LR_FHSS_CR_1_3 (0x03UL << 0) // 7 0 1/3
-
479 #define RADIOLIB_LR11X0_LR_FHSS_MOD_TYPE_GMSK (0x00UL << 0) // 7 0 LR FHSS modulation: GMSK
-
480 #define RADIOLIB_LR11X0_LR_FHSS_GRID_STEP_FCC (0x00UL << 0) // 7 0 LR FHSS step size: 25.390625 kHz (FCC)
-
481 #define RADIOLIB_LR11X0_LR_FHSS_GRID_STEP_NON_FCC (0x01UL << 0) // 7 0 3.90625 kHz (non-FCC)
-
482 #define RADIOLIB_LR11X0_LR_FHSS_HOPPING_DISABLED (0x00UL << 0) // 7 0 LR FHSS hopping: disabled
-
483 #define RADIOLIB_LR11X0_LR_FHSS_HOPPING_ENABLED (0x01UL << 0) // 7 0 enabled
-
484 #define RADIOLIB_LR11X0_LR_FHSS_BW_39_06 (0x00UL << 0) // 7 0 LR FHSS bandwidth: 39.06 kHz
-
485 #define RADIOLIB_LR11X0_LR_FHSS_BW_85_94 (0x01UL << 0) // 7 0 85.94 kHz
-
486 #define RADIOLIB_LR11X0_LR_FHSS_BW_136_72 (0x02UL << 0) // 7 0 136.72 kHz
-
487 #define RADIOLIB_LR11X0_LR_FHSS_BW_183_59 (0x03UL << 0) // 7 0 183.59 kHz
-
488 #define RADIOLIB_LR11X0_LR_FHSS_BW_335_94 (0x04UL << 0) // 7 0 335.94 kHz
-
489 #define RADIOLIB_LR11X0_LR_FHSS_BW_386_72 (0x05UL << 0) // 7 0 386.72 kHz
-
490 #define RADIOLIB_LR11X0_LR_FHSS_BW_722_66 (0x06UL << 0) // 7 0 722.66 kHz
-
491 #define RADIOLIB_LR11X0_LR_FHSS_BW_773_44 (0x07UL << 0) // 7 0 773.44 kHz
-
492 #define RADIOLIB_LR11X0_LR_FHSS_BW_1523_4 (0x08UL << 0) // 7 0 1523.4 kHz
-
493 #define RADIOLIB_LR11X0_LR_FHSS_BW_1574_2 (0x09UL << 0) // 7 0 1574.2 kHz
-
494 #define RADIOLIB_LR11X0_LR_FHSS_HEADER_BITS (114) // 7 0 LR FHSS packet bit widths: header
-
495 #define RADIOLIB_LR11X0_LR_FHSS_FRAG_BITS (48) // 7 0 payload fragment
-
496 #define RADIOLIB_LR11X0_LR_FHSS_BLOCK_PREAMBLE_BITS (2) // 7 0 block preamble
-
497 #define RADIOLIB_LR11X0_LR_FHSS_BLOCK_BITS (RADIOLIB_LR11X0_LR_FHSS_FRAG_BITS + RADIOLIB_LR11X0_LR_FHSS_BLOCK_PREAMBLE_BITS)
-
498 
-
499 // RADIOLIB_LR11X0_CMD_GET_LORA_RX_HEADER_INFOS
-
500 #define RADIOLIB_LR11X0_LAST_HEADER_CRC_ENABLED (0x01UL << 4) // 4 4 last header CRC: enabled
-
501 #define RADIOLIB_LR11X0_LAST_HEADER_CRC_DISABLED (0x00UL << 4) // 4 4 disabled
-
502 
-
503 // RADIOLIB_LR11X0_CMD_WIFI_SCAN
-
504 #define RADIOLIB_LR11X0_WIFI_SCAN_802_11_B (0x01UL << 0) // 7 0 Wi-Fi type to scan: 802.11b
-
505 #define RADIOLIB_LR11X0_WIFI_SCAN_802_11_G (0x02UL << 0) // 7 0 802.11g
-
506 #define RADIOLIB_LR11X0_WIFI_SCAN_802_11_N (0x03UL << 0) // 7 0 802.11n
-
507 #define RADIOLIB_LR11X0_WIFI_SCAN_ALL (0x04UL << 0) // 7 0 all (802.11b first)
-
508 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_BEACON_ONLY (0x01UL << 0) // 7 0 Wi-Fi acquisition mode: beacon only
-
509 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_BEACON_PACKET (0x02UL << 0) // 7 0 beacon and packet
-
510 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_TRAFFIC (0x03UL << 0) // 7 0 full traffic
-
511 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON (0x04UL << 0) // 7 0 full beacon
-
512 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_SSID_BEACON (0x05UL << 0) // 7 0 SSID beacon
-
513 #define RADIOLIB_LR11X0_WIFI_ABORT_ON_TIMEOUT_ENABLED (0x01UL << 0) // 7 0 abort scanning on preamble timeout: enabled
-
514 #define RADIOLIB_LR11X0_WIFI_ABORT_ON_TIMEOUT_DISABLED (0x00UL << 0) // 7 0 disabled
-
515 #define RADIOLIB_LR11X0_WIFI_MAX_NUM_RESULTS (32) // 7 0 maximum possible number of Wi-Fi scan results
-
516 #define RADIOLIB_LR11X0_WIFI_ALL_CHANNELS (0x3FFFUL) // 16 0 scan all channels
-
517 
-
518 // RADIOLIB_LR11X0_CMD_WIFI_READ_RESULTS
-
519 #define RADIOLIB_LR11X0_WIFI_RESULT_TYPE_COMPLETE (0x01UL << 0) // 7 0 Wi-Fi scan result type: complete
-
520 #define RADIOLIB_LR11X0_WIFI_RESULT_TYPE_BASIC (0x04UL << 0) // 7 0 basic
-
521 #define RADIOLIB_LR11X0_WIFI_RESULT_MAX_LEN (79) // 7 0 maximum possible Wi-Fi scan size
-
522 #define RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN (6) // 7 0 MAC address length in bytes
-
523 #define RADIOLIB_LR11X0_WIFI_RESULT_SSID_LEN (32) // 7 0 SSID length in bytes
-
524 
-
525 // RADIOLIB_LR11X0_CMD_GNSS_SET_CONSTELLATION_TO_USE
-
526 #define RADIOLIB_LR11X0_GNSS_CONSTELLATION_GPS (0x01UL << 0) // 7 0 GNSS constellation to use: GPS
-
527 #define RADIOLIB_LR11X0_GNSS_CONSTELLATION_BEIDOU (0x01UL << 1) // 7 0 BeiDou
-
528 
-
529 // RADIOLIB_LR11X0_CMD_GNSS_SET_MODE
-
530 #define RADIOLIB_LR11X0_GNSS_MODE_SINGLE_SCAN (0x00UL << 0) // 7 0 GNSS scanning mode: single/legacy
-
531 #define RADIOLIB_LR11X0_GNSS_MODE_SINGLE_MULTIPLE (0x03UL << 1) // 7 0 multiple/advanced
-
532 
-
533 // RADIOLIB_LR11X0_CMD_GNSS_AUTONOMOUS
-
534 #define RADIOLIB_LR11X0_GNSS_RES_PSEUDO_DOPPLER_ENABLED (0x01UL << 0) // 0 0 GNSS results in NAV message: pseudo-range (in single scan mode) or Doppler information (in multiple scan mode)
-
535 #define RADIOLIB_LR11X0_GNSS_RES_PSEUDO_DOPPLER_DISABLED (0x00UL << 0) // 0 0 not included
-
536 #define RADIOLIB_LR11X0_GNSS_RES_DOPPLER_ENABLED (0x01UL << 1) // 1 1 Doppler information
-
537 #define RADIOLIB_LR11X0_GNSS_RES_DOPPLER_DISABLED (0x00UL << 1) // 1 1 not included
-
538 #define RADIOLIB_LR11X0_GNSS_NB_SV_ALL (0x00UL << 0) // 7 0 include all detected satellites
-
539 #define RADIOLIB_LR11X0_GNSS_AUTO_EFFORT_MODE (0x00UL << 0) // 7 0 reserved, always 0
-
540 
-
541 // RADIOLIB_LR11X0_CMD_GNSS_ASSISTED
-
542 #define RADIOLIB_LR11X0_GNSS_ASSIST_LOW_POWER (0x00UL << 0) // 7 0 effort mode: low power
-
543 #define RADIOLIB_LR11X0_GNSS_ASSIST_BEST_EFFORT (0x01UL << 0) // 7 0 best effort
-
544 
-
545 // RADIOLIB_LR11X0_CMD_GNSS_GET_CONTEXT_STATUS
-
546 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_NONE (0x00UL << 0) // 7 4 error code: none
-
547 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_ALMANAC_OLD (0x01UL << 0) // 7 4 almanac too old
-
548 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_ALMANAC_CRC (0x02UL << 0) // 7 4 almanac CRC mismatch
-
549 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_FLASH (0x03UL << 0) // 7 4 flash integrity error
-
550 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_ALMANAC_UPD (0x04UL << 0) // 7 4 almanac update not allowed
-
551 #define RADIOLIB_LR11X0_GNSS_CONTEXT_FREQ_SPACE_250_HZ (0x00UL << 0) // 8 7 frequency search space: 250 Hz
-
552 #define RADIOLIB_LR11X0_GNSS_CONTEXT_FREQ_SPACE_500_HZ (0x01UL << 0) // 8 7 500 H
-
553 #define RADIOLIB_LR11X0_GNSS_CONTEXT_FREQ_SPACE_1000_HZ (0x02UL << 0) // 8 7 1000 Hz
-
554 #define RADIOLIB_LR11X0_GNSS_CONTEXT_FREQ_SPACE_2000_HZ (0x03UL << 0) // 8 7 2000 Hz
-
555 
-
556 // RADIOLIB_LR11X0_CMD_GNSS_GET_SV_VISIBLE
-
557 #define RADIOLIB_LR11X0_SV_CONSTELLATION_GPS (0x00UL << 0) // 7 0 GNSS constellation: GPS
-
558 #define RADIOLIB_LR11X0_SV_CONSTELLATION_BEIDOU (0x01UL << 0) // 7 0 BeiDou
-
559 
-
560 // RADIOLIB_LR11X0_CMD_GNSS_ALMANAC_FULL_UPDATE
-
561 #define RADIOLIB_LR11X0_GNSS_ALMANAC_HEADER_ID (0x80UL << 0) // 7 0 starting byte of GNSS almanac header
-
562 #define RADIOLIB_LR11X0_GNSS_ALMANAC_BLOCK_SIZE (20)
-
563 
-
564 // RADIOLIB_LR11X0_CMD_CRYPTO_SET_KEY
-
565 #define RADIOLIB_LR11X0_CRYPTO_STATUS_SUCCESS (0x00UL << 0) // 7 0 crypto engine status: success
-
566 #define RADIOLIB_LR11X0_CRYPTO_STATUS_FAIL_CMAC (0x01UL << 0) // 7 0 MIC check failed
-
567 #define RADIOLIB_LR11X0_CRYPTO_STATUS_INV_KEY_ID (0x03UL << 0) // 7 0 key/parameter source or destination ID error
-
568 #define RADIOLIB_LR11X0_CRYPTO_STATUS_BUF_SIZE (0x05UL << 0) // 7 0 data buffer size invalid
-
569 #define RADIOLIB_LR11X0_CRYPTO_STATUS_ERROR (0x06UL << 0) // 7 0 generic error
-
570 
-
571 // RADIOLIB_LR11X0_CMD_CRYPTO_PROCESS_JOIN_ACCEPT
-
572 #define RADIOLIB_LR11X0_CRYPTO_LORAWAN_VERSION_1_0 (0x00UL << 0) // 7 0 LoRaWAN version: 1.0.x
-
573 #define RADIOLIB_LR11X0_CRYPTO_LORAWAN_VERSION_1_1 (0x01UL << 0) // 7 0 1.1
-
574 
-
575 // LR11X0 SPI register variables
-
576 
-
577 // RADIOLIB_LR11X0_REG_SF6_SX127X_COMPAT
-
578 #define RADIOLIB_LR11X0_SF6_SX126X (0x00UL << 18) // 18 18 SF6 mode: SX126x series
-
579 #define RADIOLIB_LR11X0_SF6_SX127X (0x01UL << 18) // 18 18 SX127x series
-
580 
-
581 // RADIOLIB_LR11X0_REG_LORA_HIGH_POWER_FIX
-
582 #define RADIOLIB_LR11X0_LORA_HIGH_POWER_FIX (0x00UL << 30) // 30 30 fix for errata
+
441 // RADIOLIB_LR11X0_CMD_SET_TX_PARAMS
+
442 #define RADIOLIB_LR11X0_PA_RAMP_48U (0x02UL << 0) // 7 0 PA ramp time: 48 us
+
443 
+
444 // RADIOLIB_LR11X0_CMD_SET_RX_TX_FALLBACK_MODE
+
445 #define RADIOLIB_LR11X0_FALLBACK_MODE_STBY_RC (0x01UL << 0) // 1 0 fallback mode after Rx/Tx: standby with RC
+
446 #define RADIOLIB_LR11X0_FALLBACK_MODE_STBY_XOSC (0x02UL << 0) // 1 0 standby with XOSC
+
447 #define RADIOLIB_LR11X0_FALLBACK_MODE_FS (0x03UL << 0) // 1 0 frequency synthesis
+
448 
+
449 // RADIOLIB_LR11X0_CMD_SET_RX_DUTY_CYCLE
+
450 #define RADIOLIB_LR11X0_RX_DUTY_CYCLE_MODE_RX (0x00UL << 0) // 0 0 mode in Rx windows: Rx (default)
+
451 #define RADIOLIB_LR11X0_RX_DUTY_CYCLE_MODE_CAD (0x01UL << 0) // 0 0 CAD
+
452 #define RADIOLIB_LR11X0_TIMING_STEP (1.0f/32768.0f) // 23 0 timing step fo delays
+
453 
+
454 // RADIOLIB_LR11X0_CMD_SET_PA_CONFIG
+
455 #define RADIOLIB_LR11X0_PA_SEL_LP (0x00UL << 0) // 7 0 PA select: low power PA
+
456 #define RADIOLIB_LR11X0_PA_SEL_HP (0x01UL << 0) // 7 0 high power PA
+
457 #define RADIOLIB_LR11X0_PA_SEL_HF (0x02UL << 0) // 7 0 high frequency PA
+
458 #define RADIOLIB_LR11X0_PA_SUPPLY_INTERNAL (0x00UL << 0) // 7 0 PA power source: internal
+
459 #define RADIOLIB_LR11X0_PA_SUPPLY_VBAT (0x01UL << 0) // 7 0 VBAT (required for >= 14 dBm)
+
460 
+
461 // RADIOLIB_LR11X0_CMD_STOP_TIMEOUT_ON_PREAMBLE
+
462 #define RADIOLIB_LR11X0_STOP_ON_SYNC_HEADER (0x00UL << 0) // 0 0 stop timeout on: sync word or header (default)
+
463 #define RADIOLIB_LR11X0_STOP_ON_PREAMBLE (0x01UL << 0) // 0 0 preamble
+
464 
+
465 // RADIOLIB_LR11X0_CMD_GET_RANGING_RESULT
+
466 #define RADIOLIB_LR11X0_RANGING_RESULT_DISTANCE (0) // 7 0 ranging result type: distance
+
467 #define RADIOLIB_LR11X0_RANGING_RESULT_RSSI (1) // 7 0 RSSI
+
468 
+
469 // RADIOLIB_LR11X0_CMD_SET_RX_BOOSTED
+
470 #define RADIOLIB_LR11X0_RX_BOOSTED_ENABLED (0x01UL << 0) // 0 0 Rx boosted mode: enabled
+
471 #define RADIOLIB_LR11X0_RX_BOOSTED_DISABLED (0x00UL << 0) // 0 0 disabled
+
472 
+
473 // RADIOLIB_LR11X0_CMD_SET_LORA_SYNC_WORD
+
474 #define RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE (0x12)
+
475 #define RADIOLIB_LR11X0_LORA_SYNC_WORD_PUBLIC (0x34)
+
476 
+
477 // RADIOLIB_LR11X0_CMD_LR_FHSS_BUILD_FRAME
+
478 #define RADIOLIB_LR11X0_LR_FHSS_CR_5_6 (0x00UL << 0) // 7 0 LR FHSS coding rate: 5/6
+
479 #define RADIOLIB_LR11X0_LR_FHSS_CR_2_3 (0x01UL << 0) // 7 0 2/3
+
480 #define RADIOLIB_LR11X0_LR_FHSS_CR_1_2 (0x02UL << 0) // 7 0 1/2
+
481 #define RADIOLIB_LR11X0_LR_FHSS_CR_1_3 (0x03UL << 0) // 7 0 1/3
+
482 #define RADIOLIB_LR11X0_LR_FHSS_MOD_TYPE_GMSK (0x00UL << 0) // 7 0 LR FHSS modulation: GMSK
+
483 #define RADIOLIB_LR11X0_LR_FHSS_GRID_STEP_FCC (0x00UL << 0) // 7 0 LR FHSS step size: 25.390625 kHz (FCC)
+
484 #define RADIOLIB_LR11X0_LR_FHSS_GRID_STEP_NON_FCC (0x01UL << 0) // 7 0 3.90625 kHz (non-FCC)
+
485 #define RADIOLIB_LR11X0_LR_FHSS_HOPPING_DISABLED (0x00UL << 0) // 7 0 LR FHSS hopping: disabled
+
486 #define RADIOLIB_LR11X0_LR_FHSS_HOPPING_ENABLED (0x01UL << 0) // 7 0 enabled
+
487 #define RADIOLIB_LR11X0_LR_FHSS_BW_39_06 (0x00UL << 0) // 7 0 LR FHSS bandwidth: 39.06 kHz
+
488 #define RADIOLIB_LR11X0_LR_FHSS_BW_85_94 (0x01UL << 0) // 7 0 85.94 kHz
+
489 #define RADIOLIB_LR11X0_LR_FHSS_BW_136_72 (0x02UL << 0) // 7 0 136.72 kHz
+
490 #define RADIOLIB_LR11X0_LR_FHSS_BW_183_59 (0x03UL << 0) // 7 0 183.59 kHz
+
491 #define RADIOLIB_LR11X0_LR_FHSS_BW_335_94 (0x04UL << 0) // 7 0 335.94 kHz
+
492 #define RADIOLIB_LR11X0_LR_FHSS_BW_386_72 (0x05UL << 0) // 7 0 386.72 kHz
+
493 #define RADIOLIB_LR11X0_LR_FHSS_BW_722_66 (0x06UL << 0) // 7 0 722.66 kHz
+
494 #define RADIOLIB_LR11X0_LR_FHSS_BW_773_44 (0x07UL << 0) // 7 0 773.44 kHz
+
495 #define RADIOLIB_LR11X0_LR_FHSS_BW_1523_4 (0x08UL << 0) // 7 0 1523.4 kHz
+
496 #define RADIOLIB_LR11X0_LR_FHSS_BW_1574_2 (0x09UL << 0) // 7 0 1574.2 kHz
+
497 #define RADIOLIB_LR11X0_LR_FHSS_HEADER_BITS (114) // 7 0 LR FHSS packet bit widths: header
+
498 #define RADIOLIB_LR11X0_LR_FHSS_FRAG_BITS (48) // 7 0 payload fragment
+
499 #define RADIOLIB_LR11X0_LR_FHSS_BLOCK_PREAMBLE_BITS (2) // 7 0 block preamble
+
500 #define RADIOLIB_LR11X0_LR_FHSS_BLOCK_BITS (RADIOLIB_LR11X0_LR_FHSS_FRAG_BITS + RADIOLIB_LR11X0_LR_FHSS_BLOCK_PREAMBLE_BITS)
+
501 
+
502 // RADIOLIB_LR11X0_CMD_GET_LORA_RX_HEADER_INFOS
+
503 #define RADIOLIB_LR11X0_LAST_HEADER_CRC_ENABLED (0x01UL << 4) // 4 4 last header CRC: enabled
+
504 #define RADIOLIB_LR11X0_LAST_HEADER_CRC_DISABLED (0x00UL << 4) // 4 4 disabled
+
505 
+
506 // RADIOLIB_LR11X0_CMD_WIFI_SCAN
+
507 #define RADIOLIB_LR11X0_WIFI_SCAN_802_11_B (0x01UL << 0) // 7 0 Wi-Fi type to scan: 802.11b
+
508 #define RADIOLIB_LR11X0_WIFI_SCAN_802_11_G (0x02UL << 0) // 7 0 802.11g
+
509 #define RADIOLIB_LR11X0_WIFI_SCAN_802_11_N (0x03UL << 0) // 7 0 802.11n
+
510 #define RADIOLIB_LR11X0_WIFI_SCAN_ALL (0x04UL << 0) // 7 0 all (802.11b first)
+
511 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_BEACON_ONLY (0x01UL << 0) // 7 0 Wi-Fi acquisition mode: beacon only
+
512 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_BEACON_PACKET (0x02UL << 0) // 7 0 beacon and packet
+
513 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_TRAFFIC (0x03UL << 0) // 7 0 full traffic
+
514 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON (0x04UL << 0) // 7 0 full beacon
+
515 #define RADIOLIB_LR11X0_WIFI_ACQ_MODE_SSID_BEACON (0x05UL << 0) // 7 0 SSID beacon
+
516 #define RADIOLIB_LR11X0_WIFI_ABORT_ON_TIMEOUT_ENABLED (0x01UL << 0) // 7 0 abort scanning on preamble timeout: enabled
+
517 #define RADIOLIB_LR11X0_WIFI_ABORT_ON_TIMEOUT_DISABLED (0x00UL << 0) // 7 0 disabled
+
518 #define RADIOLIB_LR11X0_WIFI_MAX_NUM_RESULTS (32) // 7 0 maximum possible number of Wi-Fi scan results
+
519 #define RADIOLIB_LR11X0_WIFI_ALL_CHANNELS (0x3FFFUL) // 16 0 scan all channels
+
520 
+
521 // RADIOLIB_LR11X0_CMD_WIFI_READ_RESULTS
+
522 #define RADIOLIB_LR11X0_WIFI_RESULT_TYPE_COMPLETE (0x01UL << 0) // 7 0 Wi-Fi scan result type: complete
+
523 #define RADIOLIB_LR11X0_WIFI_RESULT_TYPE_BASIC (0x04UL << 0) // 7 0 basic
+
524 #define RADIOLIB_LR11X0_WIFI_RESULT_MAX_LEN (79) // 7 0 maximum possible Wi-Fi scan size
+
525 #define RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN (6) // 7 0 MAC address length in bytes
+
526 #define RADIOLIB_LR11X0_WIFI_RESULT_SSID_LEN (32) // 7 0 SSID length in bytes
+
527 
+
528 // RADIOLIB_LR11X0_CMD_GNSS_SET_CONSTELLATION_TO_USE
+
529 #define RADIOLIB_LR11X0_GNSS_CONSTELLATION_GPS (0x01UL << 0) // 7 0 GNSS constellation to use: GPS
+
530 #define RADIOLIB_LR11X0_GNSS_CONSTELLATION_BEIDOU (0x01UL << 1) // 7 0 BeiDou
+
531 
+
532 // RADIOLIB_LR11X0_CMD_GNSS_SET_MODE
+
533 #define RADIOLIB_LR11X0_GNSS_MODE_SINGLE_SCAN (0x00UL << 0) // 7 0 GNSS scanning mode: single/legacy
+
534 #define RADIOLIB_LR11X0_GNSS_MODE_SINGLE_MULTIPLE (0x03UL << 1) // 7 0 multiple/advanced
+
535 
+
536 // RADIOLIB_LR11X0_CMD_GNSS_AUTONOMOUS
+
537 #define RADIOLIB_LR11X0_GNSS_RES_PSEUDO_DOPPLER_ENABLED (0x01UL << 0) // 0 0 GNSS results in NAV message: pseudo-range (in single scan mode) or Doppler information (in multiple scan mode)
+
538 #define RADIOLIB_LR11X0_GNSS_RES_PSEUDO_DOPPLER_DISABLED (0x00UL << 0) // 0 0 not included
+
539 #define RADIOLIB_LR11X0_GNSS_RES_DOPPLER_ENABLED (0x01UL << 1) // 1 1 Doppler information
+
540 #define RADIOLIB_LR11X0_GNSS_RES_DOPPLER_DISABLED (0x00UL << 1) // 1 1 not included
+
541 #define RADIOLIB_LR11X0_GNSS_NB_SV_ALL (0x00UL << 0) // 7 0 include all detected satellites
+
542 #define RADIOLIB_LR11X0_GNSS_AUTO_EFFORT_MODE (0x00UL << 0) // 7 0 reserved, always 0
+
543 
+
544 // RADIOLIB_LR11X0_CMD_GNSS_ASSISTED
+
545 #define RADIOLIB_LR11X0_GNSS_ASSIST_LOW_POWER (0x00UL << 0) // 7 0 effort mode: low power
+
546 #define RADIOLIB_LR11X0_GNSS_ASSIST_BEST_EFFORT (0x01UL << 0) // 7 0 best effort
+
547 
+
548 // RADIOLIB_LR11X0_CMD_GNSS_GET_CONTEXT_STATUS
+
549 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_NONE (0x00UL << 0) // 7 4 error code: none
+
550 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_ALMANAC_OLD (0x01UL << 0) // 7 4 almanac too old
+
551 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_ALMANAC_CRC (0x02UL << 0) // 7 4 almanac CRC mismatch
+
552 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_FLASH (0x03UL << 0) // 7 4 flash integrity error
+
553 #define RADIOLIB_LR11X0_GNSS_CONTEXT_ERR_ALMANAC_UPD (0x04UL << 0) // 7 4 almanac update not allowed
+
554 #define RADIOLIB_LR11X0_GNSS_CONTEXT_FREQ_SPACE_250_HZ (0x00UL << 0) // 8 7 frequency search space: 250 Hz
+
555 #define RADIOLIB_LR11X0_GNSS_CONTEXT_FREQ_SPACE_500_HZ (0x01UL << 0) // 8 7 500 H
+
556 #define RADIOLIB_LR11X0_GNSS_CONTEXT_FREQ_SPACE_1000_HZ (0x02UL << 0) // 8 7 1000 Hz
+
557 #define RADIOLIB_LR11X0_GNSS_CONTEXT_FREQ_SPACE_2000_HZ (0x03UL << 0) // 8 7 2000 Hz
+
558 
+
559 // RADIOLIB_LR11X0_CMD_GNSS_GET_SV_VISIBLE
+
560 #define RADIOLIB_LR11X0_SV_CONSTELLATION_GPS (0x00UL << 0) // 7 0 GNSS constellation: GPS
+
561 #define RADIOLIB_LR11X0_SV_CONSTELLATION_BEIDOU (0x01UL << 0) // 7 0 BeiDou
+
562 
+
563 // RADIOLIB_LR11X0_CMD_GNSS_ALMANAC_FULL_UPDATE
+
564 #define RADIOLIB_LR11X0_GNSS_ALMANAC_HEADER_ID (0x80UL << 0) // 7 0 starting byte of GNSS almanac header
+
565 #define RADIOLIB_LR11X0_GNSS_ALMANAC_BLOCK_SIZE (20)
+
566 
+
567 // RADIOLIB_LR11X0_CMD_CRYPTO_SET_KEY
+
568 #define RADIOLIB_LR11X0_CRYPTO_STATUS_SUCCESS (0x00UL << 0) // 7 0 crypto engine status: success
+
569 #define RADIOLIB_LR11X0_CRYPTO_STATUS_FAIL_CMAC (0x01UL << 0) // 7 0 MIC check failed
+
570 #define RADIOLIB_LR11X0_CRYPTO_STATUS_INV_KEY_ID (0x03UL << 0) // 7 0 key/parameter source or destination ID error
+
571 #define RADIOLIB_LR11X0_CRYPTO_STATUS_BUF_SIZE (0x05UL << 0) // 7 0 data buffer size invalid
+
572 #define RADIOLIB_LR11X0_CRYPTO_STATUS_ERROR (0x06UL << 0) // 7 0 generic error
+
573 
+
574 // RADIOLIB_LR11X0_CMD_CRYPTO_PROCESS_JOIN_ACCEPT
+
575 #define RADIOLIB_LR11X0_CRYPTO_LORAWAN_VERSION_1_0 (0x00UL << 0) // 7 0 LoRaWAN version: 1.0.x
+
576 #define RADIOLIB_LR11X0_CRYPTO_LORAWAN_VERSION_1_1 (0x01UL << 0) // 7 0 1.1
+
577 
+
578 // LR11X0 SPI register variables
+
579 
+
580 // RADIOLIB_LR11X0_REG_SF6_SX127X_COMPAT
+
581 #define RADIOLIB_LR11X0_SF6_SX126X (0x00UL << 18) // 18 18 SF6 mode: SX126x series
+
582 #define RADIOLIB_LR11X0_SF6_SX127X (0x01UL << 18) // 18 18 SX127x series
583 
-
584 // RADIOLIB_LR11X0_REG_LNA_MODE
-
585 #define RADIOLIB_LR11X0_LNA_MODE_SINGLE_RFI_N (0x01UL << 4) // 7 4 LNA mode: single-ended RFI_N
-
586 #define RADIOLIB_LR11X0_LNA_MODE_SINGLE_RFI_P (0x02UL << 4) // 7 4 single-ended RFI_P
-
587 #define RADIOLIB_LR11X0_LNA_MODE_DIFFERENTIAL (0x03UL << 4) // 7 4 differential (default)
-
588 
-
594 struct LR11x0WifiResult_t {
-
596  char type;
-
597 
-
599  uint8_t dataRateId;
+
584 // RADIOLIB_LR11X0_REG_LORA_HIGH_POWER_FIX
+
585 #define RADIOLIB_LR11X0_LORA_HIGH_POWER_FIX (0x00UL << 30) // 30 30 fix for errata
+
586 
+
587 // RADIOLIB_LR11X0_REG_LNA_MODE
+
588 #define RADIOLIB_LR11X0_LNA_MODE_SINGLE_RFI_N (0x01UL << 4) // 7 4 LNA mode: single-ended RFI_N
+
589 #define RADIOLIB_LR11X0_LNA_MODE_SINGLE_RFI_P (0x02UL << 4) // 7 4 single-ended RFI_P
+
590 #define RADIOLIB_LR11X0_LNA_MODE_DIFFERENTIAL (0x03UL << 4) // 7 4 differential (default)
+
591 
+
597 struct LR11x0WifiResult_t {
+
599  char type;
600 
-
602  uint16_t channelFreq;
+
602  uint8_t dataRateId;
603 
-
605  uint8_t origin;
+
605  uint16_t channelFreq;
606 
-
608  bool ap;
+
608  uint8_t origin;
609 
-
611  float rssi;
+
611  bool ap;
612 
-
614  uint8_t mac[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN];
-
615 };
-
616 
-
622 struct LR11x0WifiResultFull_t: public LR11x0WifiResult_t {
-
624  uint8_t frameType;
-
625 
-
627  uint8_t frameSubType;
+
614  float rssi;
+
615 
+
617  uint8_t mac[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN];
+
618 };
+
619 
+
625 struct LR11x0WifiResultFull_t: public LR11x0WifiResult_t {
+
627  uint8_t frameType;
628 
-
630  bool toDistributionSystem;
+
630  uint8_t frameSubType;
631 
-
633  bool fromDistributionSystem;
+
633  bool toDistributionSystem;
634 
-
636  uint16_t phiOffset;
+
636  bool fromDistributionSystem;
637 
-
639  uint64_t timestamp;
+
639  uint16_t phiOffset;
640 
-
642  uint32_t periodBeacon;
-
643 };
-
644 
-
652 struct LR11x0WifiResultExtended_t: public LR11x0WifiResultFull_t {
-
654  uint8_t rate;
-
655 
-
657  uint16_t service;
+
642  uint64_t timestamp;
+
643 
+
645  uint32_t periodBeacon;
+
646 };
+
647 
+
655 struct LR11x0WifiResultExtended_t: public LR11x0WifiResultFull_t {
+
657  uint8_t rate;
658 
-
660  uint16_t length;
+
660  uint16_t service;
661 
-
663  uint8_t mac0[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN];
+
663  uint16_t length;
664 
-
666  uint8_t mac2[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN];
+
666  uint8_t mac0[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN];
667 
-
669  uint16_t seqCtrl;
+
669  uint8_t mac2[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN];
670 
-
672  uint8_t ssid[RADIOLIB_LR11X0_WIFI_RESULT_SSID_LEN];
+
672  uint16_t seqCtrl;
673 
-
675  uint8_t currentChannel;
+
675  uint8_t ssid[RADIOLIB_LR11X0_WIFI_RESULT_SSID_LEN];
676 
-
678  char countryCode[3];
+
678  uint8_t currentChannel;
679 
-
681  uint8_t ioReg;
+
681  char countryCode[3];
682 
-
684  bool fcsCheckOk;
-
685 };
-
686 
-
691 struct LR11x0VersionInfo_t {
-
693  uint8_t hardware;
-
694 
-
696  uint8_t device;
-
697 
-
699  uint8_t fwMajor;
+
684  uint8_t ioReg;
+
685 
+
687  bool fcsCheckOk;
+
688 };
+
689 
+
694 struct LR11x0VersionInfo_t {
+
696  uint8_t hardware;
+
697 
+
699  uint8_t device;
700 
-
702  uint8_t fwMinor;
-
703 
-
705  uint8_t fwMajorWiFi;
-
706 
-
708  uint8_t fwMinorWiFi;
-
709 
-
711  uint8_t fwGNSS;
-
712 
-
714  uint8_t almanacGNSS;
-
715 };
-
716 
-
717 struct LR11x0GnssResult_t {
-
718 
-
719 };
-
720 
-
726 class LR11x0: public PhysicalLayer {
-
727  public:
-
728  // introduce PhysicalLayer overloads
-
729  using PhysicalLayer::transmit;
-
730  using PhysicalLayer::receive;
-
731  using PhysicalLayer::startTransmit;
-
732  using PhysicalLayer::readData;
-
733 
-
738  explicit LR11x0(Module* mod);
-
739 
-
744  enum OpMode_t {
-
746  MODE_END_OF_TABLE = Module::MODE_END_OF_TABLE,
-
748  MODE_STBY = Module::MODE_IDLE,
-
750  MODE_RX = Module::MODE_RX,
-
752  MODE_TX = Module::MODE_TX,
-
754  MODE_TX_HP,
-
756  MODE_TX_HF,
-
758  MODE_GNSS,
-
760  MODE_WIFI,
-
761  };
-
762 
-
766  bool XTAL;
-
767 
-
778  int16_t begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage);
-
779 
-
789  int16_t beginGFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage);
-
790 
-
798  int16_t beginLRFHSS(uint8_t bw, uint8_t cr, float tcxoVoltage);
-
799 
-
804  int16_t reset();
-
805 
-
814  int16_t transmit(const uint8_t* data, size_t len, uint8_t addr = 0) override;
-
815 
-
823  int16_t receive(uint8_t* data, size_t len) override;
-
824 
-
830  int16_t transmitDirect(uint32_t frf = 0) override;
-
831 
-
837  int16_t receiveDirect() override;
-
838 
-
843  int16_t scanChannel() override;
-
844 
-
850  int16_t scanChannel(const ChannelScanConfig_t &config) override;
-
851 
-
856  int16_t standby() override;
-
857 
-
865  int16_t standby(uint8_t mode, bool wakeup = true);
-
866 
-
872  int16_t sleep() override;
-
873 
-
881  int16_t sleep(bool retainConfig, uint32_t sleepTime);
-
882 
-
883  // interrupt methods
-
884 
-
889  void setIrqAction(void (*func)(void));
-
890 
-
894  void clearIrqAction();
-
895 
-
900  void setPacketReceivedAction(void (*func)(void)) override;
-
901 
-
905  void clearPacketReceivedAction() override;
-
906 
-
911  void setPacketSentAction(void (*func)(void)) override;
-
912 
-
916  void clearPacketSentAction() override;
-
917 
-
926  int16_t startTransmit(const uint8_t* data, size_t len, uint8_t addr = 0) override;
-
927 
-
932  int16_t finishTransmit() override;
-
933 
-
940  int16_t startReceive() override;
-
941 
-
954  int16_t startReceive(uint32_t timeout, uint32_t irqFlags = RADIOLIB_LR11X0_IRQ_RX_DONE, uint32_t irqMask = 0, size_t len = 0);
-
955 
-
960  uint32_t getIrqStatus();
-
961 
-
970  int16_t readData(uint8_t* data, size_t len) override;
-
971 
-
977  int16_t startChannelScan() override;
-
978 
-
985  int16_t startChannelScan(const ChannelScanConfig_t &config) override;
-
986 
-
991  int16_t getChannelScanResult() override;
-
992 
-
993  // configuration methods
-
994 
-
1000  int16_t setBandwidth(float bw);
-
1001 
-
1008  int16_t setSpreadingFactor(uint8_t sf, bool legacy = false);
-
1009 
-
1017  int16_t setCodingRate(uint8_t cr, bool longInterleave = false);
-
1018 
-
1024  int16_t setSyncWord(uint32_t syncWord);
-
1025 
-
1031  int16_t setBitRate(float br) override;
-
1032 
-
1038  int16_t setFrequencyDeviation(float freqDev) override;
-
1039 
-
1046  int16_t setRxBandwidth(float rxBw);
-
1047 
-
1054  int16_t setSyncWord(uint8_t* syncWord, size_t len) override;
-
1055 
-
1063  int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
-
1064 
-
1070  int16_t setNodeAddress(uint8_t nodeAddr);
-
1071 
-
1078  int16_t setBroadcastAddress(uint8_t broadAddr);
-
1079 
-
1084  int16_t disableAddressFiltering();
-
1085 
-
1093  int16_t setDataShaping(uint8_t sh) override;
-
1094 
-
1100  int16_t setEncoding(uint8_t encoding) override;
-
1101 
-
1107  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_LR11X0_MAX_PACKET_LENGTH);
-
1108 
-
1114  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_LR11X0_MAX_PACKET_LENGTH);
-
1115 
-
1123  int16_t setWhitening(bool enabled, uint16_t initial = 0x01FF);
-
1124 
-
1130  int16_t setDataRate(DataRate_t dr) override;
-
1131 
-
1137  int16_t checkDataRate(DataRate_t dr) override;
-
1138 
-
1144  int16_t setPreambleLength(size_t preambleLength) override;
-
1145 
-
1154  int16_t setTCXO(float voltage, uint32_t delay = 5000);
-
1155 
-
1164  int16_t setCRC(uint8_t len, uint32_t initial = 0x00001D0FUL, uint32_t polynomial = 0x00001021UL, bool inverted = true);
-
1165 
-
1171  int16_t invertIQ(bool enable) override;
-
1172 
-
1177  float getRSSI() override;
-
1178 
-
1183  float getSNR() override;
-
1184 
-
1189  float getFrequencyError();
-
1190 
-
1196  size_t getPacketLength(bool update = true) override;
-
1197 
-
1203  size_t getPacketLength(bool update, uint8_t* offset);
-
1204 
-
1210  RadioLibTime_t getTimeOnAir(size_t len) override;
-
1211 
-
1217  RadioLibTime_t calculateRxTimeout(RadioLibTime_t timeoutUs) override;
-
1218 
-
1223  uint32_t getIrqFlags() override;
-
1224 
-
1230  int16_t setIrqFlags(uint32_t irq) override;
-
1231 
-
1237  int16_t clearIrqFlags(uint32_t irq) override;
-
1238 
-
1243  uint8_t randomByte() override;
-
1244 
-
1250  int16_t implicitHeader(size_t len);
-
1251 
-
1256  int16_t explicitHeader();
-
1257 
-
1262  float getDataRate() const;
-
1263 
-
1268  int16_t setRegulatorLDO();
-
1269 
-
1274  int16_t setRegulatorDCDC();
-
1275 
-
1281  int16_t setRxBoostedGainMode(bool en);
-
1282 
-
1284  void setRfSwitchTable(const uint32_t (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
-
1285 
-
1292  int16_t forceLDRO(bool enable);
-
1293 
-
1299  int16_t autoLDRO();
-
1300 
-
1309  int16_t setLrFhssConfig(uint8_t bw, uint8_t cr, uint8_t hdrCount = 3, uint16_t hopSeed = 0x13A);
-
1310 
-
1325  int16_t startWifiScan(char wifiType, uint8_t mode = RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask = RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans = 16, uint16_t timeout = 100);
-
1326 
-
1331  void setWiFiScanAction(void (*func)(void));
-
1332 
-
1336  void clearWiFiScanAction();
+
702  uint8_t fwMajor;
+
703 
+
705  uint8_t fwMinor;
+
706 
+
708  uint8_t fwMajorWiFi;
+
709 
+
711  uint8_t fwMinorWiFi;
+
712 
+
714  uint8_t fwGNSS;
+
715 
+
717  uint8_t almanacGNSS;
+
718 };
+
719 
+
720 struct LR11x0GnssResult_t {
+
721 
+
722 };
+
723 
+
729 class LR11x0: public PhysicalLayer {
+
730  public:
+
731  // introduce PhysicalLayer overloads
+
732  using PhysicalLayer::transmit;
+
733  using PhysicalLayer::receive;
+
734  using PhysicalLayer::startTransmit;
+
735  using PhysicalLayer::readData;
+
736 
+
741  explicit LR11x0(Module* mod);
+
742 
+
747  enum OpMode_t {
+
749  MODE_END_OF_TABLE = Module::MODE_END_OF_TABLE,
+
751  MODE_STBY = Module::MODE_IDLE,
+
753  MODE_RX = Module::MODE_RX,
+
755  MODE_TX = Module::MODE_TX,
+
757  MODE_TX_HP,
+
759  MODE_TX_HF,
+
761  MODE_GNSS,
+
763  MODE_WIFI,
+
764  };
+
765 
+
769  bool XTAL;
+
770 
+
782  int16_t begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high = false);
+
783 
+
793  int16_t beginGFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage);
+
794 
+
802  int16_t beginLRFHSS(uint8_t bw, uint8_t cr, float tcxoVoltage);
+
803 
+
808  int16_t reset();
+
809 
+
818  int16_t transmit(const uint8_t* data, size_t len, uint8_t addr = 0) override;
+
819 
+
827  int16_t receive(uint8_t* data, size_t len) override;
+
828 
+
834  int16_t transmitDirect(uint32_t frf = 0) override;
+
835 
+
841  int16_t receiveDirect() override;
+
842 
+
847  int16_t scanChannel() override;
+
848 
+
854  int16_t scanChannel(const ChannelScanConfig_t &config) override;
+
855 
+
860  int16_t standby() override;
+
861 
+
869  int16_t standby(uint8_t mode, bool wakeup = true);
+
870 
+
876  int16_t sleep() override;
+
877 
+
885  int16_t sleep(bool retainConfig, uint32_t sleepTime);
+
886 
+
887  // interrupt methods
+
888 
+
893  void setIrqAction(void (*func)(void));
+
894 
+
898  void clearIrqAction();
+
899 
+
904  void setPacketReceivedAction(void (*func)(void)) override;
+
905 
+
909  void clearPacketReceivedAction() override;
+
910 
+
915  void setPacketSentAction(void (*func)(void)) override;
+
916 
+
920  void clearPacketSentAction() override;
+
921 
+
930  int16_t startTransmit(const uint8_t* data, size_t len, uint8_t addr = 0) override;
+
931 
+
936  int16_t finishTransmit() override;
+
937 
+
944  int16_t startReceive() override;
+
945 
+
958  int16_t startReceive(uint32_t timeout, uint32_t irqFlags = RADIOLIB_LR11X0_IRQ_RX_DONE, uint32_t irqMask = 0, size_t len = 0);
+
959 
+
964  uint32_t getIrqStatus();
+
965 
+
974  int16_t readData(uint8_t* data, size_t len) override;
+
975 
+
981  int16_t startChannelScan() override;
+
982 
+
989  int16_t startChannelScan(const ChannelScanConfig_t &config) override;
+
990 
+
995  int16_t getChannelScanResult() override;
+
996 
+
997  // configuration methods
+
998 
+
1005  int16_t setBandwidth(float bw, bool high = false);
+
1006 
+
1013  int16_t setSpreadingFactor(uint8_t sf, bool legacy = false);
+
1014 
+
1022  int16_t setCodingRate(uint8_t cr, bool longInterleave = false);
+
1023 
+
1029  int16_t setSyncWord(uint32_t syncWord);
+
1030 
+
1036  int16_t setBitRate(float br) override;
+
1037 
+
1043  int16_t setFrequencyDeviation(float freqDev) override;
+
1044 
+
1051  int16_t setRxBandwidth(float rxBw);
+
1052 
+
1059  int16_t setSyncWord(uint8_t* syncWord, size_t len) override;
+
1060 
+
1068  int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen);
+
1069 
+
1075  int16_t setNodeAddress(uint8_t nodeAddr);
+
1076 
+
1083  int16_t setBroadcastAddress(uint8_t broadAddr);
+
1084 
+
1089  int16_t disableAddressFiltering();
+
1090 
+
1098  int16_t setDataShaping(uint8_t sh) override;
+
1099 
+
1105  int16_t setEncoding(uint8_t encoding) override;
+
1106 
+
1112  int16_t fixedPacketLengthMode(uint8_t len = RADIOLIB_LR11X0_MAX_PACKET_LENGTH);
+
1113 
+
1119  int16_t variablePacketLengthMode(uint8_t maxLen = RADIOLIB_LR11X0_MAX_PACKET_LENGTH);
+
1120 
+
1128  int16_t setWhitening(bool enabled, uint16_t initial = 0x01FF);
+
1129 
+
1135  int16_t setDataRate(DataRate_t dr) override;
+
1136 
+
1142  int16_t checkDataRate(DataRate_t dr) override;
+
1143 
+
1149  int16_t setPreambleLength(size_t preambleLength) override;
+
1150 
+
1159  int16_t setTCXO(float voltage, uint32_t delay = 5000);
+
1160 
+
1169  int16_t setCRC(uint8_t len, uint32_t initial = 0x00001D0FUL, uint32_t polynomial = 0x00001021UL, bool inverted = true);
+
1170 
+
1176  int16_t invertIQ(bool enable) override;
+
1177 
+
1182  float getRSSI() override;
+
1183 
+
1188  float getSNR() override;
+
1189 
+
1194  float getFrequencyError();
+
1195 
+
1201  size_t getPacketLength(bool update = true) override;
+
1202 
+
1208  size_t getPacketLength(bool update, uint8_t* offset);
+
1209 
+
1215  RadioLibTime_t getTimeOnAir(size_t len) override;
+
1216 
+
1222  RadioLibTime_t calculateRxTimeout(RadioLibTime_t timeoutUs) override;
+
1223 
+
1228  uint32_t getIrqFlags() override;
+
1229 
+
1235  int16_t setIrqFlags(uint32_t irq) override;
+
1236 
+
1242  int16_t clearIrqFlags(uint32_t irq) override;
+
1243 
+
1248  uint8_t randomByte() override;
+
1249 
+
1255  int16_t implicitHeader(size_t len);
+
1256 
+
1261  int16_t explicitHeader();
+
1262 
+
1267  float getDataRate() const;
+
1268 
+
1273  int16_t setRegulatorLDO();
+
1274 
+
1279  int16_t setRegulatorDCDC();
+
1280 
+
1286  int16_t setRxBoostedGainMode(bool en);
+
1287 
+
1289  void setRfSwitchTable(const uint32_t (&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[]);
+
1290 
+
1297  int16_t forceLDRO(bool enable);
+
1298 
+
1304  int16_t autoLDRO();
+
1305 
+
1314  int16_t setLrFhssConfig(uint8_t bw, uint8_t cr, uint8_t hdrCount = 3, uint16_t hopSeed = 0x13A);
+
1315 
+
1330  int16_t startWifiScan(char wifiType, uint8_t mode = RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask = RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans = 16, uint16_t timeout = 100);
+
1331 
+
1336  void setWiFiScanAction(void (*func)(void));
1337 
-
1343  int16_t getWifiScanResultsCount(uint8_t* count);
-
1344 
-
1354  int16_t getWifiScanResult(LR11x0WifiResult_t* result, uint8_t index, bool brief = false);
-
1355 
-
1372  int16_t wifiScan(uint8_t wifiType, uint8_t* count, uint8_t mode = RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask = RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans = 16, uint16_t timeout = 100);
-
1373 
-
1379  int16_t getVersionInfo(LR11x0VersionInfo_t* info);
-
1380 
-
1391  int16_t updateFirmware(const uint32_t* image, size_t size, bool nonvolatile = true);
-
1392 
-
1393 #if !RADIOLIB_GODMODE && !RADIOLIB_LOW_LEVEL
-
1394  protected:
-
1395 #endif
-
1396  Module* getMod() override;
-
1397 
-
1398  // LR11x0 SPI command implementations
-
1399  int16_t writeRegMem32(uint32_t addr, uint32_t* data, size_t len);
-
1400  int16_t readRegMem32(uint32_t addr, uint32_t* data, size_t len);
-
1401  int16_t writeBuffer8(uint8_t* data, size_t len);
-
1402  int16_t readBuffer8(uint8_t* data, size_t len, size_t offset);
-
1403  int16_t clearRxBuffer(void);
-
1404  int16_t writeRegMemMask32(uint32_t addr, uint32_t mask, uint32_t data);
-
1405 
-
1406  int16_t getStatus(uint8_t* stat1, uint8_t* stat2, uint32_t* irq);
-
1407  int16_t getVersion(uint8_t* hw, uint8_t* device, uint8_t* major, uint8_t* minor);
-
1408  int16_t getErrors(uint16_t* err);
-
1409  int16_t clearErrors(void);
-
1410  int16_t calibrate(uint8_t params);
-
1411  int16_t setRegMode(uint8_t mode);
-
1412  int16_t calibImage(float freq1, float freq2);
-
1413  int16_t setDioAsRfSwitch(uint8_t en, uint8_t stbyCfg, uint8_t rxCfg, uint8_t txCfg, uint8_t txHpCfg, uint8_t txHfCfg, uint8_t gnssCfg, uint8_t wifiCfg);
-
1414  int16_t setDioIrqParams(uint32_t irq1, uint32_t irq2);
-
1415  int16_t setDioIrqParams(uint32_t irq);
-
1416  int16_t clearIrq(uint32_t irq);
-
1417  int16_t configLfClock(uint8_t setup);
-
1418  int16_t setTcxoMode(uint8_t tune, uint32_t delay);
-
1419  int16_t reboot(bool stay);
-
1420  int16_t getVbat(float* vbat);
-
1421  int16_t getTemp(float* temp);
-
1422  int16_t setFs(void);
-
1423  int16_t getRandomNumber(uint32_t* rnd);
-
1424  int16_t eraseInfoPage(void);
-
1425  int16_t writeInfoPage(uint16_t addr, const uint32_t* data, size_t len);
-
1426  int16_t readInfoPage(uint16_t addr, uint32_t* data, size_t len);
-
1427  int16_t getChipEui(uint8_t* eui);
-
1428  int16_t getSemtechJoinEui(uint8_t* eui);
-
1429  int16_t deriveRootKeysAndGetPin(uint8_t* pin);
-
1430  int16_t enableSpiCrc(bool en);
-
1431  int16_t driveDiosInSleepMode(bool en);
-
1432 
-
1433  int16_t resetStats(void);
-
1434  int16_t getStats(uint16_t* nbPktReceived, uint16_t* nbPktCrcError, uint16_t* data1, uint16_t* data2);
-
1435  int16_t getPacketType(uint8_t* type);
-
1436  int16_t getRxBufferStatus(uint8_t* len, uint8_t* startOffset);
-
1437  int16_t getPacketStatusLoRa(float* rssiPkt, float* snrPkt, float* signalRssiPkt);
-
1438  int16_t getPacketStatusGFSK(float* rssiSync, float* rssiAvg, uint8_t* rxLen, uint8_t* stat);
-
1439  int16_t getRssiInst(float* rssi);
-
1440  int16_t setGfskSyncWord(uint8_t* sync);
-
1441  int16_t setLoRaPublicNetwork(bool pub);
-
1442  int16_t setRx(uint32_t timeout);
-
1443  int16_t setTx(uint32_t timeout);
-
1444  int16_t setRfFrequency(uint32_t rfFreq);
-
1445  int16_t autoTxRx(uint32_t delay, uint8_t intMode, uint32_t timeout);
-
1446  int16_t setCadParams(uint8_t symNum, uint8_t detPeak, uint8_t detMin, uint8_t cadExitMode, uint32_t timeout);
-
1447  int16_t setPacketType(uint8_t type);
-
1448  int16_t setModulationParamsLoRa(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
-
1449  int16_t setModulationParamsGFSK(uint32_t br, uint8_t sh, uint8_t rxBw, uint32_t freqDev);
-
1450  int16_t setModulationParamsLrFhss(uint32_t br, uint8_t sh);
-
1451  int16_t setModulationParamsSigfox(uint32_t br, uint8_t sh);
-
1452  int16_t setPacketParamsLoRa(uint16_t preambleLen, uint8_t hdrType, uint8_t payloadLen, uint8_t crcType, uint8_t invertIQ);
-
1453  int16_t setPacketParamsGFSK(uint16_t preambleLen, uint8_t preambleDetectorLen, uint8_t syncWordLen, uint8_t addrCmp, uint8_t packType, uint8_t payloadLen, uint8_t crcType, uint8_t whiten);
-
1454  int16_t setPacketParamsSigfox(uint8_t payloadLen, uint16_t rampUpDelay, uint16_t rampDownDelay, uint16_t bitNum);
-
1455  int16_t setTxParams(int8_t pwr, uint8_t ramp);
-
1456  int16_t setPacketAdrs(uint8_t node, uint8_t broadcast);
-
1457  int16_t setRxTxFallbackMode(uint8_t mode);
-
1458  int16_t setRxDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint8_t mode);
-
1459  int16_t setPaConfig(uint8_t paSel, uint8_t regPaSupply, uint8_t paDutyCycle, uint8_t paHpSel);
-
1460  int16_t stopTimeoutOnPreamble(bool stop);
-
1461  int16_t setCad(void);
-
1462  int16_t setTxCw(void);
-
1463  int16_t setTxInfinitePreamble(void);
-
1464  int16_t setLoRaSynchTimeout(uint8_t symbolNum);
-
1465  int16_t setRangingAddr(uint32_t addr, uint8_t checkLen);
-
1466  int16_t setRangingReqAddr(uint32_t addr);
-
1467  int16_t getRangingResult(uint8_t type, float* res);
-
1468  int16_t setRangingTxRxDelay(uint32_t delay);
-
1469  int16_t setGfskCrcParams(uint32_t init, uint32_t poly);
-
1470  int16_t setGfskWhitParams(uint16_t seed);
-
1471  int16_t setRangingParameter(uint8_t symbolNum);
-
1472  int16_t setRssiCalibration(const int8_t* tune, int16_t gainOffset);
-
1473  int16_t setLoRaSyncWord(uint8_t sync);
-
1474  int16_t lrFhssBuildFrame(uint8_t hdrCount, uint8_t cr, uint8_t grid, bool hop, uint8_t bw, uint16_t hopSeq, int8_t devOffset, uint8_t* payload, size_t len);
-
1475  int16_t lrFhssSetSyncWord(uint32_t sync);
-
1476  int16_t configBleBeacon(uint8_t chan, uint8_t* payload, size_t len);
-
1477  int16_t getLoRaRxHeaderInfos(uint8_t* info);
-
1478  int16_t bleBeaconSend(uint8_t chan, uint8_t* payload, size_t len);
-
1479 
-
1480  int16_t wifiScan(uint8_t type, uint16_t mask, uint8_t acqMode, uint8_t nbMaxRes, uint8_t nbScanPerChan, uint16_t timeout, uint8_t abortOnTimeout);
-
1481  int16_t wifiScanTimeLimit(uint8_t type, uint16_t mask, uint8_t acqMode, uint8_t nbMaxRes, uint16_t timePerChan, uint16_t timeout);
-
1482  int16_t wifiCountryCode(uint16_t mask, uint8_t nbMaxRes, uint8_t nbScanPerChan, uint16_t timeout, uint8_t abortOnTimeout);
-
1483  int16_t wifiCountryCodeTimeLimit(uint16_t mask, uint8_t nbMaxRes, uint16_t timePerChan, uint16_t timeout);
-
1484  int16_t wifiGetNbResults(uint8_t* nbResults);
-
1485  int16_t wifiReadResults(uint8_t index, uint8_t nbResults, uint8_t format, uint8_t* results);
-
1486  int16_t wifiResetCumulTimings(void);
-
1487  int16_t wifiReadCumulTimings(uint32_t* detection, uint32_t* capture, uint32_t* demodulation);
-
1488  int16_t wifiGetNbCountryCodeResults(uint8_t* nbResults);
-
1489  int16_t wifiReadCountryCodeResults(uint8_t index, uint8_t nbResults, uint8_t* results);
-
1490  int16_t wifiCfgTimestampAPphone(uint32_t timestamp);
-
1491  int16_t wifiReadVersion(uint8_t* major, uint8_t* minor);
-
1492 
-
1493  int16_t gnssReadRssi(int8_t* rssi);
-
1494  int16_t gnssSetConstellationToUse(uint8_t mask);
-
1495  int16_t gnssReadConstellationToUse(uint8_t* mask);
-
1496  int16_t gnssSetAlmanacUpdate(uint8_t mask);
-
1497  int16_t gnssReadAlmanacUpdate(uint8_t* mask);
-
1498  int16_t gnssSetFreqSearchSpace(uint8_t freq);
-
1499  int16_t gnssReadFreqSearchSpace(uint8_t* freq);
-
1500  int16_t gnssReadVersion(uint8_t* fw, uint8_t* almanac);
-
1501  int16_t gnssReadSupportedConstellations(uint8_t* mask);
-
1502  int16_t gnssSetMode(uint8_t mode);
-
1503  int16_t gnssAutonomous(uint32_t gpsTime, uint8_t resMask, uint8_t nbSvMask);
-
1504  int16_t gnssAssisted(uint32_t gpsTime, uint8_t effort, uint8_t resMask, uint8_t nbSvMask);
-
1505  int16_t gnssSetAssistancePosition(float lat, float lon);
-
1506  int16_t gnssReadAssistancePosition(float* lat, float* lon);
-
1507  int16_t gnssPushSolverMsg(uint8_t* payload, size_t len);
-
1508  int16_t gnssPushDmMsg(uint8_t* payload, size_t len);
-
1509  int16_t gnssGetContextStatus(uint8_t* fwVersion, uint32_t* almanacCrc, uint8_t* errCode, uint8_t* almUpdMask, uint8_t* freqSpace);
-
1510  int16_t gnssGetNbSvDetected(uint8_t* nbSv);
-
1511  int16_t gnssGetSvDetected(uint8_t* svId, uint8_t* snr, int16_t* doppler, size_t nbSv);
-
1512  int16_t gnssGetConsumption(uint32_t* cpu, uint32_t* radio);
-
1513  int16_t gnssGetResultSize(uint16_t* size);
-
1514  int16_t gnssReadResults(uint8_t* result, uint16_t size);
-
1515  int16_t gnssAlmanacFullUpdateHeader(uint16_t date, uint32_t globalCrc);
-
1516  int16_t gnssAlmanacFullUpdateSV(uint8_t svn, uint8_t* svnAlmanac);
-
1517  int16_t gnssAlmanacReadAddrSize(uint32_t* addr, uint16_t* size);
-
1518  int16_t gnssAlmanacReadSV(uint8_t svId, uint8_t* almanac);
-
1519  int16_t gnssGetNbSvVisible(uint32_t time, float lat, float lon, uint8_t constellation, uint8_t* nbSv);
-
1520  int16_t gnssGetSvVisible(uint8_t nbSv, uint8_t** svId, int16_t** doppler, int16_t** dopplerErr);
-
1521  int16_t gnssPerformScan(uint8_t effort, uint8_t resMask, uint8_t nbSvMax);
-
1522  int16_t gnssReadLastScanModeLaunched(uint8_t* lastScanMode);
-
1523  int16_t gnssFetchTime(uint8_t effort, uint8_t opt);
-
1524  int16_t gnssReadTime(uint8_t* err, uint32_t* time, uint32_t* nbUs, uint32_t* timeAccuracy);
-
1525  int16_t gnssResetTime(void);
-
1526  int16_t gnssResetPosition(void);
-
1527  int16_t gnssReadWeekNumberRollover(uint8_t* status, uint8_t* rollover);
-
1528  int16_t gnssReadDemodStatus(int8_t* status, uint8_t* info);
-
1529  int16_t gnssReadCumulTiming(uint32_t* timing, uint8_t* constDemod);
-
1530  int16_t gnssSetTime(uint32_t time, uint16_t accuracy);
-
1531  int16_t gnssReadDopplerSolverRes(uint8_t* error, uint8_t* nbSvUsed, float* lat, float* lon, uint16_t* accuracy, uint16_t* xtal, float* latFilt, float* lonFilt, uint16_t* accuracyFilt, uint16_t* xtalFilt);
-
1532  int16_t gnssReadDelayResetAP(uint32_t* delay);
-
1533  int16_t gnssAlmanacUpdateFromSat(uint8_t effort, uint8_t bitMask);
-
1534  int16_t gnssReadAlmanacStatus(uint8_t* status);
-
1535  int16_t gnssReadKeepSyncStatus(uint8_t mask, uint8_t* nbSvVisible, uint32_t* elapsed);
-
1536  int16_t gnssConfigAlmanacUpdatePeriod(uint8_t bitMask, uint8_t svType, uint16_t period);
-
1537  int16_t gnssReadAlmanacUpdatePeriod(uint8_t bitMask, uint8_t svType, uint16_t* period);
-
1538  int16_t gnssConfigDelayResetAP(uint32_t delay);
-
1539  int16_t gnssGetSvWarmStart(uint8_t bitMask, uint8_t* sv, uint8_t nbVisSat);
-
1540  int16_t gnssReadWarmStartStatus(uint8_t bitMask, uint8_t* nbVisSat, uint32_t* timeElapsed);
-
1541  int16_t gnssGetSvSync(uint8_t mask, uint8_t nbSv, uint8_t* syncList);
-
1542  int16_t gnssWriteBitMaskSatActivated(uint8_t bitMask, uint32_t* bitMaskActivated0, uint32_t* bitMaskActivated1);
-
1543 
-
1544  int16_t cryptoSetKey(uint8_t keyId, uint8_t* key);
-
1545  int16_t cryptoDeriveKey(uint8_t srcKeyId, uint8_t dstKeyId, uint8_t* key);
-
1546  int16_t cryptoProcessJoinAccept(uint8_t decKeyId, uint8_t verKeyId, uint8_t lwVer, uint8_t* header, uint8_t* dataIn, size_t len, uint8_t* dataOut);
-
1547  int16_t cryptoComputeAesCmac(uint8_t keyId, uint8_t* data, size_t len, uint32_t* mic);
-
1548  int16_t cryptoVerifyAesCmac(uint8_t keyId, uint32_t micExp, uint8_t* data, size_t len, bool* result);
-
1549  int16_t cryptoAesEncrypt01(uint8_t keyId, uint8_t* dataIn, size_t len, uint8_t* dataOut);
-
1550  int16_t cryptoAesEncrypt(uint8_t keyId, uint8_t* dataIn, size_t len, uint8_t* dataOut);
-
1551  int16_t cryptoAesDecrypt(uint8_t keyId, uint8_t* dataIn, size_t len, uint8_t* dataOut);
-
1552  int16_t cryptoStoreToFlash(void);
-
1553  int16_t cryptoRestoreFromFlash(void);
-
1554  int16_t cryptoSetParam(uint8_t id, uint32_t value);
-
1555  int16_t cryptoGetParam(uint8_t id, uint32_t* value);
-
1556  int16_t cryptoCheckEncryptedFirmwareImage(uint32_t offset, uint32_t* data, size_t len, bool nonvolatile);
-
1557  int16_t cryptoCheckEncryptedFirmwareImageResult(bool* result);
-
1558 
-
1559  int16_t bootEraseFlash(void);
-
1560  int16_t bootWriteFlashEncrypted(uint32_t offset, uint32_t* data, size_t len, bool nonvolatile);
-
1561  int16_t bootReboot(bool stay);
-
1562  int16_t bootGetPin(uint8_t* pin);
-
1563  int16_t bootGetChipEui(uint8_t* eui);
-
1564  int16_t bootGetJoinEui(uint8_t* eui);
-
1565 
-
1566  int16_t SPIcommand(uint16_t cmd, bool write, uint8_t* data, size_t len, uint8_t* out = NULL, size_t outLen = 0);
-
1567 
-
1568 #if !RADIOLIB_GODMODE
-
1569  protected:
-
1570 #endif
-
1571  uint8_t chipType = 0;
-
1572 
+
1341  void clearWiFiScanAction();
+
1342 
+
1348  int16_t getWifiScanResultsCount(uint8_t* count);
+
1349 
+
1359  int16_t getWifiScanResult(LR11x0WifiResult_t* result, uint8_t index, bool brief = false);
+
1360 
+
1377  int16_t wifiScan(uint8_t wifiType, uint8_t* count, uint8_t mode = RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask = RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans = 16, uint16_t timeout = 100);
+
1378 
+
1384  int16_t getVersionInfo(LR11x0VersionInfo_t* info);
+
1385 
+
1396  int16_t updateFirmware(const uint32_t* image, size_t size, bool nonvolatile = true);
+
1397 
+
1398 #if !RADIOLIB_GODMODE && !RADIOLIB_LOW_LEVEL
+
1399  protected:
+
1400 #endif
+
1401  Module* getMod() override;
+
1402 
+
1403  // LR11x0 SPI command implementations
+
1404  int16_t writeRegMem32(uint32_t addr, uint32_t* data, size_t len);
+
1405  int16_t readRegMem32(uint32_t addr, uint32_t* data, size_t len);
+
1406  int16_t writeBuffer8(uint8_t* data, size_t len);
+
1407  int16_t readBuffer8(uint8_t* data, size_t len, size_t offset);
+
1408  int16_t clearRxBuffer(void);
+
1409  int16_t writeRegMemMask32(uint32_t addr, uint32_t mask, uint32_t data);
+
1410 
+
1411  int16_t getStatus(uint8_t* stat1, uint8_t* stat2, uint32_t* irq);
+
1412  int16_t getVersion(uint8_t* hw, uint8_t* device, uint8_t* major, uint8_t* minor);
+
1413  int16_t getErrors(uint16_t* err);
+
1414  int16_t clearErrors(void);
+
1415  int16_t calibrate(uint8_t params);
+
1416  int16_t setRegMode(uint8_t mode);
+
1417  int16_t calibImage(float freq1, float freq2);
+
1418  int16_t setDioAsRfSwitch(uint8_t en, uint8_t stbyCfg, uint8_t rxCfg, uint8_t txCfg, uint8_t txHpCfg, uint8_t txHfCfg, uint8_t gnssCfg, uint8_t wifiCfg);
+
1419  int16_t setDioIrqParams(uint32_t irq1, uint32_t irq2);
+
1420  int16_t setDioIrqParams(uint32_t irq);
+
1421  int16_t clearIrq(uint32_t irq);
+
1422  int16_t configLfClock(uint8_t setup);
+
1423  int16_t setTcxoMode(uint8_t tune, uint32_t delay);
+
1424  int16_t reboot(bool stay);
+
1425  int16_t getVbat(float* vbat);
+
1426  int16_t getTemp(float* temp);
+
1427  int16_t setFs(void);
+
1428  int16_t getRandomNumber(uint32_t* rnd);
+
1429  int16_t eraseInfoPage(void);
+
1430  int16_t writeInfoPage(uint16_t addr, const uint32_t* data, size_t len);
+
1431  int16_t readInfoPage(uint16_t addr, uint32_t* data, size_t len);
+
1432  int16_t getChipEui(uint8_t* eui);
+
1433  int16_t getSemtechJoinEui(uint8_t* eui);
+
1434  int16_t deriveRootKeysAndGetPin(uint8_t* pin);
+
1435  int16_t enableSpiCrc(bool en);
+
1436  int16_t driveDiosInSleepMode(bool en);
+
1437 
+
1438  int16_t resetStats(void);
+
1439  int16_t getStats(uint16_t* nbPktReceived, uint16_t* nbPktCrcError, uint16_t* data1, uint16_t* data2);
+
1440  int16_t getPacketType(uint8_t* type);
+
1441  int16_t getRxBufferStatus(uint8_t* len, uint8_t* startOffset);
+
1442  int16_t getPacketStatusLoRa(float* rssiPkt, float* snrPkt, float* signalRssiPkt);
+
1443  int16_t getPacketStatusGFSK(float* rssiSync, float* rssiAvg, uint8_t* rxLen, uint8_t* stat);
+
1444  int16_t getRssiInst(float* rssi);
+
1445  int16_t setGfskSyncWord(uint8_t* sync);
+
1446  int16_t setLoRaPublicNetwork(bool pub);
+
1447  int16_t setRx(uint32_t timeout);
+
1448  int16_t setTx(uint32_t timeout);
+
1449  int16_t setRfFrequency(uint32_t rfFreq);
+
1450  int16_t autoTxRx(uint32_t delay, uint8_t intMode, uint32_t timeout);
+
1451  int16_t setCadParams(uint8_t symNum, uint8_t detPeak, uint8_t detMin, uint8_t cadExitMode, uint32_t timeout);
+
1452  int16_t setPacketType(uint8_t type);
+
1453  int16_t setModulationParamsLoRa(uint8_t sf, uint8_t bw, uint8_t cr, uint8_t ldro);
+
1454  int16_t setModulationParamsGFSK(uint32_t br, uint8_t sh, uint8_t rxBw, uint32_t freqDev);
+
1455  int16_t setModulationParamsLrFhss(uint32_t br, uint8_t sh);
+
1456  int16_t setModulationParamsSigfox(uint32_t br, uint8_t sh);
+
1457  int16_t setPacketParamsLoRa(uint16_t preambleLen, uint8_t hdrType, uint8_t payloadLen, uint8_t crcType, uint8_t invertIQ);
+
1458  int16_t setPacketParamsGFSK(uint16_t preambleLen, uint8_t preambleDetectorLen, uint8_t syncWordLen, uint8_t addrCmp, uint8_t packType, uint8_t payloadLen, uint8_t crcType, uint8_t whiten);
+
1459  int16_t setPacketParamsSigfox(uint8_t payloadLen, uint16_t rampUpDelay, uint16_t rampDownDelay, uint16_t bitNum);
+
1460  int16_t setTxParams(int8_t pwr, uint8_t ramp);
+
1461  int16_t setPacketAdrs(uint8_t node, uint8_t broadcast);
+
1462  int16_t setRxTxFallbackMode(uint8_t mode);
+
1463  int16_t setRxDutyCycle(uint32_t rxPeriod, uint32_t sleepPeriod, uint8_t mode);
+
1464  int16_t setPaConfig(uint8_t paSel, uint8_t regPaSupply, uint8_t paDutyCycle, uint8_t paHpSel);
+
1465  int16_t stopTimeoutOnPreamble(bool stop);
+
1466  int16_t setCad(void);
+
1467  int16_t setTxCw(void);
+
1468  int16_t setTxInfinitePreamble(void);
+
1469  int16_t setLoRaSynchTimeout(uint8_t symbolNum);
+
1470  int16_t setRangingAddr(uint32_t addr, uint8_t checkLen);
+
1471  int16_t setRangingReqAddr(uint32_t addr);
+
1472  int16_t getRangingResult(uint8_t type, float* res);
+
1473  int16_t setRangingTxRxDelay(uint32_t delay);
+
1474  int16_t setGfskCrcParams(uint32_t init, uint32_t poly);
+
1475  int16_t setGfskWhitParams(uint16_t seed);
+
1476  int16_t setRangingParameter(uint8_t symbolNum);
+
1477  int16_t setRssiCalibration(const int8_t* tune, int16_t gainOffset);
+
1478  int16_t setLoRaSyncWord(uint8_t sync);
+
1479  int16_t lrFhssBuildFrame(uint8_t hdrCount, uint8_t cr, uint8_t grid, bool hop, uint8_t bw, uint16_t hopSeq, int8_t devOffset, uint8_t* payload, size_t len);
+
1480  int16_t lrFhssSetSyncWord(uint32_t sync);
+
1481  int16_t configBleBeacon(uint8_t chan, uint8_t* payload, size_t len);
+
1482  int16_t getLoRaRxHeaderInfos(uint8_t* info);
+
1483  int16_t bleBeaconSend(uint8_t chan, uint8_t* payload, size_t len);
+
1484 
+
1485  int16_t wifiScan(uint8_t type, uint16_t mask, uint8_t acqMode, uint8_t nbMaxRes, uint8_t nbScanPerChan, uint16_t timeout, uint8_t abortOnTimeout);
+
1486  int16_t wifiScanTimeLimit(uint8_t type, uint16_t mask, uint8_t acqMode, uint8_t nbMaxRes, uint16_t timePerChan, uint16_t timeout);
+
1487  int16_t wifiCountryCode(uint16_t mask, uint8_t nbMaxRes, uint8_t nbScanPerChan, uint16_t timeout, uint8_t abortOnTimeout);
+
1488  int16_t wifiCountryCodeTimeLimit(uint16_t mask, uint8_t nbMaxRes, uint16_t timePerChan, uint16_t timeout);
+
1489  int16_t wifiGetNbResults(uint8_t* nbResults);
+
1490  int16_t wifiReadResults(uint8_t index, uint8_t nbResults, uint8_t format, uint8_t* results);
+
1491  int16_t wifiResetCumulTimings(void);
+
1492  int16_t wifiReadCumulTimings(uint32_t* detection, uint32_t* capture, uint32_t* demodulation);
+
1493  int16_t wifiGetNbCountryCodeResults(uint8_t* nbResults);
+
1494  int16_t wifiReadCountryCodeResults(uint8_t index, uint8_t nbResults, uint8_t* results);
+
1495  int16_t wifiCfgTimestampAPphone(uint32_t timestamp);
+
1496  int16_t wifiReadVersion(uint8_t* major, uint8_t* minor);
+
1497 
+
1498  int16_t gnssReadRssi(int8_t* rssi);
+
1499  int16_t gnssSetConstellationToUse(uint8_t mask);
+
1500  int16_t gnssReadConstellationToUse(uint8_t* mask);
+
1501  int16_t gnssSetAlmanacUpdate(uint8_t mask);
+
1502  int16_t gnssReadAlmanacUpdate(uint8_t* mask);
+
1503  int16_t gnssSetFreqSearchSpace(uint8_t freq);
+
1504  int16_t gnssReadFreqSearchSpace(uint8_t* freq);
+
1505  int16_t gnssReadVersion(uint8_t* fw, uint8_t* almanac);
+
1506  int16_t gnssReadSupportedConstellations(uint8_t* mask);
+
1507  int16_t gnssSetMode(uint8_t mode);
+
1508  int16_t gnssAutonomous(uint32_t gpsTime, uint8_t resMask, uint8_t nbSvMask);
+
1509  int16_t gnssAssisted(uint32_t gpsTime, uint8_t effort, uint8_t resMask, uint8_t nbSvMask);
+
1510  int16_t gnssSetAssistancePosition(float lat, float lon);
+
1511  int16_t gnssReadAssistancePosition(float* lat, float* lon);
+
1512  int16_t gnssPushSolverMsg(uint8_t* payload, size_t len);
+
1513  int16_t gnssPushDmMsg(uint8_t* payload, size_t len);
+
1514  int16_t gnssGetContextStatus(uint8_t* fwVersion, uint32_t* almanacCrc, uint8_t* errCode, uint8_t* almUpdMask, uint8_t* freqSpace);
+
1515  int16_t gnssGetNbSvDetected(uint8_t* nbSv);
+
1516  int16_t gnssGetSvDetected(uint8_t* svId, uint8_t* snr, int16_t* doppler, size_t nbSv);
+
1517  int16_t gnssGetConsumption(uint32_t* cpu, uint32_t* radio);
+
1518  int16_t gnssGetResultSize(uint16_t* size);
+
1519  int16_t gnssReadResults(uint8_t* result, uint16_t size);
+
1520  int16_t gnssAlmanacFullUpdateHeader(uint16_t date, uint32_t globalCrc);
+
1521  int16_t gnssAlmanacFullUpdateSV(uint8_t svn, uint8_t* svnAlmanac);
+
1522  int16_t gnssAlmanacReadAddrSize(uint32_t* addr, uint16_t* size);
+
1523  int16_t gnssAlmanacReadSV(uint8_t svId, uint8_t* almanac);
+
1524  int16_t gnssGetNbSvVisible(uint32_t time, float lat, float lon, uint8_t constellation, uint8_t* nbSv);
+
1525  int16_t gnssGetSvVisible(uint8_t nbSv, uint8_t** svId, int16_t** doppler, int16_t** dopplerErr);
+
1526  int16_t gnssPerformScan(uint8_t effort, uint8_t resMask, uint8_t nbSvMax);
+
1527  int16_t gnssReadLastScanModeLaunched(uint8_t* lastScanMode);
+
1528  int16_t gnssFetchTime(uint8_t effort, uint8_t opt);
+
1529  int16_t gnssReadTime(uint8_t* err, uint32_t* time, uint32_t* nbUs, uint32_t* timeAccuracy);
+
1530  int16_t gnssResetTime(void);
+
1531  int16_t gnssResetPosition(void);
+
1532  int16_t gnssReadWeekNumberRollover(uint8_t* status, uint8_t* rollover);
+
1533  int16_t gnssReadDemodStatus(int8_t* status, uint8_t* info);
+
1534  int16_t gnssReadCumulTiming(uint32_t* timing, uint8_t* constDemod);
+
1535  int16_t gnssSetTime(uint32_t time, uint16_t accuracy);
+
1536  int16_t gnssReadDopplerSolverRes(uint8_t* error, uint8_t* nbSvUsed, float* lat, float* lon, uint16_t* accuracy, uint16_t* xtal, float* latFilt, float* lonFilt, uint16_t* accuracyFilt, uint16_t* xtalFilt);
+
1537  int16_t gnssReadDelayResetAP(uint32_t* delay);
+
1538  int16_t gnssAlmanacUpdateFromSat(uint8_t effort, uint8_t bitMask);
+
1539  int16_t gnssReadAlmanacStatus(uint8_t* status);
+
1540  int16_t gnssReadKeepSyncStatus(uint8_t mask, uint8_t* nbSvVisible, uint32_t* elapsed);
+
1541  int16_t gnssConfigAlmanacUpdatePeriod(uint8_t bitMask, uint8_t svType, uint16_t period);
+
1542  int16_t gnssReadAlmanacUpdatePeriod(uint8_t bitMask, uint8_t svType, uint16_t* period);
+
1543  int16_t gnssConfigDelayResetAP(uint32_t delay);
+
1544  int16_t gnssGetSvWarmStart(uint8_t bitMask, uint8_t* sv, uint8_t nbVisSat);
+
1545  int16_t gnssReadWarmStartStatus(uint8_t bitMask, uint8_t* nbVisSat, uint32_t* timeElapsed);
+
1546  int16_t gnssGetSvSync(uint8_t mask, uint8_t nbSv, uint8_t* syncList);
+
1547  int16_t gnssWriteBitMaskSatActivated(uint8_t bitMask, uint32_t* bitMaskActivated0, uint32_t* bitMaskActivated1);
+
1548 
+
1549  int16_t cryptoSetKey(uint8_t keyId, uint8_t* key);
+
1550  int16_t cryptoDeriveKey(uint8_t srcKeyId, uint8_t dstKeyId, uint8_t* key);
+
1551  int16_t cryptoProcessJoinAccept(uint8_t decKeyId, uint8_t verKeyId, uint8_t lwVer, uint8_t* header, uint8_t* dataIn, size_t len, uint8_t* dataOut);
+
1552  int16_t cryptoComputeAesCmac(uint8_t keyId, uint8_t* data, size_t len, uint32_t* mic);
+
1553  int16_t cryptoVerifyAesCmac(uint8_t keyId, uint32_t micExp, uint8_t* data, size_t len, bool* result);
+
1554  int16_t cryptoAesEncrypt01(uint8_t keyId, uint8_t* dataIn, size_t len, uint8_t* dataOut);
+
1555  int16_t cryptoAesEncrypt(uint8_t keyId, uint8_t* dataIn, size_t len, uint8_t* dataOut);
+
1556  int16_t cryptoAesDecrypt(uint8_t keyId, uint8_t* dataIn, size_t len, uint8_t* dataOut);
+
1557  int16_t cryptoStoreToFlash(void);
+
1558  int16_t cryptoRestoreFromFlash(void);
+
1559  int16_t cryptoSetParam(uint8_t id, uint32_t value);
+
1560  int16_t cryptoGetParam(uint8_t id, uint32_t* value);
+
1561  int16_t cryptoCheckEncryptedFirmwareImage(uint32_t offset, uint32_t* data, size_t len, bool nonvolatile);
+
1562  int16_t cryptoCheckEncryptedFirmwareImageResult(bool* result);
+
1563 
+
1564  int16_t bootEraseFlash(void);
+
1565  int16_t bootWriteFlashEncrypted(uint32_t offset, uint32_t* data, size_t len, bool nonvolatile);
+
1566  int16_t bootReboot(bool stay);
+
1567  int16_t bootGetPin(uint8_t* pin);
+
1568  int16_t bootGetChipEui(uint8_t* eui);
+
1569  int16_t bootGetJoinEui(uint8_t* eui);
+
1570 
+
1571  int16_t SPIcommand(uint16_t cmd, bool write, uint8_t* data, size_t len, uint8_t* out = NULL, size_t outLen = 0);
+
1572 
1573 #if !RADIOLIB_GODMODE
-
1574  private:
+
1574  protected:
1575 #endif
-
1576  Module* mod;
+
1576  uint8_t chipType = 0;
1577 
-
1578  // cached LoRa parameters
-
1579  uint8_t bandwidth = 0, spreadingFactor = 0, codingRate = 0, ldrOptimize = 0, crcTypeLoRa = 0, headerType = 0;
-
1580  uint16_t preambleLengthLoRa = 0;
-
1581  float bandwidthKhz = 0;
-
1582  bool ldroAuto = true;
-
1583  size_t implicitLen = 0;
-
1584  bool invertIQEnabled = false;
-
1585 
-
1586  // cached GFSK parameters
-
1587  uint32_t bitRate = 0, frequencyDev = 0;
-
1588  uint8_t preambleDetLength = 0, rxBandwidth = 0, pulseShape = 0, crcTypeGFSK = 0, syncWordLength = 0, addrComp = 0, whitening = 0, packetType = 0, node = 0;
-
1589  uint16_t preambleLengthGFSK = 0;
+
1578 #if !RADIOLIB_GODMODE
+
1579  private:
+
1580 #endif
+
1581  Module* mod;
+
1582 
+
1583  // cached LoRa parameters
+
1584  uint8_t bandwidth = 0, spreadingFactor = 0, codingRate = 0, ldrOptimize = 0, crcTypeLoRa = 0, headerType = 0;
+
1585  uint16_t preambleLengthLoRa = 0;
+
1586  float bandwidthKhz = 0;
+
1587  bool ldroAuto = true;
+
1588  size_t implicitLen = 0;
+
1589  bool invertIQEnabled = false;
1590 
-
1591  // cached LR-FHSS parameters
-
1592  uint8_t lrFhssCr = 0, lrFhssBw = 0, lrFhssHdrCount = 0;
-
1593  uint16_t lrFhssHopSeq = 0;
-
1594 
-
1595  float dataRateMeasured = 0;
-
1596 
-
1597  uint8_t wifiScanMode = 0;
-
1598 
-
1599  int16_t modSetup(float tcxoVoltage, uint8_t modem);
-
1600  static int16_t SPIparseStatus(uint8_t in);
-
1601  static int16_t SPIcheckStatus(Module* mod);
-
1602  bool findChip(uint8_t ver);
-
1603  int16_t config(uint8_t modem);
-
1604  int16_t setPacketMode(uint8_t mode, uint8_t len);
-
1605  int16_t startCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin, uint8_t exitMode, RadioLibTime_t timeout);
-
1606  int16_t setHeaderType(uint8_t hdrType, size_t len = 0xFF);
-
1607 
-
1608  // common methods to avoid some copy-paste
-
1609  int16_t bleBeaconCommon(uint16_t cmd, uint8_t chan, uint8_t* payload, size_t len);
-
1610  int16_t writeCommon(uint16_t cmd, uint32_t addrOffset, const uint32_t* data, size_t len, bool nonvolatile);
-
1611  int16_t cryptoCommon(uint16_t cmd, uint8_t keyId, uint8_t* dataIn, size_t len, uint8_t* dataOut);
-
1612 };
-
1613 
-
1614 #endif
-
1615 
-
1616 #endif
-
LR11x0
Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:726
-
LR11x0::getSNR
float getSNR() override
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: LR11x0.cpp:1211
+
1591  // cached GFSK parameters
+
1592  uint32_t bitRate = 0, frequencyDev = 0;
+
1593  uint8_t preambleDetLength = 0, rxBandwidth = 0, pulseShape = 0, crcTypeGFSK = 0, syncWordLength = 0, addrComp = 0, whitening = 0, packetType = 0, node = 0;
+
1594  uint16_t preambleLengthGFSK = 0;
+
1595 
+
1596  // cached LR-FHSS parameters
+
1597  uint8_t lrFhssCr = 0, lrFhssBw = 0, lrFhssHdrCount = 0;
+
1598  uint16_t lrFhssHopSeq = 0;
+
1599 
+
1600  float dataRateMeasured = 0;
+
1601 
+
1602  uint8_t wifiScanMode = 0;
+
1603 
+
1604  int16_t modSetup(float tcxoVoltage, uint8_t modem);
+
1605  static int16_t SPIparseStatus(uint8_t in);
+
1606  static int16_t SPIcheckStatus(Module* mod);
+
1607  bool findChip(uint8_t ver);
+
1608  int16_t config(uint8_t modem);
+
1609  int16_t setPacketMode(uint8_t mode, uint8_t len);
+
1610  int16_t startCad(uint8_t symbolNum, uint8_t detPeak, uint8_t detMin, uint8_t exitMode, RadioLibTime_t timeout);
+
1611  int16_t setHeaderType(uint8_t hdrType, size_t len = 0xFF);
+
1612 
+
1613  // common methods to avoid some copy-paste
+
1614  int16_t bleBeaconCommon(uint16_t cmd, uint8_t chan, uint8_t* payload, size_t len);
+
1615  int16_t writeCommon(uint16_t cmd, uint32_t addrOffset, const uint32_t* data, size_t len, bool nonvolatile);
+
1616  int16_t cryptoCommon(uint16_t cmd, uint8_t keyId, uint8_t* dataIn, size_t len, uint8_t* dataOut);
+
1617 };
+
1618 
+
1619 #endif
+
1620 
+
1621 #endif
+
LR11x0
Base class for LR11x0 series. All derived classes for LR11x0 (e.g. LR1110 or LR1120) inherit from thi...
Definition: LR11x0.h:729
+
LR11x0::getSNR
float getSNR() override
Gets SNR (Signal to Noise Ratio) of the last received packet. Only available for LoRa modem.
Definition: LR11x0.cpp:1225
LR11x0::getIrqStatus
uint32_t getIrqStatus()
Reads the current IRQ status.
Definition: LR11x0.cpp:503
-
LR11x0::setDataRate
int16_t setDataRate(DataRate_t dr) override
Set data.
Definition: LR11x0.cpp:1009
-
LR11x0::setRfSwitchTable
void setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: LR11x0.cpp:1395
-
LR11x0::setRegulatorDCDC
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: LR11x0.cpp:1386
+
LR11x0::setDataRate
int16_t setDataRate(DataRate_t dr) override
Set data.
Definition: LR11x0.cpp:1023
+
LR11x0::setRfSwitchTable
void setRfSwitchTable(const uint32_t(&pins)[Module::RFSWITCH_MAX_PINS], const Module::RfSwitchMode_t table[])
Some modules contain external RF switch controlled by pins. This function gives RadioLib control over...
Definition: LR11x0.cpp:1409
+
LR11x0::setRegulatorDCDC
int16_t setRegulatorDCDC()
Set regulator mode to DC-DC.
Definition: LR11x0.cpp:1400
LR11x0::getChannelScanResult
int16_t getChannelScanResult() override
Read the channel scan result.
Definition: LR11x0.cpp:603
-
LR11x0::getDataRate
float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: LR11x0.cpp:1378
-
LR11x0::getIrqFlags
uint32_t getIrqFlags() override
Read currently active IRQ flags.
Definition: LR11x0.cpp:1352
-
LR11x0::setRxBandwidth
int16_t setRxBandwidth(float rxBw)
Sets GFSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19....
Definition: LR11x0.cpp:769
-
LR11x0::calculateRxTimeout
RadioLibTime_t calculateRxTimeout(RadioLibTime_t timeoutUs) override
Calculate the timeout value for this specific module / series (in number of symbols or units of time)
Definition: LR11x0.cpp:1345
+
LR11x0::getDataRate
float getDataRate() const
Gets effective data rate for the last transmitted packet. The value is calculated only for payload by...
Definition: LR11x0.cpp:1392
+
LR11x0::getIrqFlags
uint32_t getIrqFlags() override
Read currently active IRQ flags.
Definition: LR11x0.cpp:1366
+
LR11x0::setRxBandwidth
int16_t setRxBandwidth(float rxBw)
Sets GFSK receiver bandwidth. Allowed values are 4.8, 5.8, 7.3, 9.7, 11.7, 14.6, 19....
Definition: LR11x0.cpp:783
+
LR11x0::calculateRxTimeout
RadioLibTime_t calculateRxTimeout(RadioLibTime_t timeoutUs) override
Calculate the timeout value for this specific module / series (in number of symbols or units of time)
Definition: LR11x0.cpp:1359
LR11x0::reset
int16_t reset()
Reset method. Will reset the chip to the default state using RST pin.
Definition: LR11x0.cpp:120
-
LR11x0::OpMode_t
OpMode_t
Custom operation modes for LR11x0. Needed because LR11x0 has several modems (sub-GHz,...
Definition: LR11x0.h:744
-
LR11x0::MODE_TX_HP
@ MODE_TX_HP
Definition: LR11x0.h:754
-
LR11x0::MODE_END_OF_TABLE
@ MODE_END_OF_TABLE
Definition: LR11x0.h:746
-
LR11x0::MODE_WIFI
@ MODE_WIFI
Definition: LR11x0.h:760
-
LR11x0::MODE_GNSS
@ MODE_GNSS
Definition: LR11x0.h:758
-
LR11x0::MODE_TX
@ MODE_TX
Definition: LR11x0.h:752
-
LR11x0::MODE_RX
@ MODE_RX
Definition: LR11x0.h:750
-
LR11x0::MODE_STBY
@ MODE_STBY
Definition: LR11x0.h:748
-
LR11x0::MODE_TX_HF
@ MODE_TX_HF
Definition: LR11x0.h:756
-
LR11x0::startWifiScan
int16_t startWifiScan(char wifiType, uint8_t mode=RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask=RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans=16, uint16_t timeout=100)
Start passive WiFi scan. BUSY pin will be de-activated when the scan is finished.
Definition: LR11x0.cpp:1465
+
LR11x0::OpMode_t
OpMode_t
Custom operation modes for LR11x0. Needed because LR11x0 has several modems (sub-GHz,...
Definition: LR11x0.h:747
+
LR11x0::MODE_TX_HP
@ MODE_TX_HP
Definition: LR11x0.h:757
+
LR11x0::MODE_END_OF_TABLE
@ MODE_END_OF_TABLE
Definition: LR11x0.h:749
+
LR11x0::MODE_WIFI
@ MODE_WIFI
Definition: LR11x0.h:763
+
LR11x0::MODE_GNSS
@ MODE_GNSS
Definition: LR11x0.h:761
+
LR11x0::MODE_TX
@ MODE_TX
Definition: LR11x0.h:755
+
LR11x0::MODE_RX
@ MODE_RX
Definition: LR11x0.h:753
+
LR11x0::MODE_STBY
@ MODE_STBY
Definition: LR11x0.h:751
+
LR11x0::MODE_TX_HF
@ MODE_TX_HF
Definition: LR11x0.h:759
+
LR11x0::startWifiScan
int16_t startWifiScan(char wifiType, uint8_t mode=RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask=RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans=16, uint16_t timeout=100)
Start passive WiFi scan. BUSY pin will be de-activated when the scan is finished.
Definition: LR11x0.cpp:1479
LR11x0::readData
virtual int16_t readData(uint8_t *data, size_t len)
Reads data that was received after calling startReceive method.
Definition: PhysicalLayer.cpp:209
-
LR11x0::explicitHeader
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: LR11x0.cpp:1374
-
LR11x0::XTAL
bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: LR11x0.h:766
-
LR11x0::getWifiScanResult
int16_t getWifiScanResult(LR11x0WifiResult_t *result, uint8_t index, bool brief=false)
Retrieve passive WiFi scan result.
Definition: LR11x0.cpp:1524
+
LR11x0::explicitHeader
int16_t explicitHeader()
Set explicit header mode for future reception/transmission.
Definition: LR11x0.cpp:1388
+
LR11x0::XTAL
bool XTAL
Whether the module has an XTAL (true) or TCXO (false). Defaults to false.
Definition: LR11x0.h:769
+
LR11x0::getWifiScanResult
int16_t getWifiScanResult(LR11x0WifiResult_t *result, uint8_t index, bool brief=false)
Retrieve passive WiFi scan result.
Definition: LR11x0.cpp:1538
LR11x0::setIrqAction
void setIrqAction(void(*func)(void))
Sets interrupt service routine to call when IRQ1 activates.
Definition: LR11x0.cpp:360
LR11x0::transmit
int16_t transmit(const char *str, uint8_t addr=0)
C-string transmit method.
Definition: PhysicalLayer.cpp:52
-
LR11x0::checkDataRate
int16_t checkDataRate(DataRate_t dr) override
Check the data rate can be configured by this module.
Definition: LR11x0.cpp:1043
+
LR11x0::checkDataRate
int16_t checkDataRate(DataRate_t dr) override
Check the data rate can be configured by this module.
Definition: LR11x0.cpp:1057
LR11x0::startChannelScan
int16_t startChannelScan() override
Interrupt-driven channel activity detection method. IRQ1 will be activated when LoRa preamble is dete...
Definition: LR11x0.cpp:558
-
LR11x0::setCRC
int16_t setCRC(uint8_t len, uint32_t initial=0x00001D0FUL, uint32_t polynomial=0x00001021UL, bool inverted=true)
Sets CRC configuration.
Definition: LR11x0.cpp:1137
+
LR11x0::setCRC
int16_t setCRC(uint8_t len, uint32_t initial=0x00001D0FUL, uint32_t polynomial=0x00001021UL, bool inverted=true)
Sets CRC configuration.
Definition: LR11x0.cpp:1151
LR11x0::LR11x0
LR11x0(Module *mod)
Default constructor.
Definition: LR11x0.cpp:11
-
LR11x0::setCodingRate
int16_t setCodingRate(uint8_t cr, bool longInterleave=false)
Sets LoRa coding rate denominator. Allowed values range from 5 to 8.
Definition: LR11x0.cpp:683
-
LR11x0::setDataShaping
int16_t setDataShaping(uint8_t sh) override
Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPI...
Definition: LR11x0.cpp:938
-
LR11x0::fixedPacketLengthMode
int16_t fixedPacketLengthMode(uint8_t len=RADIOLIB_LR11X0_MAX_PACKET_LENGTH)
Set modem in fixed packet length mode. Available in GFSK mode only.
Definition: LR11x0.cpp:976
-
LR11x0::getWifiScanResultsCount
int16_t getWifiScanResultsCount(uint8_t *count)
Get number of WiFi scan results after the scan is finished.
Definition: LR11x0.cpp:1510
-
LR11x0::setNodeAddress
int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: LR11x0.cpp:887
-
LR11x0::setIrqFlags
int16_t setIrqFlags(uint32_t irq) override
Set interrupt on IRQ pin to be sent on a specific IRQ bit (e.g. RxTimeout, CadDone).
Definition: LR11x0.cpp:1356
-
LR11x0::setSyncBits
int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen)
Sets GFSK sync word in the form of array of up to 8 bytes.
Definition: LR11x0.cpp:866
+
LR11x0::setCodingRate
int16_t setCodingRate(uint8_t cr, bool longInterleave=false)
Sets LoRa coding rate denominator. Allowed values range from 5 to 8.
Definition: LR11x0.cpp:697
+
LR11x0::setDataShaping
int16_t setDataShaping(uint8_t sh) override
Sets time-bandwidth product of Gaussian filter applied for shaping. Allowed values are RADIOLIB_SHAPI...
Definition: LR11x0.cpp:952
+
LR11x0::fixedPacketLengthMode
int16_t fixedPacketLengthMode(uint8_t len=RADIOLIB_LR11X0_MAX_PACKET_LENGTH)
Set modem in fixed packet length mode. Available in GFSK mode only.
Definition: LR11x0.cpp:990
+
LR11x0::getWifiScanResultsCount
int16_t getWifiScanResultsCount(uint8_t *count)
Get number of WiFi scan results after the scan is finished.
Definition: LR11x0.cpp:1524
+
LR11x0::setNodeAddress
int16_t setNodeAddress(uint8_t nodeAddr)
Sets node address. Calling this method will also enable address filtering for node address only.
Definition: LR11x0.cpp:901
+
LR11x0::setIrqFlags
int16_t setIrqFlags(uint32_t irq) override
Set interrupt on IRQ pin to be sent on a specific IRQ bit (e.g. RxTimeout, CadDone).
Definition: LR11x0.cpp:1370
+
LR11x0::setSyncBits
int16_t setSyncBits(uint8_t *syncWord, uint8_t bitsLen)
Sets GFSK sync word in the form of array of up to 8 bytes.
Definition: LR11x0.cpp:880
LR11x0::scanChannel
int16_t scanChannel() override
Performs scan for LoRa transmission in the current channel. Detects both preamble and payload.
Definition: LR11x0.cpp:287
-
LR11x0::getRSSI
float getRSSI() override
Gets RSSI (Recorded Signal Strength Indicator) of the last received packet. Only available for LoRa o...
Definition: LR11x0.cpp:1194
+
LR11x0::getRSSI
float getRSSI() override
Gets RSSI (Recorded Signal Strength Indicator) of the last received packet. Only available for LoRa o...
Definition: LR11x0.cpp:1208
+
LR11x0::setBandwidth
int16_t setBandwidth(float bw, bool high=false)
Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. (default,...
Definition: LR11x0.cpp:626
LR11x0::standby
int16_t standby() override
Sets the module to standby mode (overload for PhysicalLayer compatibility, uses 13 MHz RC oscillator)...
Definition: LR11x0.cpp:316
-
LR11x0::setSyncWord
int16_t setSyncWord(uint32_t syncWord)
Sets LoRa or LR-FHSS sync word.
Definition: LR11x0.cpp:716
+
LR11x0::setSyncWord
int16_t setSyncWord(uint32_t syncWord)
Sets LoRa or LR-FHSS sync word.
Definition: LR11x0.cpp:730
LR11x0::beginLRFHSS
int16_t beginLRFHSS(uint8_t bw, uint8_t cr, float tcxoVoltage)
Initialization method for LR-FHSS modem.
Definition: LR11x0.cpp:101
-
LR11x0::randomByte
uint8_t randomByte() override
Get one truly random byte from RSSI noise.
Definition: LR11x0.cpp:1364
-
LR11x0::setEncoding
int16_t setEncoding(uint8_t encoding) override
Sets transmission encoding. Available in GFSK mode only. Serves only as alias for PhysicalLayer compa...
Definition: LR11x0.cpp:972
-
LR11x0::setLrFhssConfig
int16_t setLrFhssConfig(uint8_t bw, uint8_t cr, uint8_t hdrCount=3, uint16_t hopSeed=0x13A)
Sets LR-FHSS configuration.
Definition: LR11x0.cpp:1444
-
LR11x0::begin
int16_t begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage)
Initialization method for LoRa modem.
Definition: LR11x0.cpp:26
+
LR11x0::randomByte
uint8_t randomByte() override
Get one truly random byte from RSSI noise.
Definition: LR11x0.cpp:1378
+
LR11x0::setEncoding
int16_t setEncoding(uint8_t encoding) override
Sets transmission encoding. Available in GFSK mode only. Serves only as alias for PhysicalLayer compa...
Definition: LR11x0.cpp:986
+
LR11x0::setLrFhssConfig
int16_t setLrFhssConfig(uint8_t bw, uint8_t cr, uint8_t hdrCount=3, uint16_t hopSeed=0x13A)
Sets LR-FHSS configuration.
Definition: LR11x0.cpp:1458
LR11x0::setPacketSentAction
void setPacketSentAction(void(*func)(void)) override
Sets interrupt service routine to call when a packet is sent.
Definition: LR11x0.cpp:376
LR11x0::startTransmit
int16_t startTransmit(const char *str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:149
-
LR11x0::setRegulatorLDO
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: LR11x0.cpp:1382
+
LR11x0::setRegulatorLDO
int16_t setRegulatorLDO()
Set regulator mode to LDO.
Definition: LR11x0.cpp:1396
LR11x0::clearPacketSentAction
void clearPacketSentAction() override
Clears interrupt service routine to call when a packet is sent.
Definition: LR11x0.cpp:380
LR11x0::clearPacketReceivedAction
void clearPacketReceivedAction() override
Clears interrupt service routine to call when a packet is received.
Definition: LR11x0.cpp:372
-
LR11x0::setTCXO
int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: LR11x0.cpp:1082
-
LR11x0::clearIrqFlags
int16_t clearIrqFlags(uint32_t irq) override
Clear interrupt on a specific IRQ bit (e.g. RxTimeout, CadDone).
Definition: LR11x0.cpp:1360
-
LR11x0::setPreambleLength
int16_t setPreambleLength(size_t preambleLength) override
Sets preamble length for LoRa or GFSK modem. Allowed values range from 1 to 65535.
Definition: LR11x0.cpp:1065
+
LR11x0::setTCXO
int16_t setTCXO(float voltage, uint32_t delay=5000)
Sets TCXO (Temperature Compensated Crystal Oscillator) configuration.
Definition: LR11x0.cpp:1096
+
LR11x0::begin
int16_t begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false)
Initialization method for LoRa modem.
Definition: LR11x0.cpp:26
+
LR11x0::clearIrqFlags
int16_t clearIrqFlags(uint32_t irq) override
Clear interrupt on a specific IRQ bit (e.g. RxTimeout, CadDone).
Definition: LR11x0.cpp:1374
+
LR11x0::setPreambleLength
int16_t setPreambleLength(size_t preambleLength) override
Sets preamble length for LoRa or GFSK modem. Allowed values range from 1 to 65535.
Definition: LR11x0.cpp:1079
LR11x0::startReceive
int16_t startReceive() override
Interrupt-driven receive method with default parameters. Implemented for compatibility with PhysicalL...
Definition: LR11x0.cpp:459
-
LR11x0::autoLDRO
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: LR11x0.cpp:1432
+
LR11x0::autoLDRO
int16_t autoLDRO()
Re-enables automatic LDRO configuration. Only available in LoRa mode. After calling this method,...
Definition: LR11x0.cpp:1446
LR11x0::finishTransmit
int16_t finishTransmit() override
Clean up after transmission is done.
Definition: LR11x0.cpp:451
-
LR11x0::setRxBoostedGainMode
int16_t setRxBoostedGainMode(bool en)
Enables or disables Rx Boosted Gain mode (additional Rx gain for increased power consumption).
Definition: LR11x0.cpp:1390
+
LR11x0::setRxBoostedGainMode
int16_t setRxBoostedGainMode(bool en)
Enables or disables Rx Boosted Gain mode (additional Rx gain for increased power consumption).
Definition: LR11x0.cpp:1404
LR11x0::clearIrqAction
void clearIrqAction()
Clears interrupt service routine to call when IRQ1 activates.
Definition: LR11x0.cpp:364
-
LR11x0::setBitRate
int16_t setBitRate(float br) override
Sets GFSK bit rate. Allowed values range from 0.6 to 300.0 kbps.
Definition: LR11x0.cpp:732
-
LR11x0::updateFirmware
int16_t updateFirmware(const uint32_t *image, size_t size, bool nonvolatile=true)
Method to upload new firmware image to the device. The device will be automatically erased,...
Definition: LR11x0.cpp:1649
+
LR11x0::setBitRate
int16_t setBitRate(float br) override
Sets GFSK bit rate. Allowed values range from 0.6 to 300.0 kbps.
Definition: LR11x0.cpp:746
+
LR11x0::updateFirmware
int16_t updateFirmware(const uint32_t *image, size_t size, bool nonvolatile=true)
Method to upload new firmware image to the device. The device will be automatically erased,...
Definition: LR11x0.cpp:1663
LR11x0::receive
virtual int16_t receive(uint8_t *data, size_t len)
Binary receive method. Must be implemented in module class.
Definition: PhysicalLayer.cpp:112
-
LR11x0::implicitHeader
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: LR11x0.cpp:1370
+
LR11x0::implicitHeader
int16_t implicitHeader(size_t len)
Set implicit header mode for future reception/transmission.
Definition: LR11x0.cpp:1384
LR11x0::beginGFSK
int16_t beginGFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)
Initialization method for FSK modem.
Definition: LR11x0.cpp:60
-
LR11x0::getTimeOnAir
RadioLibTime_t getTimeOnAir(size_t len) override
Get expected time-on-air for a given size of payload.
Definition: LR11x0.cpp:1248
-
LR11x0::setBandwidth
int16_t setBandwidth(float bw)
Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz.
Definition: LR11x0.cpp:626
-
LR11x0::setFrequencyDeviation
int16_t setFrequencyDeviation(float freqDev) override
Sets GFSK frequency deviation. Allowed values range from 0.0 to 200.0 kHz.
Definition: LR11x0.cpp:749
-
LR11x0::getPacketLength
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: LR11x0.cpp:1229
+
LR11x0::getTimeOnAir
RadioLibTime_t getTimeOnAir(size_t len) override
Get expected time-on-air for a given size of payload.
Definition: LR11x0.cpp:1262
+
LR11x0::setFrequencyDeviation
int16_t setFrequencyDeviation(float freqDev) override
Sets GFSK frequency deviation. Allowed values range from 0.0 to 200.0 kHz.
Definition: LR11x0.cpp:763
+
LR11x0::getPacketLength
size_t getPacketLength(bool update=true) override
Query modem for the packet length of received payload.
Definition: LR11x0.cpp:1243
LR11x0::setPacketReceivedAction
void setPacketReceivedAction(void(*func)(void)) override
Sets interrupt service routine to call when a packet is received.
Definition: LR11x0.cpp:368
-
LR11x0::getVersionInfo
int16_t getVersionInfo(LR11x0VersionInfo_t *info)
Retrieve LR11x0 hardware, device and firmware version information.
Definition: LR11x0.cpp:1627
-
LR11x0::clearWiFiScanAction
void clearWiFiScanAction()
Clears interrupt service routine to call when a WiFi scan is completed.
Definition: LR11x0.cpp:1506
+
LR11x0::getVersionInfo
int16_t getVersionInfo(LR11x0VersionInfo_t *info)
Retrieve LR11x0 hardware, device and firmware version information.
Definition: LR11x0.cpp:1641
+
LR11x0::clearWiFiScanAction
void clearWiFiScanAction()
Clears interrupt service routine to call when a WiFi scan is completed.
Definition: LR11x0.cpp:1520
LR11x0::sleep
int16_t sleep() override
Sets the module to sleep mode. To wake the device up, call standby(). Overload with warm start enable...
Definition: LR11x0.cpp:335
-
LR11x0::getFrequencyError
float getFrequencyError()
Gets frequency error of the latest received packet.
Definition: LR11x0.cpp:1224
-
LR11x0::variablePacketLengthMode
int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_LR11X0_MAX_PACKET_LENGTH)
Set modem in variable packet length mode. Available in GFSK mode only.
Definition: LR11x0.cpp:980
-
LR11x0::setWhitening
int16_t setWhitening(bool enabled, uint16_t initial=0x01FF)
Sets GFSK whitening parameters.
Definition: LR11x0.cpp:984
-
LR11x0::wifiScan
int16_t wifiScan(uint8_t wifiType, uint8_t *count, uint8_t mode=RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask=RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans=16, uint16_t timeout=100)
Blocking WiFi scan method. Performs a full passive WiFi scan. This method may block for several secon...
Definition: LR11x0.cpp:1600
-
LR11x0::setSpreadingFactor
int16_t setSpreadingFactor(uint8_t sf, bool legacy=false)
Sets LoRa spreading factor. Allowed values range from 5 to 12.
Definition: LR11x0.cpp:662
+
LR11x0::getFrequencyError
float getFrequencyError()
Gets frequency error of the latest received packet.
Definition: LR11x0.cpp:1238
+
LR11x0::variablePacketLengthMode
int16_t variablePacketLengthMode(uint8_t maxLen=RADIOLIB_LR11X0_MAX_PACKET_LENGTH)
Set modem in variable packet length mode. Available in GFSK mode only.
Definition: LR11x0.cpp:994
+
LR11x0::setWhitening
int16_t setWhitening(bool enabled, uint16_t initial=0x01FF)
Sets GFSK whitening parameters.
Definition: LR11x0.cpp:998
+
LR11x0::wifiScan
int16_t wifiScan(uint8_t wifiType, uint8_t *count, uint8_t mode=RADIOLIB_LR11X0_WIFI_ACQ_MODE_FULL_BEACON, uint16_t chanMask=RADIOLIB_LR11X0_WIFI_ALL_CHANNELS, uint8_t numScans=16, uint16_t timeout=100)
Blocking WiFi scan method. Performs a full passive WiFi scan. This method may block for several secon...
Definition: LR11x0.cpp:1614
+
LR11x0::setSpreadingFactor
int16_t setSpreadingFactor(uint8_t sf, bool legacy=false)
Sets LoRa spreading factor. Allowed values range from 5 to 12.
Definition: LR11x0.cpp:676
LR11x0::transmitDirect
int16_t transmitDirect(uint32_t frf=0) override
Starts direct mode transmission.
Definition: LR11x0.cpp:264
-
LR11x0::forceLDRO
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: LR11x0.cpp:1417
+
LR11x0::forceLDRO
int16_t forceLDRO(bool enable)
Forces LoRa low data rate optimization. Only available in LoRa mode. After calling this method,...
Definition: LR11x0.cpp:1431
LR11x0::receiveDirect
int16_t receiveDirect() override
Starts direct mode reception. Only implemented for PhysicalLayer compatibility, as SX126x series does...
Definition: LR11x0.cpp:279
-
LR11x0::disableAddressFiltering
int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: LR11x0.cpp:924
-
LR11x0::setBroadcastAddress
int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: LR11x0.cpp:906
-
LR11x0::invertIQ
int16_t invertIQ(bool enable) override
Enable/disable inversion of the I and Q signals.
Definition: LR11x0.cpp:1181
-
LR11x0::setWiFiScanAction
void setWiFiScanAction(void(*func)(void))
Sets interrupt service routine to call when a WiFi scan is completed.
Definition: LR11x0.cpp:1502
+
LR11x0::disableAddressFiltering
int16_t disableAddressFiltering()
Disables address filtering. Calling this method will also erase previously set addresses.
Definition: LR11x0.cpp:938
+
LR11x0::setBroadcastAddress
int16_t setBroadcastAddress(uint8_t broadAddr)
Sets broadcast address. Calling this method will also enable address filtering for node and broadcast...
Definition: LR11x0.cpp:920
+
LR11x0::invertIQ
int16_t invertIQ(bool enable) override
Enable/disable inversion of the I and Q signals.
Definition: LR11x0.cpp:1195
+
LR11x0::setWiFiScanAction
void setWiFiScanAction(void(*func)(void))
Sets interrupt service routine to call when a WiFi scan is completed.
Definition: LR11x0.cpp:1516
Module
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:65
Module::RFSWITCH_MAX_PINS
static const size_t RFSWITCH_MAX_PINS
The maximum number of pins supported by the RF switch code. Note: It is not recommended to use this c...
Definition: Module.h:74
Module::MODE_TX
@ MODE_TX
Transmission mode.
Definition: Module.h:111
@@ -1263,44 +1266,44 @@ $(document).ready(function(){initNavTree('_l_r11x0_8h_source.html',''); initResi
PhysicalLayer::startTransmit
int16_t startTransmit(const char *str, uint8_t addr=0)
Interrupt-driven Arduino String transmit method. Unlike the standard transmit method,...
Definition: PhysicalLayer.cpp:149
PhysicalLayer::receive
virtual int16_t receive(uint8_t *data, size_t len)
Binary receive method. Must be implemented in module class.
Definition: PhysicalLayer.cpp:112
RadioLibTime_t
unsigned long RadioLibTime_t
Type used for durations in RadioLib.
Definition: TypeDef.h:616
-
LR11x0GnssResult_t
Definition: LR11x0.h:717
-
LR11x0VersionInfo_t
Structure to report information about versions of the LR11x0 hardware and firmware.
Definition: LR11x0.h:691
-
LR11x0VersionInfo_t::fwMajor
uint8_t fwMajor
Major revision of the base firmware.
Definition: LR11x0.h:699
-
LR11x0VersionInfo_t::fwMinorWiFi
uint8_t fwMinorWiFi
Minor revision of the WiFi firmware.
Definition: LR11x0.h:708
-
LR11x0VersionInfo_t::device
uint8_t device
Which device this is - one of RADIOLIB_LR11X0_DEVICE_* macros.
Definition: LR11x0.h:696
-
LR11x0VersionInfo_t::hardware
uint8_t hardware
Hardware revision.
Definition: LR11x0.h:693
-
LR11x0VersionInfo_t::fwMinor
uint8_t fwMinor
Minor revision of the base firmware.
Definition: LR11x0.h:702
-
LR11x0VersionInfo_t::fwGNSS
uint8_t fwGNSS
Revision of the GNSS firmware.
Definition: LR11x0.h:711
-
LR11x0VersionInfo_t::almanacGNSS
uint8_t almanacGNSS
Almanac revision of the GNSS firmware.
Definition: LR11x0.h:714
-
LR11x0VersionInfo_t::fwMajorWiFi
uint8_t fwMajorWiFi
Major revision of the WiFi firmware.
Definition: LR11x0.h:705
-
LR11x0WifiResult_t
Structure to save result of passive WiFi scan. This result only saves the basic information.
Definition: LR11x0.h:594
-
LR11x0WifiResult_t::ap
bool ap
Whether this signal was sent by an access point (true) or end device (false)
Definition: LR11x0.h:608
-
LR11x0WifiResult_t::channelFreq
uint16_t channelFreq
Channel frequency in MHz.
Definition: LR11x0.h:602
-
LR11x0WifiResult_t::type
char type
WiFi (802.11) signal type, 'b', 'n' or 'g'.
Definition: LR11x0.h:596
-
LR11x0WifiResult_t::mac
uint8_t mac[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN]
MAC address.
Definition: LR11x0.h:614
-
LR11x0WifiResult_t::dataRateId
uint8_t dataRateId
Data rate ID holding information about modulation and coding rate. See LR11x0 user manual for details...
Definition: LR11x0.h:599
-
LR11x0WifiResult_t::rssi
float rssi
RSSI in dBm.
Definition: LR11x0.h:611
-
LR11x0WifiResult_t::origin
uint8_t origin
MAC address origin: from gateway (1), phone (2) or undetermined (3)
Definition: LR11x0.h:605
-
LR11x0WifiResultExtended_t
Structure to save result of passive WiFi scan. This result saves additional information alongside tha...
Definition: LR11x0.h:652
-
LR11x0WifiResultExtended_t::rate
uint8_t rate
Data rate. See LR11x0 user manual for details.
Definition: LR11x0.h:654
-
LR11x0WifiResultExtended_t::length
uint16_t length
Refer to IEEE Std 802.11, 2016, Part 11: Wireless LAN MAC and PHY Spec.
Definition: LR11x0.h:660
-
LR11x0WifiResultExtended_t::fcsCheckOk
bool fcsCheckOk
True if frame check sequences is valid, false otherwise.
Definition: LR11x0.h:684
-
LR11x0WifiResultExtended_t::service
uint16_t service
Refer to IEEE Std 802.11, 2016, Part 11: Wireless LAN MAC and PHY Spec.
Definition: LR11x0.h:657
-
LR11x0WifiResultExtended_t::mac2
uint8_t mac2[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN]
MAC address 2.
Definition: LR11x0.h:666
-
LR11x0WifiResultExtended_t::ssid
uint8_t ssid[RADIOLIB_LR11X0_WIFI_RESULT_SSID_LEN]
SSID.
Definition: LR11x0.h:672
-
LR11x0WifiResultExtended_t::currentChannel
uint8_t currentChannel
WiFi channel number.
Definition: LR11x0.h:675
-
LR11x0WifiResultExtended_t::seqCtrl
uint16_t seqCtrl
Refer to IEEE Std 802.11, 2016, Part 11: Wireless LAN MAC and PHY Spec.
Definition: LR11x0.h:669
-
LR11x0WifiResultExtended_t::mac0
uint8_t mac0[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN]
MAC address 0.
Definition: LR11x0.h:663
-
LR11x0WifiResultExtended_t::countryCode
char countryCode[3]
Two-letter country code (null-terminated string).
Definition: LR11x0.h:678
-
LR11x0WifiResultExtended_t::ioReg
uint8_t ioReg
Refer to IEEE Std 802.11, 2016, Part 11: Wireless LAN MAC and PHY Spec.
Definition: LR11x0.h:681
-
LR11x0WifiResultFull_t
Structure to save result of passive WiFi scan. This result saves additional information alongside tha...
Definition: LR11x0.h:622
-
LR11x0WifiResultFull_t::periodBeacon
uint32_t periodBeacon
Beacon period in microseconds.
Definition: LR11x0.h:642
-
LR11x0WifiResultFull_t::phiOffset
uint16_t phiOffset
See LR11x0 user manual for details.
Definition: LR11x0.h:636
-
LR11x0WifiResultFull_t::fromDistributionSystem
bool fromDistributionSystem
Frame sent from distribution system to client station.
Definition: LR11x0.h:633
-
LR11x0WifiResultFull_t::timestamp
uint64_t timestamp
Number of microseconds the AP has been active.
Definition: LR11x0.h:639
-
LR11x0WifiResultFull_t::frameType
uint8_t frameType
Frame type. See LR11x0 user manual for details.
Definition: LR11x0.h:624
-
LR11x0WifiResultFull_t::frameSubType
uint8_t frameSubType
Frame sub type. See LR11x0 user manual for details.
Definition: LR11x0.h:627
-
LR11x0WifiResultFull_t::toDistributionSystem
bool toDistributionSystem
Frame sent from client station to distribution system.
Definition: LR11x0.h:630
+
LR11x0GnssResult_t
Definition: LR11x0.h:720
+
LR11x0VersionInfo_t
Structure to report information about versions of the LR11x0 hardware and firmware.
Definition: LR11x0.h:694
+
LR11x0VersionInfo_t::fwMajor
uint8_t fwMajor
Major revision of the base firmware.
Definition: LR11x0.h:702
+
LR11x0VersionInfo_t::fwMinorWiFi
uint8_t fwMinorWiFi
Minor revision of the WiFi firmware.
Definition: LR11x0.h:711
+
LR11x0VersionInfo_t::device
uint8_t device
Which device this is - one of RADIOLIB_LR11X0_DEVICE_* macros.
Definition: LR11x0.h:699
+
LR11x0VersionInfo_t::hardware
uint8_t hardware
Hardware revision.
Definition: LR11x0.h:696
+
LR11x0VersionInfo_t::fwMinor
uint8_t fwMinor
Minor revision of the base firmware.
Definition: LR11x0.h:705
+
LR11x0VersionInfo_t::fwGNSS
uint8_t fwGNSS
Revision of the GNSS firmware.
Definition: LR11x0.h:714
+
LR11x0VersionInfo_t::almanacGNSS
uint8_t almanacGNSS
Almanac revision of the GNSS firmware.
Definition: LR11x0.h:717
+
LR11x0VersionInfo_t::fwMajorWiFi
uint8_t fwMajorWiFi
Major revision of the WiFi firmware.
Definition: LR11x0.h:708
+
LR11x0WifiResult_t
Structure to save result of passive WiFi scan. This result only saves the basic information.
Definition: LR11x0.h:597
+
LR11x0WifiResult_t::ap
bool ap
Whether this signal was sent by an access point (true) or end device (false)
Definition: LR11x0.h:611
+
LR11x0WifiResult_t::channelFreq
uint16_t channelFreq
Channel frequency in MHz.
Definition: LR11x0.h:605
+
LR11x0WifiResult_t::type
char type
WiFi (802.11) signal type, 'b', 'n' or 'g'.
Definition: LR11x0.h:599
+
LR11x0WifiResult_t::mac
uint8_t mac[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN]
MAC address.
Definition: LR11x0.h:617
+
LR11x0WifiResult_t::dataRateId
uint8_t dataRateId
Data rate ID holding information about modulation and coding rate. See LR11x0 user manual for details...
Definition: LR11x0.h:602
+
LR11x0WifiResult_t::rssi
float rssi
RSSI in dBm.
Definition: LR11x0.h:614
+
LR11x0WifiResult_t::origin
uint8_t origin
MAC address origin: from gateway (1), phone (2) or undetermined (3)
Definition: LR11x0.h:608
+
LR11x0WifiResultExtended_t
Structure to save result of passive WiFi scan. This result saves additional information alongside tha...
Definition: LR11x0.h:655
+
LR11x0WifiResultExtended_t::rate
uint8_t rate
Data rate. See LR11x0 user manual for details.
Definition: LR11x0.h:657
+
LR11x0WifiResultExtended_t::length
uint16_t length
Refer to IEEE Std 802.11, 2016, Part 11: Wireless LAN MAC and PHY Spec.
Definition: LR11x0.h:663
+
LR11x0WifiResultExtended_t::fcsCheckOk
bool fcsCheckOk
True if frame check sequences is valid, false otherwise.
Definition: LR11x0.h:687
+
LR11x0WifiResultExtended_t::service
uint16_t service
Refer to IEEE Std 802.11, 2016, Part 11: Wireless LAN MAC and PHY Spec.
Definition: LR11x0.h:660
+
LR11x0WifiResultExtended_t::mac2
uint8_t mac2[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN]
MAC address 2.
Definition: LR11x0.h:669
+
LR11x0WifiResultExtended_t::ssid
uint8_t ssid[RADIOLIB_LR11X0_WIFI_RESULT_SSID_LEN]
SSID.
Definition: LR11x0.h:675
+
LR11x0WifiResultExtended_t::currentChannel
uint8_t currentChannel
WiFi channel number.
Definition: LR11x0.h:678
+
LR11x0WifiResultExtended_t::seqCtrl
uint16_t seqCtrl
Refer to IEEE Std 802.11, 2016, Part 11: Wireless LAN MAC and PHY Spec.
Definition: LR11x0.h:672
+
LR11x0WifiResultExtended_t::mac0
uint8_t mac0[RADIOLIB_LR11X0_WIFI_RESULT_MAC_LEN]
MAC address 0.
Definition: LR11x0.h:666
+
LR11x0WifiResultExtended_t::countryCode
char countryCode[3]
Two-letter country code (null-terminated string).
Definition: LR11x0.h:681
+
LR11x0WifiResultExtended_t::ioReg
uint8_t ioReg
Refer to IEEE Std 802.11, 2016, Part 11: Wireless LAN MAC and PHY Spec.
Definition: LR11x0.h:684
+
LR11x0WifiResultFull_t
Structure to save result of passive WiFi scan. This result saves additional information alongside tha...
Definition: LR11x0.h:625
+
LR11x0WifiResultFull_t::periodBeacon
uint32_t periodBeacon
Beacon period in microseconds.
Definition: LR11x0.h:645
+
LR11x0WifiResultFull_t::phiOffset
uint16_t phiOffset
See LR11x0 user manual for details.
Definition: LR11x0.h:639
+
LR11x0WifiResultFull_t::fromDistributionSystem
bool fromDistributionSystem
Frame sent from distribution system to client station.
Definition: LR11x0.h:636
+
LR11x0WifiResultFull_t::timestamp
uint64_t timestamp
Number of microseconds the AP has been active.
Definition: LR11x0.h:642
+
LR11x0WifiResultFull_t::frameType
uint8_t frameType
Frame type. See LR11x0 user manual for details.
Definition: LR11x0.h:627
+
LR11x0WifiResultFull_t::frameSubType
uint8_t frameSubType
Frame sub type. See LR11x0 user manual for details.
Definition: LR11x0.h:630
+
LR11x0WifiResultFull_t::toDistributionSystem
bool toDistributionSystem
Frame sent from client station to distribution system.
Definition: LR11x0.h:633
Module::RfSwitchMode_t
Description of RF switch pin states for a single mode. See setRfSwitchTable for details.
Definition: Module.h:81
ChannelScanConfig_t
Common channel scan configuration structure.
Definition: PhysicalLayer.h:119
DataRate_t
Common data rate structure.
Definition: PhysicalLayer.h:71
diff --git a/class_l_r1110-members.html b/class_l_r1110-members.html index f1dbcb2a..d012429f 100644 --- a/class_l_r1110-members.html +++ b/class_l_r1110-members.html @@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('class_l_r1110.html',''); initResizable autoLDRO()LR11x0 available()PhysicalLayer begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE, int8_t power=10, uint16_t preambleLength=8, float tcxoVoltage=1.6)LR1110 - LR11x0::begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage)LR11x0 + LR11x0::begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false)LR11x0 beginGFSK(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)LR1110 LR11x0::beginGFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)LR11x0 beginLRFHSS(float freq=434.0, uint8_t bw=RADIOLIB_LR11X0_LR_FHSS_BW_722_66, uint8_t cr=RADIOLIB_LR11X0_LR_FHSS_CR_2_3, int8_t power=10, float tcxoVoltage=1.6)LR1110 @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_l_r1110.html',''); initResizable reset()LR11x0 scanChannel() overrideLR11x0virtual scanChannel(const ChannelScanConfig_t &config) overrideLR11x0virtual - setBandwidth(float bw)LR11x0 + setBandwidth(float bw, bool high=false)LR11x0 setBitRate(float br) overrideLR11x0virtual setBroadcastAddress(uint8_t broadAddr)LR11x0 setChannelScanAction(void(*func)(void))PhysicalLayervirtual diff --git a/class_l_r1110.html b/class_l_r1110.html index e93835c4..03d82907 100644 --- a/class_l_r1110.html +++ b/class_l_r1110.html @@ -141,9 +141,9 @@ Public Member Functions  LR11x0 (Module *mod)  Default constructor. More...
  -int16_t begin (float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage) - Initialization method for LoRa modem. More...
-  +int16_t begin (float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false) + Initialization method for LoRa modem. More...
+  int16_t beginGFSK (float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)  Initialization method for FSK modem. More...
  @@ -231,9 +231,9 @@ void int16_t getChannelScanResult () override  Read the channel scan result. More...
  -int16_t setBandwidth (float bw) - Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. More...
-  +int16_t setBandwidth (float bw, bool high=false) + Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. (default, high = false) More...
+  int16_t setSpreadingFactor (uint8_t sf, bool legacy=false)  Sets LoRa spreading factor. Allowed values range from 5 to 12. More...
  diff --git a/class_l_r1120-members.html b/class_l_r1120-members.html index 6b316bef..4bdbc6c1 100644 --- a/class_l_r1120-members.html +++ b/class_l_r1120-members.html @@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('class_l_r1120.html',''); initResizable autoLDRO()LR11x0 available()PhysicalLayer begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE, int8_t power=10, uint16_t preambleLength=8, float tcxoVoltage=1.6)LR1120 - LR11x0::begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage)LR11x0 + LR11x0::begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false)LR11x0 beginGFSK(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)LR1120 LR11x0::beginGFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)LR11x0 beginLRFHSS(float freq=434.0, uint8_t bw=RADIOLIB_LR11X0_LR_FHSS_BW_722_66, uint8_t cr=RADIOLIB_LR11X0_LR_FHSS_CR_2_3, int8_t power=10, float tcxoVoltage=1.6)LR1120 @@ -156,7 +156,7 @@ $(document).ready(function(){initNavTree('class_l_r1120.html',''); initResizable reset()LR11x0 scanChannel() overrideLR11x0virtual scanChannel(const ChannelScanConfig_t &config) overrideLR11x0virtual - setBandwidth(float bw)LR11x0 + setBandwidth(float bw, bool high=false)LR11x0 setBitRate(float br) overrideLR11x0virtual setBroadcastAddress(uint8_t broadAddr)LR11x0 setChannelScanAction(void(*func)(void))PhysicalLayervirtual diff --git a/class_l_r1120.html b/class_l_r1120.html index 554a4915..3c7695b7 100644 --- a/class_l_r1120.html +++ b/class_l_r1120.html @@ -142,9 +142,9 @@ Public Member Functions  LR11x0 (Module *mod)  Default constructor. More...
  -int16_t begin (float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage) - Initialization method for LoRa modem. More...
-  +int16_t begin (float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false) + Initialization method for LoRa modem. More...
+  int16_t beginGFSK (float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)  Initialization method for FSK modem. More...
  @@ -232,9 +232,9 @@ void int16_t getChannelScanResult () override  Read the channel scan result. More...
  -int16_t setBandwidth (float bw) - Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. More...
-  +int16_t setBandwidth (float bw, bool high=false) + Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. (default, high = false) More...
+  int16_t setSpreadingFactor (uint8_t sf, bool legacy=false)  Sets LoRa spreading factor. Allowed values range from 5 to 12. More...
  diff --git a/class_l_r1121-members.html b/class_l_r1121-members.html index b4c18c87..ad655e81 100644 --- a/class_l_r1121-members.html +++ b/class_l_r1121-members.html @@ -92,7 +92,7 @@ $(document).ready(function(){initNavTree('class_l_r1121.html',''); initResizable autoLDRO()LR11x0 available()PhysicalLayer begin(float freq=434.0, float bw=125.0, uint8_t sf=9, uint8_t cr=7, uint8_t syncWord=RADIOLIB_LR11X0_LORA_SYNC_WORD_PRIVATE, int8_t power=10, uint16_t preambleLength=8, float tcxoVoltage=1.6)LR1120 - LR11x0::begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage)LR11x0 + LR11x0::begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false)LR11x0 beginGFSK(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)LR1120 LR11x0::beginGFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)LR11x0 beginLRFHSS(float freq=434.0, uint8_t bw=RADIOLIB_LR11X0_LR_FHSS_BW_722_66, uint8_t cr=RADIOLIB_LR11X0_LR_FHSS_CR_2_3, int8_t power=10, float tcxoVoltage=1.6)LR1120 @@ -157,7 +157,7 @@ $(document).ready(function(){initNavTree('class_l_r1121.html',''); initResizable reset()LR11x0 scanChannel() overrideLR11x0virtual scanChannel(const ChannelScanConfig_t &config) overrideLR11x0virtual - setBandwidth(float bw)LR11x0 + setBandwidth(float bw, bool high=false)LR11x0 setBitRate(float br) overrideLR11x0virtual setBroadcastAddress(uint8_t broadAddr)LR11x0 setChannelScanAction(void(*func)(void))PhysicalLayervirtual diff --git a/class_l_r1121.html b/class_l_r1121.html index a477afbc..bcc5a9a1 100644 --- a/class_l_r1121.html +++ b/class_l_r1121.html @@ -146,9 +146,9 @@ Public Member Functions  LR11x0 (Module *mod)  Default constructor. More...
  -int16_t begin (float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage) - Initialization method for LoRa modem. More...
-  +int16_t begin (float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false) + Initialization method for LoRa modem. More...
+  int16_t beginGFSK (float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)  Initialization method for FSK modem. More...
  @@ -236,9 +236,9 @@ void int16_t getChannelScanResult () override  Read the channel scan result. More...
  -int16_t setBandwidth (float bw) - Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. More...
-  +int16_t setBandwidth (float bw, bool high=false) + Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. (default, high = false) More...
+  int16_t setSpreadingFactor (uint8_t sf, bool legacy=false)  Sets LoRa spreading factor. Allowed values range from 5 to 12. More...
  diff --git a/class_l_r11x0-members.html b/class_l_r11x0-members.html index d785b0d3..25b57b48 100644 --- a/class_l_r11x0-members.html +++ b/class_l_r11x0-members.html @@ -91,7 +91,7 @@ $(document).ready(function(){initNavTree('class_l_r11x0.html',''); initResizable - + @@ -151,7 +151,7 @@ $(document).ready(function(){initNavTree('class_l_r11x0.html',''); initResizable - + diff --git a/class_l_r11x0.html b/class_l_r11x0.html index 133e992a..1bd5b370 100644 --- a/class_l_r11x0.html +++ b/class_l_r11x0.html @@ -131,9 +131,9 @@ Public Member Functions - - - + + + @@ -221,9 +221,9 @@ void  - - - + + + @@ -572,8 +572,8 @@ bool  - + + + + + + + @@ -631,6 +637,7 @@ bool  +
autoLDRO()LR11x0
available()PhysicalLayer
begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage)LR11x0
begin(float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false)LR11x0
beginGFSK(float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)LR11x0
beginLRFHSS(uint8_t bw, uint8_t cr, float tcxoVoltage)LR11x0
calculateRxTimeout(RadioLibTime_t timeoutUs) overrideLR11x0virtual
reset()LR11x0
scanChannel() overrideLR11x0virtual
scanChannel(const ChannelScanConfig_t &config) overrideLR11x0virtual
setBandwidth(float bw)LR11x0
setBandwidth(float bw, bool high=false)LR11x0
setBitRate(float br) overrideLR11x0virtual
setBroadcastAddress(uint8_t broadAddr)LR11x0
setChannelScanAction(void(*func)(void))PhysicalLayervirtual
 LR11x0 (Module *mod)
 Default constructor. More...
 
int16_t begin (float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage)
 Initialization method for LoRa modem. More...
 
int16_t begin (float bw, uint8_t sf, uint8_t cr, uint8_t syncWord, uint16_t preambleLength, float tcxoVoltage, bool high=false)
 Initialization method for LoRa modem. More...
 
int16_t beginGFSK (float br, float freqDev, float rxBw, uint16_t preambleLength, float tcxoVoltage)
 Initialization method for FSK modem. More...
 
int16_t getChannelScanResult () override
 Read the channel scan result. More...
 
int16_t setBandwidth (float bw)
 Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. More...
 
int16_t setBandwidth (float bw, bool high=false)
 Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. (default, high = false) More...
 
int16_t setSpreadingFactor (uint8_t sf, bool legacy=false)
 Sets LoRa spreading factor. Allowed values range from 5 to 12. More...
 
-

◆ begin()

+ +

◆ begin()

@@ -612,7 +612,13 @@ bool 
float tcxoVoltage tcxoVoltage,
bool high = false 
syncWord1-byte LoRa sync word.
preambleLengthLoRa preamble length in symbols
tcxoVoltageTCXO reference voltage to be set.
highdefaults to false for Sub-GHz band, true for frequencies above 1GHz
@@ -1723,8 +1730,8 @@ bool  -

◆ setBandwidth()

+ +

◆ setBandwidth()

@@ -1733,16 +1740,27 @@ bool int16_t LR11x0::setBandwidth ( float  - bw) + bw, + + + + bool  + high = false  + + + + ) +
-

Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz.

+

Sets LoRa bandwidth. Allowed values are 62.5, 125.0, 250.0 and 500.0 kHz. (default, high = false)

Parameters
+
bwLoRa bandwidth to be set in kHz.
highif set to true, allowed bandwidth is 203.125, 406.25 and 812.5 kHz, frequency must be above 1GHz
diff --git a/class_l_r11x0.js b/class_l_r11x0.js index 0f9ba347..ed13c249 100644 --- a/class_l_r11x0.js +++ b/class_l_r11x0.js @@ -12,7 +12,7 @@ var class_l_r11x0 = ] ], [ "LR11x0", "class_l_r11x0.html#a562f34a054e3374b812556df3b6eb421", null ], [ "autoLDRO", "class_l_r11x0.html#aa9a8db401189ba0ce5117512b5db6a58", null ], - [ "begin", "class_l_r11x0.html#a8dc6468762c36c30e9af262014e17942", null ], + [ "begin", "class_l_r11x0.html#aa2b69f68ff6171b11a1141c8615240fd", null ], [ "beginGFSK", "class_l_r11x0.html#abcc4c776d1a09bb002226ac95574766d", null ], [ "beginLRFHSS", "class_l_r11x0.html#a858b08fd0e7b00baf3056d32dfabb87e", null ], [ "calculateRxTimeout", "class_l_r11x0.html#a260c7f4ee4739e532ddb465a276205d3", null ], @@ -51,7 +51,7 @@ var class_l_r11x0 = [ "reset", "class_l_r11x0.html#a288bcc309d3676bc0bbe620b7d89d994", null ], [ "scanChannel", "class_l_r11x0.html#a6a3034c91f5bce70c853ab1620725b3c", null ], [ "scanChannel", "class_l_r11x0.html#a5e8f21878bdab1439805aea1e9da168d", null ], - [ "setBandwidth", "class_l_r11x0.html#abf961ec7d93feb6472f26b7b976ee0c9", null ], + [ "setBandwidth", "class_l_r11x0.html#a70d9849eb8e5ce2090e4e332252753d7", null ], [ "setBitRate", "class_l_r11x0.html#ab1954e4733a7fbea4129d9a2de2285d9", null ], [ "setBroadcastAddress", "class_l_r11x0.html#af24ba794f71c4e37cd13d2f4dbec5bf7", null ], [ "setCodingRate", "class_l_r11x0.html#a583f2d5ed601a98c609dbf0d57f2f541", null ], diff --git a/functions_b.html b/functions_b.html index 9befaf14..ab3bc4da 100644 --- a/functions_b.html +++ b/functions_b.html @@ -108,7 +108,7 @@ $(document).ready(function(){initNavTree('functions_b.html',''); initResizable() ,
LLCC68 , LR1110 , LR1120 -, LR11x0 +, LR11x0 , MorseClient , nRF24 , PagerClient diff --git a/functions_func_b.html b/functions_func_b.html index 0e2058bc..dcebb938 100644 --- a/functions_func_b.html +++ b/functions_func_b.html @@ -96,7 +96,7 @@ $(document).ready(function(){initNavTree('functions_func_b.html',''); initResiza , LLCC68 , LR1110 , LR1120 -, LR11x0 +, LR11x0 , MorseClient , nRF24 , PagerClient diff --git a/functions_func_s.html b/functions_func_s.html index 3d78de2b..802c1d8f 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -149,7 +149,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • setBandwidth() : LLCC68 -, LR11x0 +, LR11x0 , SX126x , SX1272 , SX1278 diff --git a/functions_s.html b/functions_s.html index 2bfb81e4..2770ad44 100644 --- a/functions_s.html +++ b/functions_s.html @@ -164,7 +164,7 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • setBandwidth() : LLCC68 -, LR11x0 +, LR11x0 , SX126x , SX1272 , SX1278 diff --git a/navtreeindex1.js b/navtreeindex1.js index 5380ed8f..65b2c483 100644 --- a/navtreeindex1.js +++ b/navtreeindex1.js @@ -52,19 +52,20 @@ var NAVTREEINDEX1 = "class_l_r11x0.html#a6501ef362df1a5b71927cfe4e43c202d":[3,0,28,64], "class_l_r11x0.html#a6a3034c91f5bce70c853ab1620725b3c":[3,0,28,40], "class_l_r11x0.html#a6cd2b2363501b2de064c9d1f32fabaa3":[3,0,28,25], +"class_l_r11x0.html#a70d9849eb8e5ce2090e4e332252753d7":[3,0,28,42], "class_l_r11x0.html#a74c3f3f8409f1fd0f41347b7d3c7dc24":[3,0,28,72], "class_l_r11x0.html#a7ffa48f1b6aaaa3f48e4b51f8ada59d8":[3,0,28,65], "class_l_r11x0.html#a858b08fd0e7b00baf3056d32dfabb87e":[3,0,28,5], "class_l_r11x0.html#a89b16d2231f588b67dc3aab0c0a467f4":[3,0,28,33], "class_l_r11x0.html#a8ae178a17f6e41b545b79cfffd3e2864":[3,0,28,49], "class_l_r11x0.html#a8c1def9a01021a52f5bb82c119a9ad35":[3,0,28,53], -"class_l_r11x0.html#a8dc6468762c36c30e9af262014e17942":[3,0,28,3], "class_l_r11x0.html#a92299e41f839590008b4e344776838a1":[3,0,28,56], "class_l_r11x0.html#a923654706eff5118ef6e84214e837f27":[3,0,28,78], "class_l_r11x0.html#a92ae10630cc327f441809ac1406737fd":[3,0,28,59], "class_l_r11x0.html#a95ddec84ae2fb19989c333d42d4dc5fa":[3,0,28,11], "class_l_r11x0.html#a96e4a220bbd3487423acfd217b479fe3":[3,0,28,10], "class_l_r11x0.html#a971b4ccd1d5479e9d72aa9649e8fef55":[3,0,28,67], +"class_l_r11x0.html#aa2b69f68ff6171b11a1141c8615240fd":[3,0,28,3], "class_l_r11x0.html#aa524b0be7b8d125c24319072d6178e74":[3,0,28,9], "class_l_r11x0.html#aa5d7ae65666f8f9abcb7e9b169884a4a":[3,0,28,57], "class_l_r11x0.html#aa6ce285cc1b76ce028db6442a421ed8d":[3,0,28,76], @@ -80,7 +81,6 @@ var NAVTREEINDEX1 = "class_l_r11x0.html#aba13921d2cf29cc1bc8a648e1f330aa9":[3,0,28,31], "class_l_r11x0.html#abcc4c776d1a09bb002226ac95574766d":[3,0,28,4], "class_l_r11x0.html#abccf5dc80aab71090a5f19bfffa0201d":[3,0,28,27], -"class_l_r11x0.html#abf961ec7d93feb6472f26b7b976ee0c9":[3,0,28,42], "class_l_r11x0.html#ac003cfe3a4dbd9bad1f01fd0147031d1":[3,0,28,50], "class_l_r11x0.html#ac1f541bdee1d983126ceae47940b8f9d":[3,0,28,24], "class_l_r11x0.html#ac2a8ece736198c966e3870dac09f4e87":[3,0,28,55], diff --git a/search/all_1.js b/search/all_1.js index 1a7573ce..5176471a 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -4,7 +4,7 @@ var searchData= ['bandtype_13',['bandType',['../struct_lo_ra_w_a_n_band__t.html#ad7ab17cc0b530fb99c3be39fd6411802',1,'LoRaWANBand_t']]], ['bandwidth_14',['bandwidth',['../struct_lo_ra_rate__t.html#a97626ff6c8f659ecad84734cca7a87b1',1,'LoRaRate_t']]], ['baudrate_15',['baudRate',['../struct_bell_modem__t.html#a8e16be8997a90db9a4b2482ec7e93171',1,'BellModem_t']]], - ['begin_16',['begin',['../class_pager_client.html#a1a1dc569f9b60b0ddd6ead7af5a8244f',1,'PagerClient::begin()'],['../class_s_x128x.html#a275a9a86934124eab4982ad52bf91aea',1,'SX128x::begin()'],['../class_s_x1279.html#a324a37dee0522f43692cd414141becc2',1,'SX1279::begin()'],['../class_s_x1277.html#ab9eda48af64532a24d04a9ae0d9c3dc3',1,'SX1277::begin()'],['../class_s_x1276.html#ac0f792c2fee6aac9b554104c5b1e5ae7',1,'SX1276::begin()'],['../class_hell_client.html#a225775fe87f9ed3c3a04142697641242',1,'HellClient::begin()'],['../class_s_x1273.html#a0fb9d6c58e3576e22e1dda4a9b4a1db2',1,'SX1273::begin()'],['../class_a_f_s_k_client.html#a30b86bb7cd087b3bc3c45a011ba266c3',1,'AFSKClient::begin()'],['../class_r_t_t_y_client.html#ae0b25083baf01469786b6242389298fa',1,'RTTYClient::begin()'],['../class_s_x127x.html#aeac64ca102a143624993cb7cb5b9e17c',1,'SX127x::begin()'],['../class_f_s_k4_client.html#a2b366b8f3c08f81431d8cc5f907652e9',1,'FSK4Client::begin()'],['../class_bell_client.html#add9edc89cd6ff5c527ddbdabe79cb60f',1,'BellClient::begin()'],['../class_s_x1278.html#a867a336ae900f4a221d42b4c807122cf',1,'SX1278::begin()'],['../class_morse_client.html#a516f19bb51b87ead7f7ed149f2ca92cf',1,'MorseClient::begin()'],['../class_s_s_t_v_client.html#afd4257e858a88e5847854a46f166a9b0',1,'SSTVClient::begin()'],['../class_s_x1268.html#ad9e92b39ae0fdfa47131ddf7adb92b71',1,'SX1268::begin()'],['../class_a_x25_client.html#aadeefb210a0b5170d4e8d281c2257e73',1,'AX25Client::begin()'],['../class_s_s_t_v_client.html#a3769dcdebf8b1fa01eb2d8bd2bb3815a',1,'SSTVClient::begin()'],['../class_a_p_r_s_client.html#a4d1468be141940a12fd3964957f79c1a',1,'APRSClient::begin()'],['../class_radio_lib_b_c_h.html#aba6f10d4ac2d40eb2222d1081a34c88b',1,'RadioLibBCH::begin()'],['../class_si4430.html#aaed612b8936609442042d8156e085d2c',1,'Si4430::begin()'],['../class_s_t_m32_w_lx.html#a4f2a9b5a72b5238d2014199d91094f84',1,'STM32WLx::begin()'],['../class_l_l_c_c68.html#aa835ee301567f7dac079b42a2055c38c',1,'LLCC68::begin()'],['../classn_r_f24.html#a0ef68849f812367432f5a3798f94b8ce',1,'nRF24::begin()'],['../class_si4432.html#a5efc3a08f91a411da011201dc128fb34',1,'Si4432::begin()'],['../class_si4431.html#a402223a49d5b1012b0bf58ce602e6ff3',1,'Si4431::begin()'],['../class_s_x126x.html#a936a40038e05740a528f2b53f8e17010',1,'SX126x::begin()'],['../class_r_f69.html#a637ea5386066f5608bcbb4266e5c1bd6',1,'RF69::begin()'],['../class_s_x1233.html#a10fa64ee432a56b50ea6bd42868693af',1,'SX1233::begin()'],['../class_l_r1110.html#a7656fe337a859388247708aa143d50af',1,'LR1110::begin()'],['../class_l_r11x0.html#a8dc6468762c36c30e9af262014e17942',1,'LR11x0::begin()'],['../class_si443x.html#a453eda5436dc4dfe0dad676dc3977752',1,'Si443x::begin()'],['../class_c_c1101.html#ad86f23bb3d113d20f6238a671f18b565',1,'CC1101::begin()'],['../class_s_x1262.html#a9ceab9913d102c2fd657a1a91afaf9cc',1,'SX1262::begin()'],['../class_s_x1272.html#ae7562fe74e7d97bf9cc52b5d63f608f9',1,'SX1272::begin()'],['../class_s_x1231.html#a8aa81f8cbe61c4941ac7e3c97a6f5244',1,'SX1231::begin()'],['../class_l_r1120.html#a0393071d4403d06c665f28c49e755382',1,'LR1120::begin()']]], + ['begin_16',['begin',['../class_pager_client.html#a1a1dc569f9b60b0ddd6ead7af5a8244f',1,'PagerClient::begin()'],['../class_s_x128x.html#a275a9a86934124eab4982ad52bf91aea',1,'SX128x::begin()'],['../class_s_x1279.html#a324a37dee0522f43692cd414141becc2',1,'SX1279::begin()'],['../class_s_x1277.html#ab9eda48af64532a24d04a9ae0d9c3dc3',1,'SX1277::begin()'],['../class_s_x1276.html#ac0f792c2fee6aac9b554104c5b1e5ae7',1,'SX1276::begin()'],['../class_hell_client.html#a225775fe87f9ed3c3a04142697641242',1,'HellClient::begin()'],['../class_s_x1273.html#a0fb9d6c58e3576e22e1dda4a9b4a1db2',1,'SX1273::begin()'],['../class_a_f_s_k_client.html#a30b86bb7cd087b3bc3c45a011ba266c3',1,'AFSKClient::begin()'],['../class_r_t_t_y_client.html#ae0b25083baf01469786b6242389298fa',1,'RTTYClient::begin()'],['../class_s_x127x.html#aeac64ca102a143624993cb7cb5b9e17c',1,'SX127x::begin()'],['../class_f_s_k4_client.html#a2b366b8f3c08f81431d8cc5f907652e9',1,'FSK4Client::begin()'],['../class_bell_client.html#add9edc89cd6ff5c527ddbdabe79cb60f',1,'BellClient::begin()'],['../class_s_x1278.html#a867a336ae900f4a221d42b4c807122cf',1,'SX1278::begin()'],['../class_morse_client.html#a516f19bb51b87ead7f7ed149f2ca92cf',1,'MorseClient::begin()'],['../class_s_s_t_v_client.html#afd4257e858a88e5847854a46f166a9b0',1,'SSTVClient::begin()'],['../class_s_x1268.html#ad9e92b39ae0fdfa47131ddf7adb92b71',1,'SX1268::begin()'],['../class_a_x25_client.html#aadeefb210a0b5170d4e8d281c2257e73',1,'AX25Client::begin()'],['../class_s_s_t_v_client.html#a3769dcdebf8b1fa01eb2d8bd2bb3815a',1,'SSTVClient::begin()'],['../class_a_p_r_s_client.html#a4d1468be141940a12fd3964957f79c1a',1,'APRSClient::begin()'],['../class_radio_lib_b_c_h.html#aba6f10d4ac2d40eb2222d1081a34c88b',1,'RadioLibBCH::begin()'],['../class_si4430.html#aaed612b8936609442042d8156e085d2c',1,'Si4430::begin()'],['../class_s_t_m32_w_lx.html#a4f2a9b5a72b5238d2014199d91094f84',1,'STM32WLx::begin()'],['../class_l_l_c_c68.html#aa835ee301567f7dac079b42a2055c38c',1,'LLCC68::begin()'],['../classn_r_f24.html#a0ef68849f812367432f5a3798f94b8ce',1,'nRF24::begin()'],['../class_si4432.html#a5efc3a08f91a411da011201dc128fb34',1,'Si4432::begin()'],['../class_si4431.html#a402223a49d5b1012b0bf58ce602e6ff3',1,'Si4431::begin()'],['../class_s_x126x.html#a936a40038e05740a528f2b53f8e17010',1,'SX126x::begin()'],['../class_r_f69.html#a637ea5386066f5608bcbb4266e5c1bd6',1,'RF69::begin()'],['../class_s_x1233.html#a10fa64ee432a56b50ea6bd42868693af',1,'SX1233::begin()'],['../class_l_r1110.html#a7656fe337a859388247708aa143d50af',1,'LR1110::begin()'],['../class_l_r11x0.html#aa2b69f68ff6171b11a1141c8615240fd',1,'LR11x0::begin()'],['../class_si443x.html#a453eda5436dc4dfe0dad676dc3977752',1,'Si443x::begin()'],['../class_c_c1101.html#ad86f23bb3d113d20f6238a671f18b565',1,'CC1101::begin()'],['../class_s_x1262.html#a9ceab9913d102c2fd657a1a91afaf9cc',1,'SX1262::begin()'],['../class_s_x1272.html#ae7562fe74e7d97bf9cc52b5d63f608f9',1,'SX1272::begin()'],['../class_s_x1231.html#a8aa81f8cbe61c4941ac7e3c97a6f5244',1,'SX1231::begin()'],['../class_l_r1120.html#a0393071d4403d06c665f28c49e755382',1,'LR1120::begin()']]], ['beginabp_17',['beginABP',['../class_lo_ra_w_a_n_node.html#a47490d133066cb94887c11ddd0f0dfd3',1,'LoRaWANNode']]], ['beginble_18',['beginBLE',['../class_s_x128x.html#ace5ede905bf85aada0c61b9cfaaea127',1,'SX128x']]], ['beginflrc_19',['beginFLRC',['../class_s_x128x.html#a2c4a24623c5fd27b3cc937e55783d709',1,'SX128x']]], diff --git a/search/all_10.js b/search/all_10.js index f082b22a..4a88580a 100644 --- a/search/all_10.js +++ b/search/all_10.js @@ -24,7 +24,7 @@ var searchData= ['setafcbandwidth_474',['setAFCBandwidth',['../class_s_x127x.html#a63e00b1ecf1b0dcb6d8a91fc9b8ea5ef',1,'SX127x']]], ['setambienttemperature_475',['setAmbientTemperature',['../class_r_f69.html#ac37d9ddee2adcc8876a182b8ebc3e703',1,'RF69']]], ['setautoack_476',['setAutoAck',['../classn_r_f24.html#aca941c9235ba1212257288554eb4b7fe',1,'nRF24::setAutoAck(bool autoAckOn=true)'],['../classn_r_f24.html#ac1c3419442d93abeede39e7fda4db62e',1,'nRF24::setAutoAck(uint8_t pipeNum, bool autoAckOn)']]], - ['setbandwidth_477',['setBandwidth',['../class_s_x126x.html#a2f60df59c80241d98ce078c0417a7f08',1,'SX126x::setBandwidth()'],['../class_l_l_c_c68.html#a6f6c206657304809ee30bd9761ef79bf',1,'LLCC68::setBandwidth()'],['../class_l_r11x0.html#abf961ec7d93feb6472f26b7b976ee0c9',1,'LR11x0::setBandwidth()'],['../class_s_x1278.html#a46c27ed1ebaae4e3ed8afe3ae6941dd6',1,'SX1278::setBandwidth()'],['../class_s_x128x.html#ae93c99c85deb950fe9bc7101142b5f6a',1,'SX128x::setBandwidth()'],['../class_s_x1272.html#a0cc8eeb00241031796fc73b08711469b',1,'SX1272::setBandwidth()']]], + ['setbandwidth_477',['setBandwidth',['../class_s_x126x.html#a2f60df59c80241d98ce078c0417a7f08',1,'SX126x::setBandwidth()'],['../class_l_l_c_c68.html#a6f6c206657304809ee30bd9761ef79bf',1,'LLCC68::setBandwidth()'],['../class_l_r11x0.html#a70d9849eb8e5ce2090e4e332252753d7',1,'LR11x0::setBandwidth()'],['../class_s_x1278.html#a46c27ed1ebaae4e3ed8afe3ae6941dd6',1,'SX1278::setBandwidth()'],['../class_s_x128x.html#ae93c99c85deb950fe9bc7101142b5f6a',1,'SX128x::setBandwidth()'],['../class_s_x1272.html#a0cc8eeb00241031796fc73b08711469b',1,'SX1272::setBandwidth()']]], ['setbitrate_478',['setBitRate',['../class_physical_layer.html#aedd39ad84b45c6392087b12d59192d8c',1,'PhysicalLayer::setBitRate()'],['../class_s_x128x.html#ad6570f33bae09bc8b7617f9da39033ac',1,'SX128x::setBitRate()'],['../class_s_x1278.html#afd6df07fc4972cc656f05670e6802f67',1,'SX1278::setBitRate()'],['../class_s_x1272.html#ab5c9a79d72996c3d793cee812b0aded5',1,'SX1272::setBitRate()'],['../class_s_x126x.html#ac38a19db6b8b9aff438d6e23051d487d',1,'SX126x::setBitRate()'],['../class_si443x.html#afcba86e79d229b3fd7268dcbd7c47b62',1,'Si443x::setBitRate()'],['../class_r_f69.html#aa3bfb830901728e9a3c140036aa91c56',1,'RF69::setBitRate()'],['../classn_r_f24.html#a760d3f47f58ddacdf41975447484a47c',1,'nRF24::setBitRate()'],['../class_l_r11x0.html#ab1954e4733a7fbea4129d9a2de2285d9',1,'LR11x0::setBitRate()'],['../class_c_c1101.html#a6fd22cdec29e1e34a92aa9854b90fdc9',1,'CC1101::setBitRate()'],['../class_s_x1233.html#a98e0248cfcca7158261f7ebb31e0aa9f',1,'SX1233::setBitRate()']]], ['setbitratetolerance_479',['setBitRateTolerance',['../class_c_c1101.html#adc76af01dbc9171b3fdd7570624a4d4f',1,'CC1101']]], ['setbroadcastaddress_480',['setBroadcastAddress',['../class_s_x126x.html#abd8eea7e468db3d6064c19d4934d5034',1,'SX126x::setBroadcastAddress()'],['../class_s_x127x.html#abc51ce6718153e4963128f25bb5aab40',1,'SX127x::setBroadcastAddress()'],['../class_r_f69.html#a1b7598b87ffaabdbe733c47317fa91d8',1,'RF69::setBroadcastAddress()'],['../class_l_r11x0.html#af24ba794f71c4e37cd13d2f4dbec5bf7',1,'LR11x0::setBroadcastAddress()']]], diff --git a/search/functions_1.js b/search/functions_1.js index b7791980..c45e0795 100644 --- a/search/functions_1.js +++ b/search/functions_1.js @@ -1,6 +1,6 @@ var searchData= [ - ['begin_771',['begin',['../class_bell_client.html#add9edc89cd6ff5c527ddbdabe79cb60f',1,'BellClient::begin()'],['../class_s_x1276.html#ac0f792c2fee6aac9b554104c5b1e5ae7',1,'SX1276::begin()'],['../class_s_x1277.html#ab9eda48af64532a24d04a9ae0d9c3dc3',1,'SX1277::begin()'],['../class_s_x1278.html#a867a336ae900f4a221d42b4c807122cf',1,'SX1278::begin()'],['../class_s_x1279.html#a324a37dee0522f43692cd414141becc2',1,'SX1279::begin()'],['../class_s_x127x.html#aeac64ca102a143624993cb7cb5b9e17c',1,'SX127x::begin()'],['../class_s_x128x.html#a275a9a86934124eab4982ad52bf91aea',1,'SX128x::begin()'],['../class_a_f_s_k_client.html#a30b86bb7cd087b3bc3c45a011ba266c3',1,'AFSKClient::begin()'],['../class_a_p_r_s_client.html#a4d1468be141940a12fd3964957f79c1a',1,'APRSClient::begin()'],['../class_a_x25_client.html#aadeefb210a0b5170d4e8d281c2257e73',1,'AX25Client::begin()'],['../class_l_l_c_c68.html#aa835ee301567f7dac079b42a2055c38c',1,'LLCC68::begin()'],['../class_f_s_k4_client.html#a2b366b8f3c08f81431d8cc5f907652e9',1,'FSK4Client::begin()'],['../class_hell_client.html#a225775fe87f9ed3c3a04142697641242',1,'HellClient::begin()'],['../class_morse_client.html#a516f19bb51b87ead7f7ed149f2ca92cf',1,'MorseClient::begin()'],['../class_pager_client.html#a1a1dc569f9b60b0ddd6ead7af5a8244f',1,'PagerClient::begin()'],['../class_r_t_t_y_client.html#ae0b25083baf01469786b6242389298fa',1,'RTTYClient::begin()'],['../class_s_s_t_v_client.html#a3769dcdebf8b1fa01eb2d8bd2bb3815a',1,'SSTVClient::begin(float base, const SSTVMode_t &mode)'],['../class_s_s_t_v_client.html#afd4257e858a88e5847854a46f166a9b0',1,'SSTVClient::begin(const SSTVMode_t &mode)'],['../class_radio_lib_b_c_h.html#aba6f10d4ac2d40eb2222d1081a34c88b',1,'RadioLibBCH::begin()'],['../class_s_x1272.html#ae7562fe74e7d97bf9cc52b5d63f608f9',1,'SX1272::begin()'],['../class_s_x1273.html#a0fb9d6c58e3576e22e1dda4a9b4a1db2',1,'SX1273::begin()'],['../class_c_c1101.html#ad86f23bb3d113d20f6238a671f18b565',1,'CC1101::begin()'],['../class_l_r1110.html#a7656fe337a859388247708aa143d50af',1,'LR1110::begin()'],['../class_l_r1120.html#a0393071d4403d06c665f28c49e755382',1,'LR1120::begin()'],['../class_l_r11x0.html#a8dc6468762c36c30e9af262014e17942',1,'LR11x0::begin()'],['../classn_r_f24.html#a0ef68849f812367432f5a3798f94b8ce',1,'nRF24::begin()'],['../class_r_f69.html#a637ea5386066f5608bcbb4266e5c1bd6',1,'RF69::begin()'],['../class_si4430.html#aaed612b8936609442042d8156e085d2c',1,'Si4430::begin()'],['../class_si4431.html#a402223a49d5b1012b0bf58ce602e6ff3',1,'Si4431::begin()'],['../class_si4432.html#a5efc3a08f91a411da011201dc128fb34',1,'Si4432::begin()'],['../class_si443x.html#a453eda5436dc4dfe0dad676dc3977752',1,'Si443x::begin()'],['../class_s_x1231.html#a8aa81f8cbe61c4941ac7e3c97a6f5244',1,'SX1231::begin()'],['../class_s_x1233.html#a10fa64ee432a56b50ea6bd42868693af',1,'SX1233::begin()'],['../class_s_t_m32_w_lx.html#a4f2a9b5a72b5238d2014199d91094f84',1,'STM32WLx::begin()'],['../class_s_x1262.html#a9ceab9913d102c2fd657a1a91afaf9cc',1,'SX1262::begin()'],['../class_s_x1268.html#ad9e92b39ae0fdfa47131ddf7adb92b71',1,'SX1268::begin()'],['../class_s_x126x.html#a936a40038e05740a528f2b53f8e17010',1,'SX126x::begin()']]], + ['begin_771',['begin',['../class_bell_client.html#add9edc89cd6ff5c527ddbdabe79cb60f',1,'BellClient::begin()'],['../class_s_x1276.html#ac0f792c2fee6aac9b554104c5b1e5ae7',1,'SX1276::begin()'],['../class_s_x1277.html#ab9eda48af64532a24d04a9ae0d9c3dc3',1,'SX1277::begin()'],['../class_s_x1278.html#a867a336ae900f4a221d42b4c807122cf',1,'SX1278::begin()'],['../class_s_x1279.html#a324a37dee0522f43692cd414141becc2',1,'SX1279::begin()'],['../class_s_x127x.html#aeac64ca102a143624993cb7cb5b9e17c',1,'SX127x::begin()'],['../class_s_x128x.html#a275a9a86934124eab4982ad52bf91aea',1,'SX128x::begin()'],['../class_a_f_s_k_client.html#a30b86bb7cd087b3bc3c45a011ba266c3',1,'AFSKClient::begin()'],['../class_a_p_r_s_client.html#a4d1468be141940a12fd3964957f79c1a',1,'APRSClient::begin()'],['../class_a_x25_client.html#aadeefb210a0b5170d4e8d281c2257e73',1,'AX25Client::begin()'],['../class_l_l_c_c68.html#aa835ee301567f7dac079b42a2055c38c',1,'LLCC68::begin()'],['../class_f_s_k4_client.html#a2b366b8f3c08f81431d8cc5f907652e9',1,'FSK4Client::begin()'],['../class_hell_client.html#a225775fe87f9ed3c3a04142697641242',1,'HellClient::begin()'],['../class_morse_client.html#a516f19bb51b87ead7f7ed149f2ca92cf',1,'MorseClient::begin()'],['../class_pager_client.html#a1a1dc569f9b60b0ddd6ead7af5a8244f',1,'PagerClient::begin()'],['../class_r_t_t_y_client.html#ae0b25083baf01469786b6242389298fa',1,'RTTYClient::begin()'],['../class_s_s_t_v_client.html#a3769dcdebf8b1fa01eb2d8bd2bb3815a',1,'SSTVClient::begin(float base, const SSTVMode_t &mode)'],['../class_s_s_t_v_client.html#afd4257e858a88e5847854a46f166a9b0',1,'SSTVClient::begin(const SSTVMode_t &mode)'],['../class_radio_lib_b_c_h.html#aba6f10d4ac2d40eb2222d1081a34c88b',1,'RadioLibBCH::begin()'],['../class_s_x1272.html#ae7562fe74e7d97bf9cc52b5d63f608f9',1,'SX1272::begin()'],['../class_s_x1273.html#a0fb9d6c58e3576e22e1dda4a9b4a1db2',1,'SX1273::begin()'],['../class_c_c1101.html#ad86f23bb3d113d20f6238a671f18b565',1,'CC1101::begin()'],['../class_l_r1110.html#a7656fe337a859388247708aa143d50af',1,'LR1110::begin()'],['../class_l_r1120.html#a0393071d4403d06c665f28c49e755382',1,'LR1120::begin()'],['../class_l_r11x0.html#aa2b69f68ff6171b11a1141c8615240fd',1,'LR11x0::begin()'],['../classn_r_f24.html#a0ef68849f812367432f5a3798f94b8ce',1,'nRF24::begin()'],['../class_r_f69.html#a637ea5386066f5608bcbb4266e5c1bd6',1,'RF69::begin()'],['../class_si4430.html#aaed612b8936609442042d8156e085d2c',1,'Si4430::begin()'],['../class_si4431.html#a402223a49d5b1012b0bf58ce602e6ff3',1,'Si4431::begin()'],['../class_si4432.html#a5efc3a08f91a411da011201dc128fb34',1,'Si4432::begin()'],['../class_si443x.html#a453eda5436dc4dfe0dad676dc3977752',1,'Si443x::begin()'],['../class_s_x1231.html#a8aa81f8cbe61c4941ac7e3c97a6f5244',1,'SX1231::begin()'],['../class_s_x1233.html#a10fa64ee432a56b50ea6bd42868693af',1,'SX1233::begin()'],['../class_s_t_m32_w_lx.html#a4f2a9b5a72b5238d2014199d91094f84',1,'STM32WLx::begin()'],['../class_s_x1262.html#a9ceab9913d102c2fd657a1a91afaf9cc',1,'SX1262::begin()'],['../class_s_x1268.html#ad9e92b39ae0fdfa47131ddf7adb92b71',1,'SX1268::begin()'],['../class_s_x126x.html#a936a40038e05740a528f2b53f8e17010',1,'SX126x::begin()']]], ['beginabp_772',['beginABP',['../class_lo_ra_w_a_n_node.html#a47490d133066cb94887c11ddd0f0dfd3',1,'LoRaWANNode']]], ['beginble_773',['beginBLE',['../class_s_x128x.html#ace5ede905bf85aada0c61b9cfaaea127',1,'SX128x']]], ['beginflrc_774',['beginFLRC',['../class_s_x128x.html#a2c4a24623c5fd27b3cc937e55783d709',1,'SX128x']]], diff --git a/search/functions_f.js b/search/functions_f.js index ac0d2d71..5ba172f5 100644 --- a/search/functions_f.js +++ b/search/functions_f.js @@ -19,7 +19,7 @@ var searchData= ['setafcbandwidth_945',['setAFCBandwidth',['../class_s_x127x.html#a63e00b1ecf1b0dcb6d8a91fc9b8ea5ef',1,'SX127x']]], ['setambienttemperature_946',['setAmbientTemperature',['../class_r_f69.html#ac37d9ddee2adcc8876a182b8ebc3e703',1,'RF69']]], ['setautoack_947',['setAutoAck',['../classn_r_f24.html#aca941c9235ba1212257288554eb4b7fe',1,'nRF24::setAutoAck(bool autoAckOn=true)'],['../classn_r_f24.html#ac1c3419442d93abeede39e7fda4db62e',1,'nRF24::setAutoAck(uint8_t pipeNum, bool autoAckOn)']]], - ['setbandwidth_948',['setBandwidth',['../class_s_x126x.html#a2f60df59c80241d98ce078c0417a7f08',1,'SX126x::setBandwidth()'],['../class_s_x128x.html#ae93c99c85deb950fe9bc7101142b5f6a',1,'SX128x::setBandwidth()'],['../class_s_x1278.html#a46c27ed1ebaae4e3ed8afe3ae6941dd6',1,'SX1278::setBandwidth()'],['../class_s_x1272.html#a0cc8eeb00241031796fc73b08711469b',1,'SX1272::setBandwidth()'],['../class_l_l_c_c68.html#a6f6c206657304809ee30bd9761ef79bf',1,'LLCC68::setBandwidth()'],['../class_l_r11x0.html#abf961ec7d93feb6472f26b7b976ee0c9',1,'LR11x0::setBandwidth()']]], + ['setbandwidth_948',['setBandwidth',['../class_s_x126x.html#a2f60df59c80241d98ce078c0417a7f08',1,'SX126x::setBandwidth()'],['../class_s_x128x.html#ae93c99c85deb950fe9bc7101142b5f6a',1,'SX128x::setBandwidth()'],['../class_s_x1278.html#a46c27ed1ebaae4e3ed8afe3ae6941dd6',1,'SX1278::setBandwidth()'],['../class_s_x1272.html#a0cc8eeb00241031796fc73b08711469b',1,'SX1272::setBandwidth()'],['../class_l_l_c_c68.html#a6f6c206657304809ee30bd9761ef79bf',1,'LLCC68::setBandwidth()'],['../class_l_r11x0.html#a70d9849eb8e5ce2090e4e332252753d7',1,'LR11x0::setBandwidth()']]], ['setbitrate_949',['setBitRate',['../class_c_c1101.html#a6fd22cdec29e1e34a92aa9854b90fdc9',1,'CC1101::setBitRate()'],['../class_l_r11x0.html#ab1954e4733a7fbea4129d9a2de2285d9',1,'LR11x0::setBitRate()'],['../classn_r_f24.html#a760d3f47f58ddacdf41975447484a47c',1,'nRF24::setBitRate()'],['../class_r_f69.html#aa3bfb830901728e9a3c140036aa91c56',1,'RF69::setBitRate()'],['../class_si443x.html#afcba86e79d229b3fd7268dcbd7c47b62',1,'Si443x::setBitRate()'],['../class_s_x1233.html#a98e0248cfcca7158261f7ebb31e0aa9f',1,'SX1233::setBitRate()'],['../class_s_x126x.html#ac38a19db6b8b9aff438d6e23051d487d',1,'SX126x::setBitRate()'],['../class_s_x1272.html#ab5c9a79d72996c3d793cee812b0aded5',1,'SX1272::setBitRate()'],['../class_s_x1278.html#afd6df07fc4972cc656f05670e6802f67',1,'SX1278::setBitRate()'],['../class_s_x128x.html#ad6570f33bae09bc8b7617f9da39033ac',1,'SX128x::setBitRate()'],['../class_physical_layer.html#aedd39ad84b45c6392087b12d59192d8c',1,'PhysicalLayer::setBitRate()']]], ['setbitratetolerance_950',['setBitRateTolerance',['../class_c_c1101.html#adc76af01dbc9171b3fdd7570624a4d4f',1,'CC1101']]], ['setbroadcastaddress_951',['setBroadcastAddress',['../class_l_r11x0.html#af24ba794f71c4e37cd13d2f4dbec5bf7',1,'LR11x0::setBroadcastAddress()'],['../class_r_f69.html#a1b7598b87ffaabdbe733c47317fa91d8',1,'RF69::setBroadcastAddress()'],['../class_s_x126x.html#abd8eea7e468db3d6064c19d4934d5034',1,'SX126x::setBroadcastAddress()'],['../class_s_x127x.html#abc51ce6718153e4963128f25bb5aab40',1,'SX127x::setBroadcastAddress()']]],