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

XBee ZB configuration structure. More...

#include <tsmart_xbee_zb.h>

Data Fields

uint32_t baud_rate
 
uint16_t flow_control
 
uint8_t priority
 

Detailed Description

XBee ZB configuration structure.

Examples:
zigbee_receiver.c, and zigbee_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:
zigbee_receiver.c, and zigbee_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_ZB_FC_NONE
  • TSMART_XBEE_ZB_FC_CTS
  • TSMART_XBEE_ZB_FC_RTS
  • TSMART_XBEE_ZB_FC_RTS_CTS
Examples:
zigbee_receiver.c, and zigbee_sender.c.
uint8_t priority

Task reception priority. It is advisable to set a high priority in the user application 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:
zigbee_receiver.c, and zigbee_sender.c.