A configuration structure for IEEE 802.15.4 in RAIL.

Public Attributes#

Configure the RAIL Address Filter to allow the given destination addresses.

Define the Acking configuration for the IEEE 802.15.4 implementation.

Define state timings for the IEEE 802.15.4 implementation.

uint8_t

Set which 802.15.4 frame types will be received, of Beacon, Data, Ack, and Command.

bool

Enable promiscuous mode during configuration.

bool

Set whether the device is a PAN Coordinator during configuration.

bool

The default value for the Frame Pending bit in outgoing Acks for packets that triggered the SL_RAIL_EVENT_IEEE802154_DATA_REQUEST_COMMAND event.

Public Attribute Documentation#

p_addresses#

const sl_rail_ieee802154_addr_config_t* sl_rail_ieee802154_config_t::p_addresses

Configure the RAIL Address Filter to allow the given destination addresses.

If this pointer is NULL, defer destination address configuration. If a member of addresses is NULL, defer configuration of just that member. This can be overridden via sl_rail_ieee802154_set_addresses(), or the individual members can be changed via sl_rail_ieee802154_set_pan_id(), sl_rail_ieee802154_set_short_address(), and sl_rail_ieee802154_set_long_address().


ack_config#

sl_rail_auto_ack_config_t sl_rail_ieee802154_config_t::ack_config

Define the Acking configuration for the IEEE 802.15.4 implementation.


timings#

sl_rail_state_timing_t sl_rail_ieee802154_config_t::timings

Define state timings for the IEEE 802.15.4 implementation.


frames_mask#

uint8_t sl_rail_ieee802154_config_t::frames_mask

Set which 802.15.4 frame types will be received, of Beacon, Data, Ack, and Command.

This setting can be overridden via sl_rail_ieee802154_accept_frames().


promiscuous_mode#

bool sl_rail_ieee802154_config_t::promiscuous_mode

Enable promiscuous mode during configuration.

This can be overridden via sl_rail_ieee802154_set_promiscuous_mode() afterwards.


is_pan_coordinator#

bool sl_rail_ieee802154_config_t::is_pan_coordinator

Set whether the device is a PAN Coordinator during configuration.

This can be overridden via sl_rail_ieee802154_set_pan_coordinator() afterwards.


default_frame_pending_in_outgoing_acks#

bool sl_rail_ieee802154_config_t::default_frame_pending_in_outgoing_acks

The default value for the Frame Pending bit in outgoing Acks for packets that triggered the SL_RAIL_EVENT_IEEE802154_DATA_REQUEST_COMMAND event.

Such an Ack's Frame Pending bit can be inverted if necessary during the handling of that event by calling sl_rail_ieee802154_toggle_frame_pending().