lriot 2.1.0.0
lr1110_radio_types.h File Reference

Radio driver types for LR1110. More...

#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  lr1110_radio_cad_params_s
 Channel Activity Detection parameters. More...
 
struct  lr1110_radio_pkt_status_gfsk_s
 Status of GFSK received packet. More...
 
struct  lr1110_radio_pkt_status_lora_s
 Status of received packet. More...
 
struct  lr1110_radio_rx_buffer_status_s
 Length and offset of received packet. More...
 
struct  lr1110_radio_stats_gfsk_s
 GFSK packet statistic structure. More...
 
struct  lr1110_radio_stats_lora_s
 LoRa packet statistic structure. More...
 
struct  lr1110_radio_mod_params_gfsk_s
 Modulation configuration for GFSK packet. More...
 
struct  lr1110_radio_mod_params_lora_s
 Modulation configuration for LoRa packet. More...
 
struct  lr1110_radio_pkt_params_gfsk_s
 Packet parameter configuration for GFSK packets. More...
 
struct  lr1110_radio_pkt_params_lora_s
 Packet parameter configuration for LoRa packets. More...
 
struct  lr1110_radio_pa_cfg_s
 Configuration of Power Amplifier. More...
 

Typedefs

typedef struct lr1110_radio_cad_params_s lr1110_radio_cad_params_t
 Channel Activity Detection parameters.
 
typedef struct lr1110_radio_pkt_status_gfsk_s lr1110_radio_pkt_status_gfsk_t
 Status of GFSK received packet.
 
typedef struct lr1110_radio_pkt_status_lora_s lr1110_radio_pkt_status_lora_t
 Status of received packet.
 
typedef struct lr1110_radio_rx_buffer_status_s lr1110_radio_rx_buffer_status_t
 Length and offset of received packet.
 
typedef struct lr1110_radio_stats_gfsk_s lr1110_radio_stats_gfsk_t
 GFSK packet statistic structure.
 
typedef struct lr1110_radio_stats_lora_s lr1110_radio_stats_lora_t
 LoRa packet statistic structure.
 
typedef struct lr1110_radio_mod_params_gfsk_s lr1110_radio_mod_params_gfsk_t
 Modulation configuration for GFSK packet.
 
typedef struct lr1110_radio_mod_params_lora_s lr1110_radio_mod_params_lora_t
 Modulation configuration for LoRa packet.
 
typedef struct lr1110_radio_pkt_params_gfsk_s lr1110_radio_pkt_params_gfsk_t
 Packet parameter configuration for GFSK packets.
 
typedef struct lr1110_radio_pkt_params_lora_s lr1110_radio_pkt_params_lora_t
 Packet parameter configuration for LoRa packets.
 
typedef struct lr1110_radio_pa_cfg_s lr1110_radio_pa_cfg_t
 Configuration of Power Amplifier.
 

Enumerations

enum  lr1110_radio_pa_selection_t { LR1110_RADIO_PA_SEL_LP = 0x00 , LR1110_RADIO_PA_SEL_HP = 0x01 , LR1110_RADIO_PA_SEL_HF = 0x02 }
 Power Amplifier Selection values. More...
 
enum  lr1110_radio_gfsk_address_filtering_t { LR1110_RADIO_GFSK_ADDRESS_FILTERING_DISABLE = 0x00 , LR1110_RADIO_GFSK_ADDRESS_FILTERING_NODE_ADDRESS = 0x01 , LR1110_RADIO_GFSK_ADDRESS_FILTERING_NODE_AND_BROADCAST_ADDRESSES }
 GFSK Address Filtering configurations. More...
 
enum  lr1110_radio_fallback_modes_t { LR1110_RADIO_FALLBACK_STDBY_RC = 0x01 , LR1110_RADIO_FALLBACK_STDBY_XOSC = 0x02 , LR1110_RADIO_FALLBACK_FS = 0x03 }
 Chip mode after successfull transmission or reception. More...
 
