lriot 2.1.0.0
lr1110_modem_lorawan_types.h File Reference

Modem lorawan types for LR1110. More...

#include <stdint.h>
#include <stdbool.h>
#include "modem/lr1110_modem_common.h"

Go to the source code of this file.

Data Structures

struct  lr1110_modem_event_fields_t
 modem event fields structure More...
 
struct  lr1110_modem_version_t
 LR1110 modem version structure. More...
 
struct  lr1110_modem_dm_info_fields_t
 DM info fields structure. More...
 
struct  lr1110_modem_stream_status_t
 stream status structure More...
 
struct  lr1110_modem_output_power_config_t
 Output Power Config structure. More...
 

Macros

#define LR1110_MODEM_CHIP_EUI_LENGTH   ( 8 )
 Length in bytes of a chip eui.
 
#define LR1110_MODEM_DEV_EUI_LENGTH   ( 8 )
 Length in bytes of a LoRaWAN device eui.
 
#define LR1110_MODEM_JOIN_EUI_LENGTH   ( 8 )
 Length in bytes of a LoRaWAN join eui.
 
#define LR1110_MODEM_APP_KEY_LENGTH   ( 16 )
 Length in bytes of a LoRaWAN application key.
 
#define LR1110_MODEM_REGIONS_NUMBER   ( 10 )
 Number of regions available.
 
#define LR1110_MODEM_NB_OUTPUT_POWER_CONFIG_BLOCKS   ( 6 )
 Number of output power config blocks.
 
#define LR1110_MODEM_OUTPUT_POWER_CONFIG_BLOCK_LENGTH   ( 5 )
 Power config block length.
 

Typedefs

typedef uint8_t lr1110_modem_chip_eui_t[LR1110_MODEM_CHIP_EUI_LENGTH]
 Chip EUI type.
 
typedef uint8_t lr1110_modem_join_eui_t[LR1110_MODEM_JOIN_EUI_LENGTH]
 Join EUI type.
 
typedef uint8_t lr1110_modem_dev_eui_t[LR1110_MODEM_DEV_EUI_LENGTH]
 Device EUI type.
 
typedef uint8_t lr1110_modem_app_key_t[LR1110_MODEM_APP_KEY_LENGTH]
 Application key type.
 
typedef lr1110_modem_regions_t lr1110_modem_regions_list_t[LR1110_MODEM_REGIONS_NUMBER]
 LoRaWAN list of regions type.
 
typedef lr1110_modem_output_power_config_t lr1110_modem_output_power_config_list_t[LR1110_MODEM_NB_OUTPUT_POWER_CONFIG_BLOCKS]
 Output power config type.
 

Enumerations

enum  lr1110_modem_radio_pa_selection_t { LR1110_MODEM_RADIO_PA_SEL_LP = 0x00 , LR1110_MODEM_RADIO_PA_SEL_HP = 0x01 , LR1110_MODEM_RADIO_PA_SEL_LP_HP_LF = 0x02 }
 Power Amplifier Selection values. More...
 
enum  lr1110_modem_functionality_t { LR1110_MODEM_FUNCTIONALITY_TRX = 0x01 , LR1110_MODEM_FUNCTIONALITY_MODEM_WIFI = 0x02 , LR1110_MODEM_FUNCTIONALITY_MODEM_WIFI_GPS = 0x03 , LR1110_MODEM_FUNCTIONALITY_MODEM_WIFI_GPS_BEIDOU = 0x04 }
 functionality values More...
 
enum  lr1110_modem_classes_t { LR1110_LORAWAN_CLASS_A = 0x00 , LR1110_LORAWAN_CLASS_C = 0x01 }
 LoRaWAN class type. More...
 
enum  lr1110_modem_status_t {
  LR1110_LORAWAN_CRASH = 0x02 , LR1110_LORAWAN_MUTE = 0x04 , LR1110_LORAWAN_JOINED = 0x08 , LR1110_LORAWAN_SUSPEND = 0x10 ,
  LR1110_LORAWAN_UPLOAD = 0x20 , LR1110_LORAWAN_JOINING = 0x40 , LR1110_LORAWAN_STREAM = 0x80
}
 Modem status bits. More...
 
