ieee802154_submac Struct Reference

IEEE 802.15.4 SubMAC descriptor. More...

Detailed Description

IEEE 802.15.4 SubMAC descriptor.

Definition at line 106 of file submac.h.

#include <submac.h>

Data Fields

eui64_t ext_addr
 IEEE 802.15.4 extended address.
 
network_uint16_t short_addr
 IEEE 802.15.4 short address.
 
ieee802154_dev_tdev
 pointer to the 802.15.4 HAL descriptor
 
const ieee802154_submac_cb_tcb
 pointer to the SubMAC callbacks
 
ieee802154_csma_be_t be
 CSMA-CA backoff exponent params.
 
bool wait_for_ack
 SubMAC is waiting for an ACK frame.
 
bool tx
 SubMAC is currently transmitting a frame.
 
uint16_t panid
 IEEE 802.15.4 PAN ID.
 
uint16_t channel_num
 IEEE 802.15.4 channel number.
 
uint8_t channel_page
 IEEE 802.15.4 channel page.
 
uint8_t retrans
 current number of retransmissions
 
uint8_t csma_retries_nb
 current number of CSMA-CA retries
 
uint8_t backoff_mask
 internal value used for random backoff calculation
 
uint8_t csma_retries
 maximum number of CSMA-CA retries
 
int8_t tx_pow
 Transmission power (in dBm)
 
ieee802154_submac_state_t state
 State of the SubMAC.
 

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