enum  lr1110_radio_ramp_time_t {
  LR1110_RADIO_RAMP_16_US = 0x00 , LR1110_RADIO_RAMP_32_US = 0x01 , LR1110_RADIO_RAMP_48_US = 0x02 , LR1110_RADIO_RAMP_64_US = 0x03 ,
  LR1110_RADIO_RAMP_80_US = 0x04 , LR1110_RADIO_RAMP_96_US = 0x05 , LR1110_RADIO_RAMP_112_US = 0x06 , LR1110_RADIO_RAMP_128_US = 0x07 ,
  LR1110_RADIO_RAMP_144_US = 0x08 , LR1110_RADIO_RAMP_160_US = 0x09 , LR1110_RADIO_RAMP_176_US = 0x0A , LR1110_RADIO_RAMP_192_US = 0x0B ,
  LR1110_RADIO_RAMP_208_US = 0x0C , LR1110_RADIO_RAMP_240_US = 0x0D , LR1110_RADIO_RAMP_272_US = 0x0E , LR1110_RADIO_RAMP_304_US = 0x0F
}
 Ramping time for PA. More...
 
enum  lr1110_radio_lora_network_type_t { LR1110_RADIO_LORA_NETWORK_PRIVATE = 0x00 , LR1110_RADIO_LORA_NETWORK_PUBLIC = 0x01 }
 LoRa network type configuration. More...
 
enum  lr1110_radio_lora_sf_t {
  LR1110_RADIO_LORA_SF5 = 0x05 , LR1110_RADIO_LORA_SF6 = 0x06 , LR1110_RADIO_LORA_SF7 = 0x07 , LR1110_RADIO_LORA_SF8 = 0x08 ,
  LR1110_RADIO_LORA_SF9 = 0x09 , LR1110_RADIO_LORA_SF10 = 0x0A , LR1110_RADIO_LORA_SF11 = 0x0B , LR1110_RADIO_LORA_SF12 = 0x0C
}
 LoRa Spreading Factor configurations. More...
 
enum  lr1110_radio_lora_bw_t {
  LR1110_RADIO_LORA_BW_10 = 0x08 , LR1110_RADIO_LORA_BW_15 = 0x01 , LR1110_RADIO_LORA_BW_20 = 0x09 , LR1110_RADIO_LORA_BW_31 = 0x02 ,
  LR1110_RADIO_LORA_BW_41 = 0x0A , LR1110_RADIO_LORA_BW_62 = 0x03 , LR1110_RADIO_LORA_BW_125 = 0x04 , LR1110_RADIO_LORA_BW_250 = 0x05 ,
  LR1110_RADIO_LORA_BW_500 = 0x06
}
 LoRa Bandwidth configurations. More...
 
enum  lr1110_radio_lora_cr_t {
  LR1110_RADIO_LORA_NO_CR = 0x00 , LR1110_RADIO_LORA_CR_4_5 = 0x01 , LR1110_RADIO_LORA_CR_4_6 = 0x02 , LR1110_RADIO_LORA_CR_4_7 = 0x03 ,
  LR1110_RADIO_LORA_CR_4_8 = 0x04 , LR1110_RADIO_LORA_CR_LI_4_5 = 0x05 , LR1110_RADIO_LORA_CR_LI_4_6 = 0x06 , LR1110_RADIO_LORA_CR_LI_4_8 = 0x07
}
 LoRa Coding Rate configurations. More...
 
enum  lr1110_radio_intermediary_mode_t { LR1110_RADIO_MODE_SLEEP = 0x00 , LR1110_RADIO_MODE_STANDBY_RC = 0x01 , LR1110_RADIO_MODE_STANDBY_XOSC = 0x02 , LR1110_RADIO_MODE_FS = 0x03 }
 Values for intermediary mode. More...
 
enum  lr1110_radio_gfsk_crc_type_t {
  LR1110_RADIO_GFSK_CRC_OFF = 0x01 , LR1110_RADIO_GFSK_CRC_1_BYTE = 0x00 , LR1110_RADIO_GFSK_CRC_2_BYTES = 0x02 , LR1110_RADIO_GFSK_CRC_1_BYTE_INV = 0x04 ,
  LR1110_RADIO_GFSK_CRC_2_BYTES_INV = 0x06
}
 GFSK Cyclic Redundancy Check configurations. More...
 
enum  lr1110_radio_gfsk_dc_free_t { LR1110_RADIO_GFSK_DC_FREE_OFF = 0x00 , LR1110_RADIO_GFSK_DC_FREE_WHITENING = 0x01 }
 GFSK Scrambling configurations. More...
 
