API  2.3.0
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
tsmart_xbee_802_config_t Struct Reference

XBee 802 configuration structure. More...

#include <tsmart_xbee_802.h>

Data Fields

uint32_t baud_rate
 
uint16_t flow_control
 
uint8_t priority
 

Detailed Description

XBee 802 configuration structure.

Examples:
xbee802_15_4_receiver.c, and xbee802_15_4_sender.c.

Field Documentation

uint32_t baud_rate

This member configures the UART communication baud rate.

  • 0 - 1200bps
  • 1 - 2400bps
  • 2 - 4800bps
  • 3 - 9600bps
  • 4 - 19200bps
  • 5 - 38400bps
  • 6 - 57600bps
Examples:
xbee802_15_4_receiver.c, and xbee802_15_4_sender.c.
uint16_t flow_control

Specifies whether the hardware flow control mode is enabled or disabled. This parameter shall be selected amongst the following values:

  • TSMART_XBEE_802_FC_NONE
  • TSMART_XBEE_802_FC_CTS
  • TSMART_XBEE_802_FC_RTS
  • TSMART_XBEE_802_FC_RTS_CTS
Examples:
xbee802_15_4_receiver.c, and xbee802_15_4_sender.c.
uint8_t priority

Task reception priority. It is advisable setting a high priority in your system for this task. The reception task avoid loss packets reading of the specific UART buffer and queue them in the adequate queue to be read by the user using the different API functions

Examples:
xbee802_15_4_receiver.c, and xbee802_15_4_sender.c.