Type definitions#
Modules#
sid_pal_radio_state_transition_timings_t
Enumerations#
Sidewalk Phy Radio Region For Regional Config.
Sidewalk Phy Radio Modem Mode.
Sidewalk Phy Radio Event.
Sidewalk Phy Radio Data Rate.
Sidewalk Phy Radio CAD (Channel Activity Detection) Exit Mode.
Radio IRQ MASK.
Typedefs#
Radio event callback.
Radio interrupt callback.
Macros#
Defines the maximum size of the payload that can be received by the radio.
Radio Error Codes.
Feature not supported
parameters not valid
GPIO error on DIO pins
Radio is busy and cannot process commands
target buffer has insufficient memory allocated
Radio not responding to power up, reset, change of state etc
Operation not valid in current radio state
Errors reported by library calls
DCR (Duty Cycle Restriction) check fail
Regulatory check fail
Add vendor error codes between -64 and -255
Add vendor error codes between -64 and -255
Sidewalk Phy Radio State.
Standby state of the radio.
Sleep state of the radio.
Receive state of the radio.
Transmit state of the radio.
Channel Activity Detection (CAD) state of the radio.
Standby state with an external oscillator (XOSC) of the radio.
Receive duty cycle state of the radio.
Busy state of the radio.
Enumeration Documentation#
sid_pal_radio_region_code_t#
sid_pal_radio_region_code_t
Sidewalk Phy Radio Region For Regional Config.
| Enumerator | |
|---|---|
| SID_PAL_RADIO_RC_NONE | Region none |
| SID_PAL_RADIO_RC_NA | Region North America |
| SID_PAL_RADIO_RC_EU | Region EU |
| SID_PAL_RADIO_RC_JP | Region JP |
| SID_PAL_RADIO_RC_MAX | Region max |
sid_pal_radio_modem_mode_t#
sid_pal_radio_modem_mode_t
Sidewalk Phy Radio Modem Mode.
| Enumerator | |
|---|---|
| SID_PAL_RADIO_MODEM_MODE_FSK | Frequency Shift Keying (FSK) modem mode |
| SID_PAL_RADIO_MODEM_MODE_LORA | Long Range (LoRa) modem mode |
sid_pal_radio_events_t#
sid_pal_radio_events_t
Sidewalk Phy Radio Event.
| Enumerator | |
|---|---|
| SID_PAL_RADIO_EVENT_UNKNOWN | Unknown event |
| SID_PAL_RADIO_EVENT_TX_DONE | Transmission done event |
| SID_PAL_RADIO_EVENT_RX_DONE | Reception done event |
| SID_PAL_RADIO_EVENT_CAD_DONE | Channel Activity Detection (CAD) done event |
| SID_PAL_RADIO_EVENT_CAD_TIMEOUT | CAD timeout event |
| SID_PAL_RADIO_EVENT_RX_ERROR | Reception error event |
| SID_PAL_RADIO_EVENT_TX_TIMEOUT | Transmission timeout event |
| SID_PAL_RADIO_EVENT_RX_TIMEOUT | Reception timeout event |
| SID_PAL_RADIO_EVENT_CS_DONE | Carrier Sense (CS) done event |
| SID_PAL_RADIO_EVENT_CS_TIMEOUT | CS timeout event |
| SID_PAL_RADIO_EVENT_HEADER_ERROR | Header error event |
| SID_PAL_RADIO_EVENT_SYNC_DET | Sync detection event |
sid_pal_radio_data_rate_t#
sid_pal_radio_data_rate_t
Sidewalk Phy Radio Data Rate.
| Enumerator | |
|---|---|
| SID_PAL_RADIO_DATA_RATE_INVALID | Invalid data rate |
| SID_PAL_RADIO_DATA_RATE_2KBPS | 2 Kbps data rate |
| SID_PAL_RADIO_DATA_RATE_22KBPS | 22 Kbps data rate |
| SID_PAL_RADIO_DATA_RATE_50KBPS | 50 Kbps data rate |
| SID_PAL_RADIO_DATA_RATE_150KBPS | 150 Kbps data rate |
| SID_PAL_RADIO_DATA_RATE_250KBPS | 250 Kbps data rate |
| SID_PAL_RADIO_DATA_RATE_12_5KBPS | 12.5 Kbps data rate |
| SID_PAL_RADIO_DATA_RATE_CUSTOM | Custom data rate |
| SID_PAL_RADIO_DATA_RATE_MAX_NUM | 0 is not a valid data rate |
sid_pal_radio_cad_param_exit_mode_t#
sid_pal_radio_cad_param_exit_mode_t
Sidewalk Phy Radio CAD (Channel Activity Detection) Exit Mode.
| Enumerator | |
|---|---|
| SID_PAL_RADIO_CAD_EXIT_MODE_CS_ONLY | Carrier sense only |
| SID_PAL_RADIO_CAD_EXIT_MODE_CS_RX | Carrier sense followed by Rx |
| SID_PAL_RADIO_CAD_EXIT_MODE_CS_LBT | Carrier sense followed by Tx |
| SID_PAL_RADIO_CAD_EXIT_MODE_CS_LBT_RX | Carrier sense followed by Tx then RX |
| SID_PAL_RADIO_CAD_EXIT_MODE_ED_ONLY | Energy detect only |
| SID_PAL_RADIO_CAD_EXIT_MODE_ED_RX | Energy detect followed by Rx |
| SID_PAL_RADIO_CAD_EXIT_MODE_ED_LBT | Energy detect followed by Tx |
| SID_PAL_RADIO_CAD_EXIT_MODE_NONE | No CAD mode set |
sid_pal_radio_irq_mask_t#
sid_pal_radio_irq_mask_t
Radio IRQ MASK.
| Enumerator | |
|---|---|
| RADIO_IRQ_NONE | No interrupt |
| RADIO_IRQ_TX_DONE | Transmission done interrupt |
| RADIO_IRQ_RX_DONE | Reception done interrupt |
| RADIO_IRQ_PREAMBLE_DETECT | Preamble detection interrupt |
| RADIO_IRQ_VALID_SYNC_WORD | Valid sync word interrupt |
| RADIO_IRQ_VALID_HEADER | Valid header interrupt |
| RADIO_IRQ_ERROR_HEADER | Header error interrupt |
| RADIO_IRQ_ERROR_CRC | CRC error interrupt |
| RADIO_IRQ_CAD_DONE | Channel Activity Detection (CAD) done interrupt |
| RADIO_IRQ_CAD_DETECT | CAD detection interrupt |
| RADIO_IRQ_TXRX_TIMEOUT | Transmission or reception timeout interrupt |
| RADIO_IRQ_ALL | All interrupts |
Typedef Documentation#
sid_pal_radio_event_notify_t#
typedef void(* sid_pal_radio_event_notify_t) (sid_pal_radio_events_t events) )(sid_pal_radio_events_t events)
Radio event callback.
sid_pal_radio_irq_handler_t#
typedef void(* sid_pal_radio_irq_handler_t) (void) )(void)
Radio interrupt callback.
Macro Definition Documentation#
SID_PAL_RADIO_RX_PAYLOAD_MAX_SIZE#
#define SID_PAL_RADIO_RX_PAYLOAD_MAX_SIZEValue:
255
Defines the maximum size of the payload that can be received by the radio.
RADIO_ERROR_HARDWARE_ERROR#
#define RADIO_ERROR_HARDWARE_ERRORValue:
-6
Radio not responding to power up, reset, change of state etc
RADIO_ERROR_INVALID_STATE#
#define RADIO_ERROR_INVALID_STATEValue:
-7
Operation not valid in current radio state
RADIO_ERROR_PKT_CHECK_DCR_LIMIT#
#define RADIO_ERROR_PKT_CHECK_DCR_LIMITValue:
-9
DCR (Duty Cycle Restriction) check fail
RADIO_ERROR_PKT_CHECK_REG_LIMIT#
#define RADIO_ERROR_PKT_CHECK_REG_LIMITValue:
-10
Regulatory check fail
RADIO_ERROR_VENDOR_FIRST#
#define RADIO_ERROR_VENDOR_FIRSTValue:
-64
Add vendor error codes between -64 and -255
RADIO_ERROR_VENDOR_LAST#
#define RADIO_ERROR_VENDOR_LASTValue:
-255
Add vendor error codes between -64 and -255
SID_PAL_RADIO_UNKNOWN#
#define SID_PAL_RADIO_UNKNOWNValue:
0
Sidewalk Phy Radio State.
Unknown radio state.
SID_PAL_RADIO_CAD#
#define SID_PAL_RADIO_CADValue:
5
Channel Activity Detection (CAD) state of the radio.
SID_PAL_RADIO_STANDBY_XOSC#
#define SID_PAL_RADIO_STANDBY_XOSCValue:
6
Standby state with an external oscillator (XOSC) of the radio.