Type definitions#

Modules#

sid_pal_radio_lora_modulation_params_t

sid_pal_radio_lora_packet_params_t

sid_pal_radio_lora_rx_packet_status_t

sid_pal_radio_lora_cad_params_t

sid_pal_radio_lora_phy_settings_t

Enumerations#

enum
SID_PAL_RADIO_CRC_PRESENT_INVALID = 0
SID_PAL_RADIO_CRC_PRESENT_OFF = 1
SID_PAL_RADIO_CRC_PRESENT_ON = 2
SID_PAL_RADIO_CRC_PRESENT_MAX_NUM = SID_PAL_RADIO_CRC_PRESENT_ON
}

Sidewalk phy lora crc present.

Macros#

#define
SID_PAL_RADIO_LORA_SF5 0x05

Spreading Factor.

#define
SID_PAL_RADIO_LORA_SF6 0x06
#define
SID_PAL_RADIO_LORA_SF7 0x07
#define
SID_PAL_RADIO_LORA_SF8 0x08
#define
SID_PAL_RADIO_LORA_SF9 0x09
#define
SID_PAL_RADIO_LORA_SF10 0x0A
#define
SID_PAL_RADIO_LORA_SF11 0x0B
#define
SID_PAL_RADIO_LORA_SF12 0x0C
#define
SID_PAL_RADIO_LORA_BW_7KHZ 0x00

Bandwidth.

#define
SID_PAL_RADIO_LORA_BW_10KHZ 0x08
#define
SID_PAL_RADIO_LORA_BW_15KHZ 0x01
#define
SID_PAL_RADIO_LORA_BW_20KHZ 0x09
#define
SID_PAL_RADIO_LORA_BW_31KHZ 0x02
#define
SID_PAL_RADIO_LORA_BW_41KHZ 0x0A
#define
SID_PAL_RADIO_LORA_BW_62KHZ 0x03
#define
SID_PAL_RADIO_LORA_BW_125KHZ 0x04
#define
SID_PAL_RADIO_LORA_BW_250KHZ 0x05
#define
SID_PAL_RADIO_LORA_BW_500KHZ 0x06
#define
SID_PAL_RADIO_LORA_CODING_RATE_4_5 0x01

Coding Rate.

#define
SID_PAL_RADIO_LORA_CODING_RATE_4_6 0x02
#define
SID_PAL_RADIO_LORA_CODING_RATE_4_7 0x03
#define
SID_PAL_RADIO_LORA_CODING_RATE_4_8 0x04
#define
SID_PAL_RADIO_LORA_CODING_RATE_4_5_LI 0x05
#define
SID_PAL_RADIO_LORA_CODING_RATE_4_6_LI 0x06
#define
SID_PAL_RADIO_LORA_CODING_RATE_4_8_LI 0x07
#define
SID_PAL_RADIO_LORA_HEADER_TYPE_VARIABLE_LENGTH 0x00

packet params header type

#define
SID_PAL_RADIO_LORA_HEADER_TYPE_FIXED_LENGTH 0x01
#define
SID_PAL_RADIO_LORA_CRC_OFF 0x00

packet params crc modes

#define
SID_PAL_RADIO_LORA_CRC_ON 0x01
#define
SID_PAL_RADIO_LORA_IQ_NORMAL 0x00

packet params IQ modes

#define
SID_PAL_RADIO_LORA_IQ_INVERTED 0x01
#define
SID_PAL_RADIO_LORA_LDR_LONG_INTERLEAVER_OFF 0x00

packet params LI modes

#define
SID_PAL_RADIO_LORA_LDR_LONG_INTERLEAVER_ON 0x01
#define
SID_PAL_RADIO_LORA_CAD_01_SYMBOL 0x00

cad params

#define
SID_PAL_RADIO_LORA_CAD_02_SYMBOL 0x01
#define
SID_PAL_RADIO_LORA_CAD_04_SYMBOL 0x02
#define
SID_PAL_RADIO_LORA_CAD_08_SYMBOL 0x03
#define
SID_PAL_RADIO_LORA_CAD_16_SYMBOL 0x04
#define
SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_ONLY 0x00
#define
SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_RX 0x01
#define
SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_LBT 0x10
#define
SID_PAL_RADIO_LORA_SF5_SF6_MIN_PREAMBLE_LEN 12
#define
SECS_TO_MUS (X)

timeout duration in usec.

#define
SID_PAL_RADIO_LORA_CAD_DEFAULT_TX_TIMEOUT SECS_TO_MUS(5)

set max radio timeout to 5sec

#define
SID_PAL_RADIO_LORA_DEFAULT_TX_TIMEOUT SID_PAL_RADIO_LORA_CAD_DEFAULT_TX_TIMEOUT
#define
SID_PAL_RADIO_LORA_TIMEOUT_DURATION_1_SEC SECS_TO_MUS(1)

1 sec timeout used by diagnostics code

#define
SID_PAL_RADIO_LORA_PRIVATE_NETWORK_SYNC_WORD 0x1424
#define
SID_PAL_RADIO_LORA_PUBLIC_NETWORK_SYNC_WORD LORA_MAC_PUBLIC_SYNCWORD
#define
SID_PAL_RADIO_LORA_MAX_PAYLOAD_LENGTH 250
#define
SID_PAL_RADIO_LORA_ED_PREAMBLE_LENGTH_DEFAULT (250 << 3)
#define
SID_PAL_RADIO_LORA_ED_MOD_SHAPING MOD_SHAPING_G_BT_1
#define
SID_PAL_RADIO_LORA_ED_PREAMBLE_MIN_DETECT RADIO_PREAMBLE_DETECTOR_08_BITS
#define
SID_PAL_RADIO_LORA_ED_SYNCWORD_LENGTH_DEFAULT (3 << 3)
#define
SID_PAL_RADIO_LORA_ED_ADDRCOMP_DEFAULT RADIO_ADDRESSCOMP_FILT_OFF
#define
SID_PAL_RADIO_LORA_ED_HEADER_TYPE_DEFAULT RADIO_PACKET_VARIABLE_LENGTH
#define
SID_PAL_RADIO_LORA_ED_CRC_LENGTH_DEFAULT RADIO_CRC_2_BYTES_CCIT
#define
SID_PAL_RADIO_LORA_ED_RADIO_WHITENING_MODE_DEFAULT RADIO_DC_FREEWHITENING
#define
SID_PAL_RADIO_LORA_ED_PAYLOAD_LENGTH_DEFAULT 0
#define
SID_PAL_RADIO_LORA_ED_DEFAULT_WHITENING_SEED 0x01FF

Enumeration Documentation#

sid_pal_radio_lora_crc_present_t#

sid_pal_radio_lora_crc_present_t

Sidewalk phy lora crc present.

Enumerator
SID_PAL_RADIO_CRC_PRESENT_INVALID

Invalid value

SID_PAL_RADIO_CRC_PRESENT_OFF

CRC not present

SID_PAL_RADIO_CRC_PRESENT_ON

CRC present

SID_PAL_RADIO_CRC_PRESENT_MAX_NUM

Maximum number of CRC present