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#
Sidewalk phy lora crc present.
Macros#
Spreading Factor.
Spreading factor 6
Spreading factor 7
Spreading factor 8
Spreading factor 9
Spreading factor 10
Spreading factor 11
Spreading factor 12
Bandwidth.
Bandwidth of 10.4 KHz.
Bandwidth of 15.6 KHz.
Bandwidth of 20.8 KHz.
Bandwidth of 31.25 KHz.
Bandwidth of 41.7 KHz.
Bandwidth of 62.5 KHz.
Bandwidth of 125 KHz.
Bandwidth of 250 KHz.
Bandwidth of 500 KHz.
Coding Rate.
Coding rate 4/6
Coding rate 4/7
Coding rate 4/8
Coding rate 4/5 LI
Coding rate 4/6 LI
Coding rate 4/8 LI
packet params header type
Fixed length header
packet params crc modes
CRC on
packet params IQ modes
Inverted IQ
packet params LI modes
Long interleaver on
cad params
02 symbol
04 symbol
08 symbol
16 symbol
CAD only
CAD followed by RX
CAD followed by LBT
Minimum preamble length for SF5 and SF6
timeout duration in usec.
set max radio timeout to 5sec
Default transmission timeout
1 sec timeout used by diagnostics code
Private network sync word
Public network sync word
Maximum payload length
Default preamble length
Default modulation shaping
Default preamble detection
Default sync word length
Default address comparison
Default header type
Default CRC length
Default whitening mode
Default payload length
Default whitening seed
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 |
Macro Definition Documentation#
SID_PAL_RADIO_LORA_BW_7KHZ#
#define SID_PAL_RADIO_LORA_BW_7KHZValue:
0x00
Bandwidth.
Bandwidth of 7.8 KHz.
SID_PAL_RADIO_LORA_CODING_RATE_4_5#
#define SID_PAL_RADIO_LORA_CODING_RATE_4_5Value:
0x01
Coding Rate.
Coding rate 4/5
SID_PAL_RADIO_LORA_CODING_RATE_4_6#
#define SID_PAL_RADIO_LORA_CODING_RATE_4_6Value:
0x02
Coding rate 4/6
SID_PAL_RADIO_LORA_CODING_RATE_4_7#
#define SID_PAL_RADIO_LORA_CODING_RATE_4_7Value:
0x03
Coding rate 4/7
SID_PAL_RADIO_LORA_CODING_RATE_4_8#
#define SID_PAL_RADIO_LORA_CODING_RATE_4_8Value:
0x04
Coding rate 4/8
SID_PAL_RADIO_LORA_CODING_RATE_4_5_LI#
#define SID_PAL_RADIO_LORA_CODING_RATE_4_5_LIValue:
0x05
Coding rate 4/5 LI
SID_PAL_RADIO_LORA_CODING_RATE_4_6_LI#
#define SID_PAL_RADIO_LORA_CODING_RATE_4_6_LIValue:
0x06
Coding rate 4/6 LI
SID_PAL_RADIO_LORA_CODING_RATE_4_8_LI#
#define SID_PAL_RADIO_LORA_CODING_RATE_4_8_LIValue:
0x07
Coding rate 4/8 LI
SID_PAL_RADIO_LORA_HEADER_TYPE_VARIABLE_LENGTH#
#define SID_PAL_RADIO_LORA_HEADER_TYPE_VARIABLE_LENGTHValue:
0x00
packet params header type
Variable length header
SID_PAL_RADIO_LORA_HEADER_TYPE_FIXED_LENGTH#
#define SID_PAL_RADIO_LORA_HEADER_TYPE_FIXED_LENGTHValue:
0x01
Fixed length header
SID_PAL_RADIO_LORA_CRC_OFF#
#define SID_PAL_RADIO_LORA_CRC_OFFValue:
0x00
packet params crc modes
CRC off
SID_PAL_RADIO_LORA_IQ_NORMAL#
#define SID_PAL_RADIO_LORA_IQ_NORMALValue:
0x00
packet params IQ modes
Normal IQ
SID_PAL_RADIO_LORA_LDR_LONG_INTERLEAVER_OFF#
#define SID_PAL_RADIO_LORA_LDR_LONG_INTERLEAVER_OFFValue:
0x00
packet params LI modes
Long interleaver off
SID_PAL_RADIO_LORA_LDR_LONG_INTERLEAVER_ON#
#define SID_PAL_RADIO_LORA_LDR_LONG_INTERLEAVER_ONValue:
0x01
Long interleaver on
SID_PAL_RADIO_LORA_CAD_01_SYMBOL#
#define SID_PAL_RADIO_LORA_CAD_01_SYMBOLValue:
0x00
cad params
01 symbol
SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_ONLY#
#define SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_ONLYValue:
0x00
CAD only
SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_RX#
#define SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_RXValue:
0x01
CAD followed by RX
SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_LBT#
#define SID_PAL_RADIO_LORA_CAD_EXIT_MODE_CAD_LBTValue:
0x10
CAD followed by LBT
SID_PAL_RADIO_LORA_SF5_SF6_MIN_PREAMBLE_LEN#
#define SID_PAL_RADIO_LORA_SF5_SF6_MIN_PREAMBLE_LENValue:
12
Minimum preamble length for SF5 and SF6
SECS_TO_MUS#
#define SECS_TO_MUSValue:
(X)
timeout duration in usec.
the conversion to semtech ticks is done by start_rx() start_tx()
SID_PAL_RADIO_LORA_CAD_DEFAULT_TX_TIMEOUT#
#define SID_PAL_RADIO_LORA_CAD_DEFAULT_TX_TIMEOUTValue:
SECS_TO_MUS(5)
set max radio timeout to 5sec
SID_PAL_RADIO_LORA_DEFAULT_TX_TIMEOUT#
#define SID_PAL_RADIO_LORA_DEFAULT_TX_TIMEOUTValue:
SID_PAL_RADIO_LORA_CAD_DEFAULT_TX_TIMEOUT
Default transmission timeout
SID_PAL_RADIO_LORA_TIMEOUT_DURATION_1_SEC#
#define SID_PAL_RADIO_LORA_TIMEOUT_DURATION_1_SECValue:
SECS_TO_MUS(1)
1 sec timeout used by diagnostics code
SID_PAL_RADIO_LORA_PRIVATE_NETWORK_SYNC_WORD#
#define SID_PAL_RADIO_LORA_PRIVATE_NETWORK_SYNC_WORDValue:
0x1424
Private network sync word
SID_PAL_RADIO_LORA_PUBLIC_NETWORK_SYNC_WORD#
#define SID_PAL_RADIO_LORA_PUBLIC_NETWORK_SYNC_WORDValue:
LORA_MAC_PUBLIC_SYNCWORD
Public network sync word
SID_PAL_RADIO_LORA_MAX_PAYLOAD_LENGTH#
#define SID_PAL_RADIO_LORA_MAX_PAYLOAD_LENGTHValue:
250
Maximum payload length
SID_PAL_RADIO_LORA_ED_PREAMBLE_LENGTH_DEFAULT#
#define SID_PAL_RADIO_LORA_ED_PREAMBLE_LENGTH_DEFAULTValue:
(250 << 3)
Default preamble length
SID_PAL_RADIO_LORA_ED_MOD_SHAPING#
#define SID_PAL_RADIO_LORA_ED_MOD_SHAPINGValue:
MOD_SHAPING_G_BT_1
Default modulation shaping
SID_PAL_RADIO_LORA_ED_PREAMBLE_MIN_DETECT#
#define SID_PAL_RADIO_LORA_ED_PREAMBLE_MIN_DETECTValue:
RADIO_PREAMBLE_DETECTOR_08_BITS
Default preamble detection
SID_PAL_RADIO_LORA_ED_SYNCWORD_LENGTH_DEFAULT#
#define SID_PAL_RADIO_LORA_ED_SYNCWORD_LENGTH_DEFAULTValue:
(3 << 3)
Default sync word length
SID_PAL_RADIO_LORA_ED_ADDRCOMP_DEFAULT#
#define SID_PAL_RADIO_LORA_ED_ADDRCOMP_DEFAULTValue:
RADIO_ADDRESSCOMP_FILT_OFF
Default address comparison
SID_PAL_RADIO_LORA_ED_HEADER_TYPE_DEFAULT#
#define SID_PAL_RADIO_LORA_ED_HEADER_TYPE_DEFAULTValue:
RADIO_PACKET_VARIABLE_LENGTH
Default header type
SID_PAL_RADIO_LORA_ED_CRC_LENGTH_DEFAULT#
#define SID_PAL_RADIO_LORA_ED_CRC_LENGTH_DEFAULTValue:
RADIO_CRC_2_BYTES_CCIT
Default CRC length
SID_PAL_RADIO_LORA_ED_RADIO_WHITENING_MODE_DEFAULT#
#define SID_PAL_RADIO_LORA_ED_RADIO_WHITENING_MODE_DEFAULTValue:
RADIO_DC_FREEWHITENING
Default whitening mode
SID_PAL_RADIO_LORA_ED_PAYLOAD_LENGTH_DEFAULT#
#define SID_PAL_RADIO_LORA_ED_PAYLOAD_LENGTH_DEFAULTValue:
0
Default payload length
SID_PAL_RADIO_LORA_ED_DEFAULT_WHITENING_SEED#
#define SID_PAL_RADIO_LORA_ED_DEFAULT_WHITENING_SEEDValue:
0x01FF
Default whitening seed