enum  lr1110_modem_regions_t {
  LR1110_LORAWAN_REGION_EU868 = 0x01 , LR1110_LORAWAN_REGION_AS923_GRP1 = 0x02 , LR1110_LORAWAN_REGION_US915 = 0x03 , LR1110_LORAWAN_REGION_AU915 = 0x04 ,
  LR1110_LORAWAN_REGION_CN470 = 0x05 , LR1110_LORAWAN_REGION_AS923_GRP2 = 0x07 , LR1110_LORAWAN_REGION_AS923_GRP3 = 0x08 , LR1110_LORAWAN_REGION_IN865 = 0x09 ,
  LR1110_LORAWAN_REGION_KR920 = 0x0A , LR1110_LORAWAN_REGION_RU864 = 0x0B
}
 LoRaWAN region type. More...
 
enum  lr1110_modem_adr_profiles_t { LR1110_MODEM_ADR_PROFILE_NETWORK_SERVER_CONTROLLED = 0x00 , LR1110_MODEM_ADR_PROFILE_MOBILE_LONG_RANGE = 0x01 , LR1110_MODEM_ADR_PROFILE_MOBILE_LOW_POWER , LR1110_MODEM_ADR_PROFILE_CUSTOM }
 Adaptative Data Rate profiles type. More...
 
enum  lr1110_modem_reporting_interval_format_t { LR1110_MODEM_REPORTING_INTERVAL_IN_SECOND = 0x00 , LR1110_MODEM_REPORTING_INTERVAL_IN_DAY = 0x01 , LR1110_MODEM_REPORTING_INTERVAL_IN_HOUR = 0x02 , LR1110_MODEM_REPORTING_INTERVAL_IN_MINUTE = 0x03 }
 DM reporting internal format. More...
 
enum  lr1110_modem_dm_info_type_t {
  LR1110_MODEM_DM_INFO_TYPE_STATUS = 0x00 , LR1110_MODEM_DM_INFO_TYPE_CHARGE = 0x01 , LR1110_MODEM_DM_INFO_TYPE_VOLTAGE = 0x02 , LR1110_MODEM_DM_INFO_TYPE_TEMPERATURE = 0x03 ,
  LR1110_MODEM_DM_INFO_TYPE_SIGNAL = 0X04 , LR1110_MODEM_DM_INFO_TYPE_UPTIME = 0x05 , LR1110_MODEM_DM_INFO_TYPE_RXTIME = 0x06 , LR1110_MODEM_DM_INFO_TYPE_FIRMWARE = 0x07 ,
  LR1110_MODEM_DM_INFO_TYPE_ADR_MODE = 0x08 , LR1110_MODEM_DM_INFO_TYPE_JOIN_EUI = 0x09 , LR1110_MODEM_DM_INFO_TYPE_INTERVAL = 0x0A , LR1110_MODEM_DM_INFO_TYPE_REGION = 0x0B ,
  LR1110_MODEM_DM_INFO_TYPE_CRASH_LOG = 0x0D , LR1110_MODEM_DM_INFO_TYPE_UPLOAD = 0x0E , LR1110_MODEM_DM_INFO_TYPE_RESET_COUNT = 0x0F , LR1110_MODEM_DM_INFO_TYPE_DEV_EUI = 0x10 ,
  LR1110_MODEM_DM_INFO_TYPE_SESSION_ID = 0x12 , LR1110_MODEM_DM_INFO_TYPE_CHIP_EUI = 0x13 , LR1110_MODEM_DM_INFO_TYPE_STREAM = 0x14 , LR1110_MODEM_DM_INFO_TYPE_STREAM_PARAMETERS = 0x15 ,
  LR1110_MODEM_DM_INFO_TYPE_APPLICATION_SPECIFIC_STATUS = 0x16 , LR1110_MODEM_DM_INFO_TYPE_APPLICATION_LAYER_CLOCK_SYNCHRONISATION = 0x17 , LR1110_MODEM_DM_INFO_TYPE_GNSS_ALMANAC_STATUS = 0x18 , LR1110_MODEM_DM_INFO_TYPE_GNSS_DEBUG_RESPONSE = 0x19 ,
  LR1110_MODEM_DM_INFO_TYPE_GNSS_LOC = 0x1A , LR1110_MODEM_DM_INFO_TYPE_WIFI_LOC = 0x1B
}
 DM status information code. More...
 
