Loading...
Searching...
No Matches
xbee_t Struct Reference

XBee device descriptor. More...

Detailed Description

XBee device descriptor.

Definition at line 128 of file xbee.h.

#include <xbee.h>

Data Fields

const struct netdev_driverdriver
 ptr to that driver's interface.
 
netdev_event_cb_t event_callback
 callback for device events
 
void * context
 ptr to network stack context
 
xbee_params_t p
 configuration parameters
 
uint8_t options
 options field
 
uint8_t addr_flags
 address flags as defined above
 
uint8_t addr_short [2]
 own 802.15.4 short address
 
eui64_t addr_long
 own 802.15.4 long address
 
xbee_rx_state_t int_state
 current state if the UART RX FSM
 
uint16_t int_size
 temporary space for parsing the frame size
 
mutex_t tx_lock
 mutex to allow only one transmission at a time
 
uint8_t cmd_buf [XBEE_MAX_RESP_LENGTH]
 command data buffer
 
uint8_t tx_fid
 TX frame ID.
 
mutex_t resp_lock
 mutex for waiting for AT command response frames
 
uint8_t resp_buf [XBEE_MAX_RESP_LENGTH]
 AT response data buffer.
 
uint16_t resp_count
 counter for ongoing transmission
 
uint16_t resp_limit
 size RESP frame in transferred
 
uint8_t rx_buf [XBEE_MAX_PKT_LENGTH]
 receiving data buffer
 
uint16_t rx_count
 counter for ongoing transmission
 
uint16_t rx_limit
 size RX frame transferred
 

Field Documentation

◆ addr_flags

uint8_t xbee_t::addr_flags

address flags as defined above

Definition at line 136 of file xbee.h.

◆ addr_long

eui64_t xbee_t::addr_long

own 802.15.4 long address

Definition at line 138 of file xbee.h.

◆ addr_short

uint8_t xbee_t::addr_short[2]

own 802.15.4 short address

Definition at line 137 of file xbee.h.

◆ cmd_buf

uint8_t xbee_t::cmd_buf[XBEE_MAX_RESP_LENGTH]

command data buffer

Definition at line 146 of file xbee.h.

◆ context

void* xbee_t::context

ptr to network stack context

Definition at line 132 of file xbee.h.

◆ driver

const struct netdev_driver* xbee_t::driver

ptr to that driver's interface.

Definition at line 130 of file xbee.h.

◆ event_callback

netdev_event_cb_t xbee_t::event_callback

callback for device events

Definition at line 131 of file xbee.h.

◆ int_size

uint16_t xbee_t::int_size

temporary space for parsing the frame size

Definition at line 141 of file xbee.h.

◆ int_state

xbee_rx_state_t xbee_t::int_state

current state if the UART RX FSM

Definition at line 140 of file xbee.h.

◆ options

uint8_t xbee_t::options

options field

Definition at line 135 of file xbee.h.

◆ p

xbee_params_t xbee_t::p

configuration parameters

Definition at line 134 of file xbee.h.

◆ resp_buf

uint8_t xbee_t::resp_buf[XBEE_MAX_RESP_LENGTH]

AT response data buffer.

Definition at line 151 of file xbee.h.

◆ resp_count

uint16_t xbee_t::resp_count

counter for ongoing transmission

Definition at line 152 of file xbee.h.

◆ resp_limit

uint16_t xbee_t::resp_limit

size RESP frame in transferred

Definition at line 153 of file xbee.h.

◆ resp_lock

mutex_t xbee_t::resp_lock

mutex for waiting for AT command response frames

Definition at line 149 of file xbee.h.

◆ rx_buf

uint8_t xbee_t::rx_buf[XBEE_MAX_PKT_LENGTH]

receiving data buffer

Definition at line 155 of file xbee.h.

◆ rx_count

uint16_t xbee_t::rx_count

counter for ongoing transmission

Definition at line 156 of file xbee.h.

◆ rx_limit

uint16_t xbee_t::rx_limit

size RX frame transferred

Definition at line 157 of file xbee.h.

◆ tx_fid

uint8_t xbee_t::tx_fid

TX frame ID.

Definition at line 147 of file xbee.h.

◆ tx_lock

mutex_t xbee_t::tx_lock

mutex to allow only one transmission at a time

Definition at line 144 of file xbee.h.


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