Device descriptor for KW2XRF radio devices. More...
#include <kw2xrf.h>
Data Fields | |
| netdev_ieee802154_t | netdev |
| netdev parent struct | |
Data Fields inherited from netdev_ieee802154_t | |
| 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 | |
Data Fields inherited from netdev | |
| 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 * | thread |
| device specific fields More... | |
| 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. | |
| thread_t* kw2xrf_t::thread |