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

Data to send structure. More...

#include <tsmart_xbee_868.h>

Data Fields

uint8_t frame_id
 
uint32_t high_addr_dest
 
uint32_t low_addr_dest
 
uint8_t broadcast_radius
 
uint8_t transmit_options
 
uint8_t payload [PR_TSMART_XBEE_868_MAX_API_PAYLOAD]
 
uint32_t payload_size
 

Detailed Description

Data to send structure.

Examples:
xbee868_sender.c.

Field Documentation

uint8_t broadcast_radius

Set to 0

Examples:
xbee868_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:
xbee868_sender.c.
uint32_t high_addr_dest

High destination address

Examples:
xbee868_sender.c.
uint32_t low_addr_dest

Low destination address

Examples:
xbee868_sender.c.
uint8_t payload[PR_TSMART_XBEE_868_MAX_API_PAYLOAD]

Payload (up to 237 bytes)

Examples:
xbee868_sender.c.
uint32_t payload_size

Payload size

Examples:
xbee868_sender.c.
uint8_t transmit_options

Tansmit options:

  • 0x01 - Disable ACK.
  • 0x10 - Duty purge packet (if a packet would be delayed because of duty cycle, then purge the packet.
  • 0x00 - Enable ACK.
Examples:
xbee868_sender.c.