enum  lr1110_radio_gfsk_pkt_len_modes_t { LR1110_RADIO_GFSK_PKT_FIX_LEN = 0x00 , LR1110_RADIO_GFSK_PKT_VAR_LEN = 0x01 }
 GFSK Header Type configurations. More...
 
enum  lr1110_radio_gfsk_preamble_detector_t {
  LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_OFF = 0x00 , LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_MIN_8BITS = 0x04 , LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_MIN_16BITS = 0x05 , LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_MIN_24BITS = 0x06 ,
  LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_MIN_32BITS = 0x07
}
 GFSK Preamble Detector Length configurations. More...
 
enum  lr1110_radio_lora_crc_t { LR1110_RADIO_LORA_CRC_OFF = 0x00 , LR1110_RADIO_LORA_CRC_ON = 0x01 }
 LoRa Cyclic Redundancy Check configurations. More...
 
enum  lr1110_radio_lora_pkt_len_modes_t { LR1110_RADIO_LORA_PKT_EXPLICIT = 0x00 , LR1110_RADIO_LORA_PKT_IMPLICIT = 0x01 }
 LoRa Header type configurations. More...
 
enum  lr1110_radio_lora_iq_t { LR1110_RADIO_LORA_IQ_STANDARD = 0x00 , LR1110_RADIO_LORA_IQ_INVERTED = 0x01 }
 LoRa IQ mode configurations. More...
 
enum  lr1110_radio_pkt_type_t { LR1110_RADIO_PKT_NONE = 0x00 , LR1110_RADIO_PKT_TYPE_GFSK = 0x01 , LR1110_RADIO_PKT_TYPE_LORA = 0x02 }
 Packet type values. More...
 
enum  lr1110_radio_pa_reg_supply_t { LR1110_RADIO_PA_REG_SUPPLY_VREG = 0x00 , LR1110_RADIO_PA_REG_SUPPLY_VBAT = 0x01 }
 Select power amplifier supply source. More...
 
enum  lr1110_radio_rx_duty_cycle_mode_t { LR1110_RADIO_RX_DUTY_CYCLE_MODE_RX = 0x00 , LR1110_RADIO_RX_DUTY_CYCLE_MODE_CAD = 0x01 }
 RX Duty Cycle Modes. More...
 
enum  lr1110_radio_gfsk_bw_t {
  LR1110_RADIO_GFSK_BW_4800 = 0x1F , LR1110_RADIO_GFSK_BW_5800 = 0x17 , LR1110_RADIO_GFSK_BW_7300 = 0x0F , LR1110_RADIO_GFSK_BW_9700 = 0x1E ,
  LR1110_RADIO_GFSK_BW_11700 = 0x16 , LR1110_RADIO_GFSK_BW_14600 = 0x0E , LR1110_RADIO_GFSK_BW_19500 = 0x1D , LR1110_RADIO_GFSK_BW_23400 = 0x15 ,
  LR1110_RADIO_GFSK_BW_29300 = 0x0D , LR1110_RADIO_GFSK_BW_39000 = 0x1C , LR1110_RADIO_GFSK_BW_46900 = 0x14 , LR1110_RADIO_GFSK_BW_58600 = 0x0C ,
  LR1110_RADIO_GFSK_BW_78200 = 0x1B , LR1110_RADIO_GFSK_BW_93800 = 0x13 , LR1110_RADIO_GFSK_BW_117300 = 0x0B , LR1110_RADIO_GFSK_BW_156200 = 0x1A ,
  LR1110_RADIO_GFSK_BW_187200 = 0x12 , LR1110_RADIO_GFSK_BW_234300 = 0x0A , LR1110_RADIO_GFSK_BW_312000 = 0x19 , LR1110_RADIO_GFSK_BW_373600 = 0x11 ,
  LR1110_RADIO_GFSK_BW_467000 = 0x09
}
 GFSK Bandwidth configurations. More...
 
enum  lr1110_radio_cad_exit_mode_t { LR1110_RADIO_CAD_EXIT_MODE_STANDBYRC = 0x00 , LR1110_RADIO_CAD_EXIT_MODE_RX = 0x01 , LR1110_RADIO_CAD_EXIT_MODE_TX = 0x10 }
 Possible automatic actions when Channel Activity Detection operations terminate. More...
 
