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

Data structure to receive. More...

#include <tsmart_xbee_zb.h>

Data Fields

uint8_t data [PR_TSMART_XBEE_ZB_MAX_API_PAYLOAD]
 
uint32_t high_addr_source
 
uint32_t low_addr_source
 
uint16_t network_addr_16bit
 
uint8_t opt
 

Detailed Description

Data structure to receive.

Examples:
zigbee_receiver.c.

Field Documentation

uint8_t data[PR_TSMART_XBEE_ZB_MAX_API_PAYLOAD]

Data (up to 100 bytes)

Examples:
zigbee_receiver.c.
uint32_t high_addr_source

High source address

Examples:
zigbee_receiver.c.
uint32_t low_addr_source

Low source address

Examples:
zigbee_receiver.c.
uint16_t network_addr_16bit

16-bit address of sender

uint8_t opt

Received options:

  • 0x01 - Packet acknowledged
  • 0x02 - Packet was a broadcast packet
  • 0x20 - Packet encrypted with APS encryption
  • 0x40 - Packet was sent from an end device (if known)

Note: Option values can be combined. For example, a 0x40 and a 0x01 will show as a 0x41. Other possible values 0x21, 0x22, 0x41, 0x42, 0x60, 0x61, 0x62.