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

Data to send structure. More...

#include <tsmart_xbee_zb.h>

Data Fields

uint8_t frame_id
 
uint32_t high_addr_dest
 
uint32_t low_addr_dest
 
uint16_t network_addr_16bit
 
uint8_t broadcast_radius
 
uint8_t opt
 
uint8_t payload [PR_TSMART_XBEE_ZB_MAX_API_PAYLOAD]
 
uint32_t payload_size
 
tsmart_xbee_zb_api_type_frame_t api_type_frame
 

Detailed Description

Data to send structure.

Examples:
zigbee_sender.c.

Field Documentation

Type of frame: TSMART_XBEE_ZB_API_CMD_TX_REQ (Only supported this at present )

Examples:
zigbee_sender.c.
uint8_t broadcast_radius

Maximum number of hops a broadcast transmission can occur

Examples:
zigbee_sender.c.
uint8_t frame_id

Frame ID of the frame

Examples:
zigbee_sender.c.
uint32_t high_addr_dest

High destination address

Examples:
zigbee_sender.c.
uint32_t low_addr_dest

Low destination address

Examples:
zigbee_sender.c.
uint16_t network_addr_16bit

16-bit address

Examples:
zigbee_sender.c.
uint8_t opt

Supported transmission options:

  • 0x01 - Disable ACK
  • 0x20 - Enable APS encryption (if encryption is enabled)
  • 0x40 - Use the extended transmission timeout for this destination
Examples:
zigbee_sender.c.
uint8_t payload[PR_TSMART_XBEE_ZB_MAX_API_PAYLOAD]

Data (up to 100 bytes)

Examples:
zigbee_sender.c.
uint32_t payload_size

Data size

Examples:
zigbee_sender.c.