enum  lr1110_radio_gfsk_pulse_shape_t {
  LR1110_RADIO_GFSK_PULSE_SHAPE_OFF = 0x00 , LR1110_RADIO_GFSK_PULSE_SHAPE_BT_03 = 0x08 , LR1110_RADIO_GFSK_PULSE_SHAPE_BT_05 = 0x09 , LR1110_RADIO_GFSK_PULSE_SHAPE_BT_07 = 0x0A ,
  LR1110_RADIO_GFSK_PULSE_SHAPE_BT_1 = 0x0B
}
 Pulse shape configurations. More...
 

Detailed Description

Radio driver types for LR1110.

The Clear BSD License Copyright Semtech Corporation 2021. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the Semtech corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SEMTECH CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Typedef Documentation

◆ lr1110_radio_cad_params_t

Channel Activity Detection parameters.

Parameters detPeak and detMin are to be used for tuning the sensitivity of Channel Activity Detection. It depends on Spreading Factor, Bandwidth and symbolNum.

For detPeak, the 5 MSBits are encoding the integer part, the 3 LSBits are encoding 1/8 of the decimal part. For instance, $detPeak = 50$ (= 0x32) leads to a ratio being $6 + 2 * 1/8 = 6.25$.

detMin is unit free and represents the ratio between the minimal power of a correlation peak and measurement gain that can be considered as a peak detection. It helps to avoid detection on noise. Authorized values a from 0 to 181.

◆ lr1110_radio_mod_params_gfsk_t

Modulation configuration for GFSK packet.

◆ lr1110_radio_mod_params_lora_t

Modulation configuration for LoRa packet.

◆ lr1110_radio_pa_cfg_t

Configuration of Power Amplifier.

pa_duty_cycle controls the duty cycle of Power Amplifier according to: $ dutycycle = 0.2 + 0.04 \times pa_duty_cycle $ It can be used to adapt the TX multi-band operation using a single-matching network.

The allowed duty cycle values for LPA are from 0.2 to 0.48 (by step of 0.04). Therefore possible values for pa_duty_cycle go from 0 to 7.

The allowed duty cycle values for HPA go from 0.2 to 0.36 (by step of 0.04). Therefore in this case, the possible values for pa_duty_cycle go from 0 to 4.

pa_hp_sel controls the number of slices for HPA according to: $ \#slices = pa_hp_sel + 1 $

◆ lr1110_radio_pkt_params_gfsk_t

Packet parameter configuration for GFSK packets.

◆ lr1110_radio_pkt_params_lora_t

Packet parameter configuration for LoRa packets.

◆ lr1110_radio_pkt_status_gfsk_t

Status of GFSK received packet.

◆ lr1110_radio_pkt_status_lora_t

Status of received packet.

◆ lr1110_radio_rx_buffer_status_t

Length and offset of received packet.

◆ lr1110_radio_stats_gfsk_t

GFSK packet statistic structure.

◆ lr1110_radio_stats_lora_t

LoRa packet statistic structure.

Enumeration Type Documentation

◆ lr1110_radio_cad_exit_mode_t

Possible automatic actions when Channel Activity Detection operations terminate.

For RADIO_EXIT_MODE_CAD_RX, LR1110 enters RX mode on activity detected. The timeout value for this RX operation is defined as:

$ 31.25us \times timeout $

With $ timeout $ defined in RadioCadParams_t::timeout

If the CAD operation is negative with RADIO_CAD_EXIT_MODE_RX or if CAD operation is positive with RADIO_CAD_EXIT_MODE_TX, therefore the LR1110 enters Standby RC mode.

Enumerator
LR1110_RADIO_CAD_EXIT_MODE_STANDBYRC 

Enter standby RC mode after CAD operation.

LR1110_RADIO_CAD_EXIT_MODE_RX 

Enter in RX mode if an activity is detected.

LR1110_RADIO_CAD_EXIT_MODE_TX 

Enter in TX mode if no activity is detected.

◆ lr1110_radio_fallback_modes_t

Chip mode after successfull transmission or reception.

Unused for RX duty cycle and AutoTxRx operations

Enumerator
LR1110_RADIO_FALLBACK_STDBY_RC 

Standby RC (Default)

LR1110_RADIO_FALLBACK_STDBY_XOSC 

Standby XOSC.

LR1110_RADIO_FALLBACK_FS 

FS.

◆ lr1110_radio_gfsk_address_filtering_t

