Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#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 | |
}; | |
IEEE802.15.4 driver configuration data.
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
uint8_t* ieee802154_config::addr |
struct { ... } ieee802154_config::auto_ack_fpb |
IEEE802154_CONFIG_AUTO_ACK_FPB
uint8_t ieee802154_config::channel |
uint32_t ieee802154_config::csl_period |
IEEE802154_CONFIG_CSL_PERIOD
uint32_t ieee802154_config::csl_rx_time |
IEEE802154_CONFIG_CSL_RX_TIME
const uint8_t* ieee802154_config::data |
uint16_t ieee802154_config::data_len |
uint32_t ieee802154_config::duration |
bool ieee802154_config::enabled |
ieee802154_event_cb_t ieee802154_config::event_handler |
IEEE802154_CONFIG_EVENT_HANDLER
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.
bool ieee802154_config::extended |
uint32_t ieee802154_config::frame_counter |
IEEE802154_CONFIG_FRAME_COUNTER
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.
enum ieee802154_fpb_mode ieee802154_config::mode |
bool ieee802154_config::pan_coordinator |
IEEE802154_CONFIG_PAN_COORDINATOR
bool ieee802154_config::promiscuous |
IEEE802154_CONFIG_PROMISCUOUS
struct { ... } ieee802154_config::rx_slot |
IEEE802154_CONFIG_RX_SLOT
uint16_t ieee802154_config::short_addr |
uint32_t ieee802154_config::start |