enum  lr1110_modem_uplink_type_t { LR1110_MODEM_UPLINK_UNCONFIRMED = 0x00 , LR1110_MODEM_UPLINK_CONFIRMED = 0x01 }
 LoRaWAN uplink type. More...
 
enum  lr1110_modem_test_mode_t {
  LR1110_MODEM_TEST_MODE_TST_START = 0x00 , LR1110_MODEM_TEST_MODE_TST_NOP = 0x01 , LR1110_MODEM_TEST_MODE_TST_TX_SINGLE = 0x02 , LR1110_MODEM_TEST_MODE_TST_TX_CONT = 0x03 ,
  LR1110_MODEM_TEST_MODE_TST_CW = 0x06 , LR1110_MODEM_TEST_MODE_TST_RX_CONT = 0x07 , LR1110_MODEM_TEST_MODE_TST_RSSI_SUBGHZ = 0x08 , LR1110_MODEM_TEST_MODE_TST_RADIO_RST = 0x09 ,
  LR1110_MODEM_TEST_MODE_TST_EXIT = 0x0B , LR1110_MODEM_TEST_MODE_TST_TX_SINGLE_PREAM = 0x14 , LR1110_MODEM_TEST_MODE_READ_RSSI = 0x15 , LR1110_MODEM_TEST_MODE_TST_RSSI_2G4 = 0x16 ,
  LR1110_MODEM_TEST_MODE_TST_RSSI_GNSS = 0x17 , LR1110_MODEM_TEST_MODE_TST_READ_RX_PKT_COUNTER_RX_CONT = 0x18
}
 Radio test mode type. More...
 
enum  lr1110_modem_tst_mode_sf_t {
  LR1110_MODEM_TST_MODE_FSK = 0x00 , LR1110_MODEM_TST_MODE_SF7 = 0x01 , LR1110_MODEM_TST_MODE_SF8 = 0x02 , LR1110_MODEM_TST_MODE_SF9 = 0x03 ,
  LR1110_MODEM_TST_MODE_SF10 = 0x04 , LR1110_MODEM_TST_MODE_SF11 = 0x05 , LR1110_MODEM_TST_MODE_SF12 = 0x06
}
 Spreading factor for test mode. More...
 
enum  lr1110_modem_tst_mode_bw_t {
  LR1110_MODEM_TST_MODE_125_KHZ = 0x00 , LR1110_MODEM_TST_MODE_250_KHZ = 0x01 , LR1110_MODEM_TST_MODE_500_KHZ = 0x02 , LR1110_MODEM_TST_MODE_12_MHZ = 0x0F ,
  LR1110_MODEM_TST_MODE_18_MHZ = 0x10 , LR1110_MODEM_TST_MODE_24_MHZ = 0x11
}
 Bandwidth for test mode. More...
 
enum  lr1110_modem_tst_mode_cr_t { LR1110_MODEM_TST_MODE_4_5 = 0x00 , LR1110_MODEM_TST_MODE_4_6 = 0x01 , LR1110_MODEM_TST_MODE_4_7 = 0x02 , LR1110_MODEM_TST_MODE_4_8 = 0x03 }
 Coding rate for test mode. More...
 
enum  lr1110_modem_tst_mode_constellation_t { LR1110_MODEM_TST_MODE_CONSTELLATION_GNSS = 0x00 , LR1110_MODEM_TST_MODE_CONSTELLATION_BEIDOU = 0x01 }
 Coding rate for test mode. More...
 
enum  lr1110_modem_encryption_mode_t { LR1110_MODEM_SERVICES_ENCRYPTION_DISABLE = 0x00 , LR1110_MODEM_SERVICES_ENCRYPTION_ENABLE = 0x01 }
 Encryption mode values. More...
 
enum  lr1110_modem_lorawan_state_t { LR1110_MODEM_LORAWAN_IDLE = 0x00 , LR1110_MODEM_LORAWAN_BUSY = 0x01 }
 LoRaWAN state values. More...
 
enum  lr1110_modem_tx_done_event_t { LR1110_MODEM_TX_ERROR = 0x00 , LR1110_MODEM_UNCONFIRMED_TX = 0x01 , LR1110_MODEM_CONFIRMED_TX = 0x02 }
 TX status values. More...
 
enum  lr1110_modem_down_data_flag_t { LR1110_MODEM_DOWN_DATA_EVENT_DNW1 = 0x01 , LR1110_MODEM_DOWN_DATA_EVENT_DNW2 = 0x02 , LR1110_MODEM_DOWN_DATA_EVENT_RXC = 0x03 }
 RX flags encoding. More...
 
enum  lr1110_modem_upload_event_t { LR1110_MODEM_UPLOAD_ERROR = 0x00 , LR1110_MODEM_UPLOAD_SUCCESS = 0x01 }
 Upload status values. More...
 
enum  lr1110_modem_charge_type_t { LR1110_MODEM_CHARGE_TYPE_MODEM = 0x00 , LR1110_MODEM_CHARGE_TYPE_USER_DEFINED = 0x01 }
 Modem charge type. More...
 
enum  lr1110_modem_duty_cycle_t { LR1110_MODEM_DUTY_CYCLE_DISABLE = 0x00 , LR1110_MODEM_DUTY_CYCLE_ENABLE = 0x01 }
 LoRaWAN Duty Cycle activation type. More...
 
enum  lr1110_modem_certification_mode_t { LR1110_MODEM_CERTIFICATION_MODE_DISABLE = 0x00 , LR1110_MODEM_CERTIFICATION_MODE_ENABLE = 0x01 }
 LoRaWAN Duty Cycle activation type. More...
 
enum  lr1110_modem_alc_sync_mode_t { LR1110_MODEM_ALC_SYNC_MODE_DISABLE = 0x00 , LR1110_MODEM_ALC_SYNC_MODE_ENABLE = 0x01 }
 ALC Sync service activation mode. More...
 
enum  lr1110_modem_alc_sync_state_t { LR1110_MODEM_ALC_SYNC_DESYNCHRONIZED = 0x00 , LR1110_MODEM_ALC_SYNC_SYNCHRONIZED = 0x01 }
 ALC Sync state. More...
 
enum  lr1110_modem_mute_t { LR1110_MODEM_UNMUTED = 0x00 , LR1110_MODEM_MUTED = 0x01 }
 Modem mute type. More...
 
enum  lr1110_modem_suspend_t { LR1110_MODEM_RESUMED = 0x00 , LR1110_MODEM_SUSPEND = 0x01 }
 Modem suspend type. More...
 
enum  lr1110_modem_event_setconf_tag_t { LR1110_MODEM_EVENT_SETCONF_ADR_MODE_UPDATED = LR1110_MODEM_DM_INFO_TYPE_ADR_MODE , LR1110_MODEM_EVENT_SETCONF_JOIN_EUI_UPDATED = LR1110_MODEM_DM_INFO_TYPE_JOIN_EUI , LR1110_MODEM_EVENT_SETCONF_DM_INTERVAL_UPDATED = LR1110_MODEM_DM_INFO_TYPE_INTERVAL }
 Modem set conf type. More...
 
enum  lr1110_modem_ramp_time_t {
  LR1110_MODEM_RAMP_16_US = 0x00 , LR1110_MODEM_RAMP_32_US = 0x01 , LR1110_MODEM_RAMP_48_US = 0x02 , LR1110_MODEM_RAMP_64_US = 0x03 ,
  LR1110_MODEM_RAMP_80_US = 0x04 , LR1110_MODEM_RAMP_96_US = 0x05 , LR1110_MODEM_RAMP_112_US = 0x06 , LR1110_MODEM_RAMP_128_US = 0x07 ,
  LR1110_MODEM_RAMP_144_US = 0x08 , LR1110_MODEM_RAMP_160_US = 0x09 , LR1110_MODEM_RAMP_176_US = 0x0A , LR1110_MODEM_RAMP_192_US = 0x0B ,
  LR1110_MODEM_RAMP_208_US = 0x0C , LR1110_MODEM_RAMP_240_US = 0x0D , LR1110_MODEM_RAMP_272_US = 0x0E , LR1110_MODEM_RAMP_304_US = 0x0F
}
 Ramping time for PA. More...
 
enum  lr1110_modem_pa_reg_supply_t { LR1110_MODEM_PA_REG_SUPPLY_VREG = 0x00 , LR1110_MODEM_PA_REG_SUPPLY_VBAT = 0x01 }
 Select power amplifier supply source. More...
 
enum  lr1110_modem_network_type_t { LR1110_MODEM_LORAWAN_PRIVATE_NETWORK = 0x00 , LR1110_MODEM_LORAWAN_PUBLIC_NETWORK = 0x01 }
 Select the LoRaWAN network type. More...
 
enum  lr1110_modem_lbt_mode_t { LR1110_MODEM_LBT_MODE_DISABLE = 0x00 , LR1110_MODEM_LBT_MODE_ENABLE = 0x01 }
 Listen Before Talk (LBT) activation type. More...
 

Detailed Description

Modem lorawan 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.

Macro Definition Documentation

◆ LR1110_MODEM_APP_KEY_LENGTH

#define LR1110_MODEM_APP_KEY_LENGTH   ( 16 )

Length in bytes of a LoRaWAN application key.

◆ LR1110_MODEM_CHIP_EUI_LENGTH

#define LR1110_MODEM_CHIP_EUI_LENGTH   ( 8 )

Length in bytes of a chip eui.

◆ LR1110_MODEM_DEV_EUI_LENGTH

#define LR1110_MODEM_DEV_EUI_LENGTH   ( 8 )

Length in bytes of a LoRaWAN device eui.

◆ LR1110_MODEM_JOIN_EUI_LENGTH

#define LR1110_MODEM_JOIN_EUI_LENGTH   ( 8 )

Length in bytes of a LoRaWAN join eui.

◆ LR1110_MODEM_NB_OUTPUT_POWER_CONFIG_BLOCKS

#define LR1110_MODEM_NB_OUTPUT_POWER_CONFIG_BLOCKS   ( 6 )

Number of output power config blocks.

◆ LR1110_MODEM_OUTPUT_POWER_CONFIG_BLOCK_LENGTH

#define LR1110_MODEM_OUTPUT_POWER_CONFIG_BLOCK_LENGTH   ( 5 )

Power config block length.

◆ LR1110_MODEM_REGIONS_NUMBER

#define LR1110_MODEM_REGIONS_NUMBER   ( 10 )

Number of regions available.

Typedef Documentation

◆ lr1110_modem_app_key_t

typedef uint8_t lr1110_modem_app_key_t[LR1110_MODEM_APP_KEY_LENGTH]

Application key type.

◆ lr1110_modem_chip_eui_t

typedef uint8_t lr1110_modem_chip_eui_t[LR1110_MODEM_CHIP_EUI_LENGTH]

Chip EUI type.

◆ lr1110_modem_dev_eui_t

typedef uint8_t lr1110_modem_dev_eui_t[LR1110_MODEM_DEV_EUI_LENGTH]

Device EUI type.

◆ lr1110_modem_join_eui_t

typedef uint8_t lr1110_modem_join_eui_t[LR1110_MODEM_JOIN_EUI_LENGTH]

Join EUI type.

◆ lr1110_modem_output_power_config_list_t

typedef lr1110_modem_output_power_config_t lr1110_modem_output_power_config_list_t[LR1110_MODEM_NB_OUTPUT_POWER_CONFIG_BLOCKS]

Output power config type.

◆ lr1110_modem_regions_list_t

typedef lr1110_modem_regions_t lr1110_modem_regions_list_t[LR1110_MODEM_REGIONS_NUMBER]

LoRaWAN list of regions type.

Enumeration Type Documentation

◆ lr1110_modem_adr_profiles_t

Adaptative Data Rate profiles type.

Enumerator
LR1110_MODEM_ADR_PROFILE_NETWORK_SERVER_CONTROLLED 

Network Server Controlled.

LR1110_MODEM_ADR_PROFILE_MOBILE_LONG_RANGE 

Mobile Long Range : 50% MinDr, 25% MinDr + 1, 25% MinDr + 2.

LR1110_MODEM_ADR_PROFILE_MOBILE_LOW_POWER 

Mobile Low Power : 25% MaxDr, 25% MaxDr - 1, 25% MaxDr - 2, 25% MaxDr - 3.

LR1110_MODEM_ADR_PROFILE_CUSTOM 

Custom List A custom ADR profile consists of a list of 16 preferred data rates. For every transmission, a random entry in that list is selected.

◆ lr1110_modem_alc_sync_mode_t

ALC Sync service activation mode.