GFSK Address Filtering configurations.

If Address Filtering is enabled but a wrong address is received, therefore the reception is aborted and the address error flag of packet status is set.

Enumerator
LR1110_RADIO_GFSK_ADDRESS_FILTERING_DISABLE 

Filter deactivated.

LR1110_RADIO_GFSK_ADDRESS_FILTERING_NODE_ADDRESS 

Filter on Node Address.

LR1110_RADIO_GFSK_ADDRESS_FILTERING_NODE_AND_BROADCAST_ADDRESSES 

Filtering on Node and Broadcast addresses.

◆ lr1110_radio_gfsk_bw_t

GFSK Bandwidth configurations.

Enumerator
LR1110_RADIO_GFSK_BW_4800 

Bandwidth 4.8 kHz DSB.

LR1110_RADIO_GFSK_BW_5800 

Bandwidth 5.8 kHz DSB.

LR1110_RADIO_GFSK_BW_7300 

Bandwidth 7.3 kHz DSB.

LR1110_RADIO_GFSK_BW_9700 

Bandwidth 9.7 kHz DSB.

LR1110_RADIO_GFSK_BW_11700 

Bandwidth 11.7 kHz DSB.

LR1110_RADIO_GFSK_BW_14600 

Bandwidth 14.6 kHz DSB.

LR1110_RADIO_GFSK_BW_19500 

Bandwidth 19.5 kHz DSB.

LR1110_RADIO_GFSK_BW_23400 

Bandwidth 23.4 kHz DSB.

LR1110_RADIO_GFSK_BW_29300 

Bandwidth 29.3 kHz DSB.

LR1110_RADIO_GFSK_BW_39000 

Bandwidth 39.0 kHz DSB.

LR1110_RADIO_GFSK_BW_46900 

Bandwidth 46.9 kHz DSB.

LR1110_RADIO_GFSK_BW_58600 

Bandwidth 58.6 kHz DSB.

LR1110_RADIO_GFSK_BW_78200 

Bandwidth 78.2 kHz DSB.

LR1110_RADIO_GFSK_BW_93800 

Bandwidth 93.8 kHz DSB.

LR1110_RADIO_GFSK_BW_117300 

Bandwidth 117.3 kHz DSB.

LR1110_RADIO_GFSK_BW_156200 

Bandwidth 156.2 kHz DSB.

LR1110_RADIO_GFSK_BW_187200 

Bandwidth 187.2 kHz DSB.

LR1110_RADIO_GFSK_BW_234300 

Bandwidth 232.3 kHz DSB.

LR1110_RADIO_GFSK_BW_312000 

Bandwidth 312.0 kHz DSB.

LR1110_RADIO_GFSK_BW_373600 

Bandwidth 373.6 kHz DSB.

LR1110_RADIO_GFSK_BW_467000 

Bandwidth 467.0 kHz DSB.

◆ lr1110_radio_gfsk_crc_type_t

GFSK Cyclic Redundancy Check configurations.

If this value is set to something other than CRC_OFF, a CRC is automatically computed and added after the end of the payload on transmitter side. On receiver side, the CRC check is automatically processed.

Enumerator
LR1110_RADIO_GFSK_CRC_OFF 

CRC check deactivated.

LR1110_RADIO_GFSK_CRC_1_BYTE 
LR1110_RADIO_GFSK_CRC_2_BYTES 
LR1110_RADIO_GFSK_CRC_1_BYTE_INV 
LR1110_RADIO_GFSK_CRC_2_BYTES_INV 

◆ lr1110_radio_gfsk_dc_free_t

GFSK Scrambling configurations.

Enumerator
LR1110_RADIO_GFSK_DC_FREE_OFF 

Whitening deactivated.

LR1110_RADIO_GFSK_DC_FREE_WHITENING 

Whitening enabled.

◆ lr1110_radio_gfsk_pkt_len_modes_t

GFSK Header Type configurations.

This parameter indicates whether or not the payload length is sent and read over the air.

If the payload length is known beforehand by both transmitter and receiver, therefore there is no need to send it over the air. Otherwise, setting this parameter to LR1110_RADIO_GFSK_PKT_VAR_LEN will make the modem to automatically prepand a byte containing the payload length to the the payload on transmitter side. On receiver side, this first byte is read to set the payload length to read.

