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

Data to send structure. More...

#include <tsmart_xbee_802.h>

Data Fields

uint8_t frame_id
 
uint32_t high_addr_dest
 
uint32_t low_addr_dest
 
uint8_t payload [PR_TSMART_XBEE_802_MAX_API_PAYLOAD]
 
uint32_t payload_size
 
tsmart_xbee_802_api_type_frame_t api_type_frame
 

Detailed Description

Data to send structure.

Examples:
xbee802_15_4_sender.c.

Field Documentation

Type of frame, it must be set to:

  • TSMART_XBEE_802_API_CMD_TX_16bit
  • TSMART_XBEE_802_API_CMD_TX_64bit
Examples:
xbee802_15_4_sender.c.
uint8_t frame_id

Frame ID of the frame. If this parameter is set to 0, there won't be any ACK

Examples:
xbee802_15_4_sender.c.
uint32_t high_addr_dest

High destination address

Examples:
xbee802_15_4_sender.c.
uint32_t low_addr_dest

Low destination address

Examples:
xbee802_15_4_sender.c.
uint8_t payload[PR_TSMART_XBEE_802_MAX_API_PAYLOAD]

Payload (up to 100 bytes)

Examples:
xbee802_15_4_sender.c.
uint32_t payload_size

Payload size

Examples:
xbee802_15_4_sender.c.