Enumerator
LR1110_MODEM_ALC_SYNC_MODE_DISABLE 
LR1110_MODEM_ALC_SYNC_MODE_ENABLE 

◆ lr1110_modem_alc_sync_state_t

ALC Sync state.

Enumerator
LR1110_MODEM_ALC_SYNC_DESYNCHRONIZED 
LR1110_MODEM_ALC_SYNC_SYNCHRONIZED 

◆ lr1110_modem_certification_mode_t

LoRaWAN Duty Cycle activation type.

Enumerator
LR1110_MODEM_CERTIFICATION_MODE_DISABLE 
LR1110_MODEM_CERTIFICATION_MODE_ENABLE 

◆ lr1110_modem_charge_type_t

Modem charge type.

Enumerator
LR1110_MODEM_CHARGE_TYPE_MODEM 
LR1110_MODEM_CHARGE_TYPE_USER_DEFINED 

◆ lr1110_modem_classes_t

LoRaWAN class type.

Enumerator
LR1110_LORAWAN_CLASS_A 
LR1110_LORAWAN_CLASS_C 

◆ lr1110_modem_dm_info_type_t

DM status information code.

Enumerator
LR1110_MODEM_DM_INFO_TYPE_STATUS 
LR1110_MODEM_DM_INFO_TYPE_CHARGE 
LR1110_MODEM_DM_INFO_TYPE_VOLTAGE 
LR1110_MODEM_DM_INFO_TYPE_TEMPERATURE 
LR1110_MODEM_DM_INFO_TYPE_SIGNAL 
LR1110_MODEM_DM_INFO_TYPE_UPTIME 
LR1110_MODEM_DM_INFO_TYPE_RXTIME 
LR1110_MODEM_DM_INFO_TYPE_FIRMWARE 
LR1110_MODEM_DM_INFO_TYPE_ADR_MODE 
LR1110_MODEM_DM_INFO_TYPE_JOIN_EUI 
LR1110_MODEM_DM_INFO_TYPE_INTERVAL 
LR1110_MODEM_DM_INFO_TYPE_REGION 
LR1110_MODEM_DM_INFO_TYPE_CRASH_LOG 
LR1110_MODEM_DM_INFO_TYPE_UPLOAD 
LR1110_MODEM_DM_INFO_TYPE_RESET_COUNT 
LR1110_MODEM_DM_INFO_TYPE_DEV_EUI 
LR1110_MODEM_DM_INFO_TYPE_SESSION_ID 
LR1110_MODEM_DM_INFO_TYPE_CHIP_EUI 
LR1110_MODEM_DM_INFO_TYPE_STREAM 
LR1110_MODEM_DM_INFO_TYPE_STREAM_PARAMETERS 
LR1110_MODEM_DM_INFO_TYPE_APPLICATION_SPECIFIC_STATUS 
LR1110_MODEM_DM_INFO_TYPE_APPLICATION_LAYER_CLOCK_SYNCHRONISATION 
LR1110_MODEM_DM_INFO_TYPE_GNSS_ALMANAC_STATUS 
LR1110_MODEM_DM_INFO_TYPE_GNSS_DEBUG_RESPONSE 
LR1110_MODEM_DM_INFO_TYPE_GNSS_LOC 
LR1110_MODEM_DM_INFO_TYPE_WIFI_LOC 

◆ lr1110_modem_down_data_flag_t

RX flags encoding.

Enumerator
LR1110_MODEM_DOWN_DATA_EVENT_DNW1 

received in 1st DN slot

LR1110_MODEM_DOWN_DATA_EVENT_DNW2 

received in 2dn DN slot

LR1110_MODEM_DOWN_DATA_EVENT_RXC 

received in Class C DN slot

◆ lr1110_modem_duty_cycle_t

LoRaWAN Duty Cycle activation type.

Enumerator
LR1110_MODEM_DUTY_CYCLE_DISABLE 
LR1110_MODEM_DUTY_CYCLE_ENABLE 

◆ lr1110_modem_encryption_mode_t

Encryption mode values.

Enumerator
LR1110_MODEM_SERVICES_ENCRYPTION_DISABLE 
LR1110_MODEM_SERVICES_ENCRYPTION_ENABLE 

◆ lr1110_modem_event_setconf_tag_t

Modem set conf type.