This configuration is only available for GFSK packet types.

Enumerator
LR1110_RADIO_GFSK_PKT_FIX_LEN 

Payload length is not sent/read over the air.

LR1110_RADIO_GFSK_PKT_VAR_LEN 

Payload length is sent/read over the air.

◆ lr1110_radio_gfsk_preamble_detector_t

GFSK Preamble Detector Length configurations.

This parameter sets the minimum length of preamble bits to be received to continue reception of incoming packet. If a packet with preamble length lower than this value is being received, the reception stops without generating IRQ.

This parameter has no impact on TX operations.

Enumerator
LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_OFF 
LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_MIN_8BITS 
LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_MIN_16BITS 
LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_MIN_24BITS 
LR1110_RADIO_GFSK_PREAMBLE_DETECTOR_MIN_32BITS 

◆ lr1110_radio_gfsk_pulse_shape_t

Pulse shape configurations.

Enumerator
LR1110_RADIO_GFSK_PULSE_SHAPE_OFF 

No filter applied.

LR1110_RADIO_GFSK_PULSE_SHAPE_BT_03 

Gaussian BT 0.3.

LR1110_RADIO_GFSK_PULSE_SHAPE_BT_05 

Gaussian BT 0.5.

LR1110_RADIO_GFSK_PULSE_SHAPE_BT_07 

Gaussian BT 0.7.

LR1110_RADIO_GFSK_PULSE_SHAPE_BT_1 

Gaussian BT 1.0.

◆ lr1110_radio_intermediary_mode_t

Values for intermediary mode.

Enumerator
LR1110_RADIO_MODE_SLEEP 

Sleep.

LR1110_RADIO_MODE_STANDBY_RC 

Standby RC.

LR1110_RADIO_MODE_STANDBY_XOSC 

Standby XOSC.

LR1110_RADIO_MODE_FS 

Frequency Synthesis.

◆ lr1110_radio_lora_bw_t

LoRa Bandwidth configurations.

Enumerator
LR1110_RADIO_LORA_BW_10 

Bandwidth 10.42 kHz.

LR1110_RADIO_LORA_BW_15 

Bandwidth 15.63 kHz.

LR1110_RADIO_LORA_BW_20 

Bandwidth 20.83 kHz.

LR1110_RADIO_LORA_BW_31 

Bandwidth 31.25 kHz.

LR1110_RADIO_LORA_BW_41 

Bandwidth 41.67 kHz.

LR1110_RADIO_LORA_BW_62 

Bandwidth 62.50 kHz.

LR1110_RADIO_LORA_BW_125 

Bandwidth 125.00 kHz.

LR1110_RADIO_LORA_BW_250 

Bandwidth 250.00 kHz.

LR1110_RADIO_LORA_BW_500 

Bandwidth 500.00 kHz.

◆ lr1110_radio_lora_cr_t

LoRa Coding Rate configurations.

Enumerator
LR1110_RADIO_LORA_NO_CR 

No Coding Rate.

LR1110_RADIO_LORA_CR_4_5 

Coding Rate 4/5 Short Interleaver.

LR1110_RADIO_LORA_CR_4_6 

Coding Rate 4/6 Short Interleaver.

LR1110_RADIO_LORA_CR_4_7 

Coding Rate 4/7 Short Interleaver.

LR1110_RADIO_LORA_CR_4_8 

Coding Rate 4/8 Short Interleaver.

LR1110_RADIO_LORA_CR_LI_4_5 

Coding Rate 4/5 Long Interleaver.

LR1110_RADIO_LORA_CR_LI_4_6 

Coding Rate 4/6 Long Interleaver.

LR1110_RADIO_LORA_CR_LI_4_8 

Coding Rate 4/8 Long Interleaver.

◆ lr1110_radio_lora_crc_t

LoRa Cyclic Redundancy Check configurations.

Enumerator
LR1110_RADIO_LORA_CRC_OFF 

CRC deactivated.

LR1110_RADIO_LORA_CRC_ON 

CRC activated.

◆ lr1110_radio_lora_iq_t

LoRa IQ mode configurations.

LoRa IQ modes are mutually exclusives: a physical packet sent with standard IQ will not be received by a receiver configured with inverted IQ.

Enumerator
LR1110_RADIO_LORA_IQ_STANDARD 

IQ standard.

