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

XBee DM configuration structure. More...

#include <tsmart_xbee_dm.h>

Data Fields

uint32_t baud_rate
 
uint16_t flow_control
 
uint8_t priority
 

Detailed Description

XBee DM configuration structure.

Examples:
cumulocity_nfc_wifi_xbee.c, digimesh_receiver.c, digimesh_sender.c, and xv_nfc_wifi_xbee.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:
cumulocity_nfc_wifi_xbee.c, digimesh_receiver.c, digimesh_sender.c, and xv_nfc_wifi_xbee.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_DM_FC_NONE
  • TSMART_XBEE_DM_FC_RTS
  • TSMART_XBEE_DM_FC_CTS
  • TSMART_XBEE_DM_FC_RTS_CTS
Examples:
cumulocity_nfc_wifi_xbee.c, digimesh_receiver.c, digimesh_sender.c, and xv_nfc_wifi_xbee.c.
uint8_t priority

Task reception priority. It is advisable to set 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:
cumulocity_nfc_wifi_xbee.c, digimesh_receiver.c, digimesh_sender.c, and xv_nfc_wifi_xbee.c.