Enumerator
LR1110_MODEM_EVENT_SETCONF_ADR_MODE_UPDATED 
LR1110_MODEM_EVENT_SETCONF_JOIN_EUI_UPDATED 
LR1110_MODEM_EVENT_SETCONF_DM_INTERVAL_UPDATED 

◆ lr1110_modem_functionality_t

functionality values

Enumerator
LR1110_MODEM_FUNCTIONALITY_TRX 
LR1110_MODEM_FUNCTIONALITY_MODEM_WIFI 
LR1110_MODEM_FUNCTIONALITY_MODEM_WIFI_GPS 
LR1110_MODEM_FUNCTIONALITY_MODEM_WIFI_GPS_BEIDOU 

◆ lr1110_modem_lbt_mode_t

Listen Before Talk (LBT) activation type.

Enumerator
LR1110_MODEM_LBT_MODE_DISABLE 
LR1110_MODEM_LBT_MODE_ENABLE 

◆ lr1110_modem_lorawan_state_t

LoRaWAN state values.

Enumerator
LR1110_MODEM_LORAWAN_IDLE 
LR1110_MODEM_LORAWAN_BUSY 

◆ lr1110_modem_mute_t

Modem mute type.

Enumerator
LR1110_MODEM_UNMUTED 
LR1110_MODEM_MUTED 

◆ lr1110_modem_network_type_t

Select the LoRaWAN network type.

Enumerator
LR1110_MODEM_LORAWAN_PRIVATE_NETWORK 

LoRaWAN private network.

LR1110_MODEM_LORAWAN_PUBLIC_NETWORK 

LoRaWAN public network.

◆ lr1110_modem_pa_reg_supply_t

Select power amplifier supply source.

Enumerator
LR1110_MODEM_PA_REG_SUPPLY_VREG 

Power amplifier supplied by the main regulator.

LR1110_MODEM_PA_REG_SUPPLY_VBAT 

Power amplifier supplied by the battery.

◆ lr1110_modem_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_MODEM_RADIO_PA_SEL_LP 

Low-power Power Amplifier.

LR1110_MODEM_RADIO_PA_SEL_HP 

High-power Power Amplifier.

LR1110_MODEM_RADIO_PA_SEL_LP_HP_LF 

Low-power & High-power Power Amplifier.

◆ lr1110_modem_ramp_time_t

Ramping time for PA.

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

Enumerator
LR1110_MODEM_RAMP_16_US 

16 us Ramp Time

LR1110_MODEM_RAMP_32_US 

32 us Ramp Time

LR1110_MODEM_RAMP_48_US 

48 us Ramp Time (Default)

LR1110_MODEM_RAMP_64_US 

64 us Ramp Time

LR1110_MODEM_RAMP_80_US 

80 us Ramp Time

LR1110_MODEM_RAMP_96_US 

96 us Ramp Time

LR1110_MODEM_RAMP_112_US 

112 us Ramp Time

LR1110_MODEM_RAMP_128_US 

128 us Ramp Time

LR1110_MODEM_RAMP_144_US 

144 us Ramp Time

LR1110_MODEM_RAMP_160_US 

160 us Ramp Time

LR1110_MODEM_RAMP_176_US 

176 us Ramp Time

LR1110_MODEM_RAMP_192_US 

192 us Ramp Time

LR1110_MODEM_RAMP_208_US 

208 us Ramp Time

LR1110_MODEM_RAMP_240_US 

240 us Ramp Time

LR1110_MODEM_RAMP_272_US 

272 us Ramp Time

LR1110_MODEM_RAMP_304_US 

304 us Ramp Time

◆ lr1110_modem_regions_t

LoRaWAN region type.

Enumerator
LR1110_LORAWAN_REGION_EU868 
LR1110_LORAWAN_REGION_AS923_GRP1 
LR1110_LORAWAN_REGION_US915 
LR1110_LORAWAN_REGION_AU915 
LR1110_LORAWAN_REGION_CN470 
LR1110_LORAWAN_REGION_AS923_GRP2 
LR1110_LORAWAN_REGION_AS923_GRP3 
LR1110_LORAWAN_REGION_IN865 
LR1110_LORAWAN_REGION_KR920 
LR1110_LORAWAN_REGION_RU864 

◆ lr1110_modem_reporting_interval_format_t

DM reporting internal format.

