Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
ieee802154_config Struct Reference

#include <ieee802154_radio.h>

Data Fields

union {
   struct {
      bool   enabled
 
      enum ieee802154_fpb_mode   mode
 
   }   auto_ack_fpb
 
   struct {
      uint8_t *   addr
 
      bool   extended
 
      bool   enabled
 
   }   ack_fpb
 
   bool   pan_coordinator
 
   bool   promiscuous
 
   ieee802154_event_cb_t   event_handler
 
   struct ieee802154_key *   mac_keys
 
   uint32_t   frame_counter
 
   struct {
      uint8_t   channel
 
      uint32_t   start
 
      uint32_t   duration
 
   }   rx_slot
 
   uint32_t   csl_period
 
   uint32_t   csl_rx_time
 
   struct {
      const uint8_t *   data
 
      uint16_t   data_len
 
      uint16_t   short_addr
 
      const uint8_t *   ext_addr
 
   }   ack_ie
 
}; 
 

Detailed Description

IEEE802.15.4 driver configuration data.

Field Documentation

◆ 

union { ... } ieee802154_config::@153

Configuration data.

◆ 

struct { ... } ieee802154_config::ack_fpb

IEEE802154_CONFIG_ACK_FPB

◆ 

struct { ... } ieee802154_config::ack_ie

IEEE802154_CONFIG_ENH_ACK_HEADER_IE

◆ addr

uint8_t* ieee802154_config::addr

◆ 

struct { ... } ieee802154_config::auto_ack_fpb

IEEE802154_CONFIG_AUTO_ACK_FPB

◆ channel

uint8_t ieee802154_config::channel

◆ csl_period

uint32_t ieee802154_config::csl_period

IEEE802154_CONFIG_CSL_PERIOD

◆ csl_rx_time

uint32_t ieee802154_config::csl_rx_time

IEEE802154_CONFIG_CSL_RX_TIME

◆ data

const uint8_t* ieee802154_config::data

◆ data_len

uint16_t ieee802154_config::data_len

◆ duration

uint32_t ieee802154_config::duration

◆ enabled

bool ieee802154_config::enabled

◆ event_handler

ieee802154_event_cb_t ieee802154_config::event_handler

IEEE802154_CONFIG_EVENT_HANDLER

◆ ext_addr

const uint8_t* ieee802154_config::ext_addr

The extended address is expected to be passed starting with the leftmost octet and ending with the rightmost octet. A device with an extended address 01:23:45:67:89:ab:cd:ef should provide a pointer to array containing values in the same exact order.

◆ extended

bool ieee802154_config::extended

◆ frame_counter

uint32_t ieee802154_config::frame_counter

IEEE802154_CONFIG_FRAME_COUNTER

◆ mac_keys

struct ieee802154_key* ieee802154_config::mac_keys

IEEE802154_CONFIG_MAC_KEYS Pointer to an array containing a list of keys used for MAC encryption. Refer to secKeyIdLookupDescriptor and secKeyDescriptor in IEEE 802.15.4

key_value field points to a buffer containing the 16 byte key. The buffer is copied by the callee.

The variable length array is terminated by key_value field set to NULL.

◆ mode

enum ieee802154_fpb_mode ieee802154_config::mode

◆ pan_coordinator

bool ieee802154_config::pan_coordinator

IEEE802154_CONFIG_PAN_COORDINATOR

◆ promiscuous

bool ieee802154_config::promiscuous

IEEE802154_CONFIG_PROMISCUOUS

◆ 

struct { ... } ieee802154_config::rx_slot

IEEE802154_CONFIG_RX_SLOT

◆ short_addr

uint16_t ieee802154_config::short_addr

◆ start

uint32_t ieee802154_config::start

The documentation for this struct was generated from the following file: