Device descriptor for KW2XRF radio devices. More...
#include <kw2xrf.h>
thread_t * | thread |
device specific fields More... | |
const kw2xrf_params_t * | params |
parameters for initialization | |
uint8_t | buf [KW2XRF_MAX_PKT_LENGTH] |
Buffer for incoming or outgoing packets. | |
uint8_t | state |
current state of the radio | |
uint8_t | tx_frame_len |
length of the current TX frame | |
uint8_t | idle_state |
state to return to after sending | |
uint8_t | pending_tx |
keep track of pending TX calls this is required to know when to return to kw2xrf_t::idle_state | |
int16_t | tx_power |
The current tx-power setting of the device. | |
bool | ack_requested |
ACK was requested for last frame. | |
bool | ch_clear |
CCA indicated channel clear. | |
bool | waiting_for_cca |
Indicate whether CCA is still ongoing. | |
bool | tx_done |
Indicate whether TX completed. | |
bool | ack_rcvd |
Indicate if ACK was received for last transmission. | |
bool | cca_before_tx |
true if CCA shall be performed before TX | |
bool | tx_cca_pending |
true a manual CCA was started and a TX should be triggered on channel clear indication | |
Additional Inherited Members | |
![]() | |
netdev_t | netdev |
netdev_t base class | |
uint16_t | pan |
IEEE 802.15.4 specific fields. More... | |
uint8_t | short_addr [IEEE802154_SHORT_ADDRESS_LEN] |
Short address in network byte order. | |
uint8_t | long_addr [IEEE802154_LONG_ADDRESS_LEN] |
Long address in network byte order. | |
uint8_t | seq |
sequence number | |
uint8_t | chan |
channel | |
uint8_t | page |
channel page | |
uint16_t | flags |
flags as defined above | |
int16_t | txpower |
tx power in dBm | |
ieee802154_sec_context_t | sec_ctx |
security context | |
![]() | |
const struct netdev_driver * | driver |
ptr to that driver's interface. | |
netdev_event_cb_t | event_callback |
callback for device events | |
void * | context |
ptr to network stack context | |
thread_t* kw2xrf_t::thread |