Enumerator
LR1110_MODEM_REPORTING_INTERVAL_IN_SECOND 
LR1110_MODEM_REPORTING_INTERVAL_IN_DAY 
LR1110_MODEM_REPORTING_INTERVAL_IN_HOUR 
LR1110_MODEM_REPORTING_INTERVAL_IN_MINUTE 

◆ lr1110_modem_status_t

Modem status bits.

Enumerator
LR1110_LORAWAN_CRASH 
LR1110_LORAWAN_MUTE 
LR1110_LORAWAN_JOINED 
LR1110_LORAWAN_SUSPEND 
LR1110_LORAWAN_UPLOAD 
LR1110_LORAWAN_JOINING 
LR1110_LORAWAN_STREAM 

◆ lr1110_modem_suspend_t

Modem suspend type.

Enumerator
LR1110_MODEM_RESUMED 
LR1110_MODEM_SUSPEND 

◆ lr1110_modem_test_mode_t

Radio test mode type.

Enumerator
LR1110_MODEM_TEST_MODE_TST_START 
LR1110_MODEM_TEST_MODE_TST_NOP 
LR1110_MODEM_TEST_MODE_TST_TX_SINGLE 
LR1110_MODEM_TEST_MODE_TST_TX_CONT 
LR1110_MODEM_TEST_MODE_TST_CW 
LR1110_MODEM_TEST_MODE_TST_RX_CONT 
LR1110_MODEM_TEST_MODE_TST_RSSI_SUBGHZ 
LR1110_MODEM_TEST_MODE_TST_RADIO_RST 
LR1110_MODEM_TEST_MODE_TST_EXIT 
LR1110_MODEM_TEST_MODE_TST_TX_SINGLE_PREAM 
LR1110_MODEM_TEST_MODE_READ_RSSI 
LR1110_MODEM_TEST_MODE_TST_RSSI_2G4 
LR1110_MODEM_TEST_MODE_TST_RSSI_GNSS 
LR1110_MODEM_TEST_MODE_TST_READ_RX_PKT_COUNTER_RX_CONT 

◆ lr1110_modem_tst_mode_bw_t

Bandwidth for test mode.

Enumerator
LR1110_MODEM_TST_MODE_125_KHZ 
LR1110_MODEM_TST_MODE_250_KHZ 
LR1110_MODEM_TST_MODE_500_KHZ 
LR1110_MODEM_TST_MODE_12_MHZ 
LR1110_MODEM_TST_MODE_18_MHZ 
LR1110_MODEM_TST_MODE_24_MHZ 

◆ lr1110_modem_tst_mode_constellation_t

Coding rate for test mode.

Enumerator
LR1110_MODEM_TST_MODE_CONSTELLATION_GNSS 
LR1110_MODEM_TST_MODE_CONSTELLATION_BEIDOU 

◆ lr1110_modem_tst_mode_cr_t

Coding rate for test mode.

Enumerator
LR1110_MODEM_TST_MODE_4_5 
LR1110_MODEM_TST_MODE_4_6 
LR1110_MODEM_TST_MODE_4_7 
LR1110_MODEM_TST_MODE_4_8 

◆ lr1110_modem_tst_mode_sf_t

Spreading factor for test mode.

Enumerator
LR1110_MODEM_TST_MODE_FSK 
LR1110_MODEM_TST_MODE_SF7 
LR1110_MODEM_TST_MODE_SF8 
LR1110_MODEM_TST_MODE_SF9 
LR1110_MODEM_TST_MODE_SF10 
LR1110_MODEM_TST_MODE_SF11 
LR1110_MODEM_TST_MODE_SF12 

◆ lr1110_modem_tx_done_event_t

TX status values.

Enumerator
LR1110_MODEM_TX_ERROR 
LR1110_MODEM_UNCONFIRMED_TX 
LR1110_MODEM_CONFIRMED_TX 

◆ lr1110_modem_uplink_type_t

LoRaWAN uplink type.

Enumerator
LR1110_MODEM_UPLINK_UNCONFIRMED 
LR1110_MODEM_UPLINK_CONFIRMED 

◆ lr1110_modem_upload_event_t

Upload status values.

Enumerator
LR1110_MODEM_UPLOAD_ERROR 
LR1110_MODEM_UPLOAD_SUCCESS