LR1110_RADIO_LORA_IQ_INVERTED 

IQ inverted.

◆ lr1110_radio_lora_network_type_t

LoRa network type configuration.

Enumerator
LR1110_RADIO_LORA_NETWORK_PRIVATE 

LoRa private network.

LR1110_RADIO_LORA_NETWORK_PUBLIC 

LoRa public network.

◆ lr1110_radio_lora_pkt_len_modes_t

LoRa Header type configurations.

Enumerator
LR1110_RADIO_LORA_PKT_EXPLICIT 

Explicit header: transmitted over the air.

LR1110_RADIO_LORA_PKT_IMPLICIT 

Implicit header: not transmitted over the air.

◆ lr1110_radio_lora_sf_t

LoRa Spreading Factor configurations.

Enumerator
LR1110_RADIO_LORA_SF5 

Spreading Factor 5.

LR1110_RADIO_LORA_SF6 

Spreading Factor 6.

LR1110_RADIO_LORA_SF7 

Spreading Factor 7.

LR1110_RADIO_LORA_SF8 

Spreading Factor 8.

LR1110_RADIO_LORA_SF9 

Spreading Factor 9.

LR1110_RADIO_LORA_SF10 

Spreading Factor 10.

LR1110_RADIO_LORA_SF11 

Spreading Factor 11.

LR1110_RADIO_LORA_SF12 

Spreading Factor 12.

◆ lr1110_radio_pa_reg_supply_t

Select power amplifier supply source.

Enumerator
LR1110_RADIO_PA_REG_SUPPLY_VREG 

Power amplifier supplied by the main regulator.

LR1110_RADIO_PA_REG_SUPPLY_VBAT 

Power amplifier supplied by the battery.

◆ lr1110_radio_pa_selection_t

Power Amplifier Selection values.

  • Low-power Power Amplifier can reach up to 14dBm
  • High-power Power Amplifier can reach up to 22 dBm
Enumerator
LR1110_RADIO_PA_SEL_LP 

Low-power Power Amplifier.

LR1110_RADIO_PA_SEL_HP 

High-power Power Amplifier.

LR1110_RADIO_PA_SEL_HF 

High-frequency Power Amplifier.

◆ lr1110_radio_pkt_type_t

Packet type values.

Enumerator
LR1110_RADIO_PKT_NONE 

State after cold start, Wi-Fi or GNSS capture.

LR1110_RADIO_PKT_TYPE_GFSK 

GFSK modulation.

LR1110_RADIO_PKT_TYPE_LORA 

LoRa modulation.

◆ lr1110_radio_ramp_time_t

Ramping time for PA.

This parameter is the ramping time of the PA. A high value improves spectral quality.

Enumerator
LR1110_RADIO_RAMP_16_US 

16 us Ramp Time

LR1110_RADIO_RAMP_32_US 

32 us Ramp Time

LR1110_RADIO_RAMP_48_US 

48 us Ramp Time (Default)

LR1110_RADIO_RAMP_64_US 

64 us Ramp Time

LR1110_RADIO_RAMP_80_US 

80 us Ramp Time

LR1110_RADIO_RAMP_96_US 

96 us Ramp Time

LR1110_RADIO_RAMP_112_US 

112 us Ramp Time

LR1110_RADIO_RAMP_128_US 

128 us Ramp Time

LR1110_RADIO_RAMP_144_US 

144 us Ramp Time

LR1110_RADIO_RAMP_160_US 

160 us Ramp Time

LR1110_RADIO_RAMP_176_US 

176 us Ramp Time

LR1110_RADIO_RAMP_192_US 

192 us Ramp Time

LR1110_RADIO_RAMP_208_US 

208 us Ramp Time

LR1110_RADIO_RAMP_240_US 

240 us Ramp Time

LR1110_RADIO_RAMP_272_US 

272 us Ramp Time

LR1110_RADIO_RAMP_304_US 

304 us Ramp Time

◆ lr1110_radio_rx_duty_cycle_mode_t

RX Duty Cycle Modes.

Enumerator
LR1110_RADIO_RX_DUTY_CYCLE_MODE_RX 

LoRa/GFSK: Uses Rx for listening to packets.

LR1110_RADIO_RX_DUTY_CYCLE_MODE_CAD 

Only in LoRa: Uses CAD to listen for over-the-air activity.