Z-Stack API Reference  3.2.0
_zstack_afdatareq_t Struct Reference

#include <zstack.h>

Data Fields

zstack_AFAddr_t dstAddr
 
uint8_t n_relayList
 
uint16_t * pRelayList
 
uint8_t srcEndpoint
 
uint16_t clusterID
 
uint8_t transID
 
zstack_TransOptions_t options
 
uint8_t radius
 
uint16_t n_payload
 
uint8_t * pPayload
 

Detailed Description

Structure to send an AF Data Request.

Field Documentation

§ clusterID

uint16_t clusterID

Cluster ID

§ dstAddr

zstack_AFAddr_t dstAddr

Destination address - The address mode in this structure must be either: afAddrNotPresent to let the reflector (source binding) figure out the destination address; zstack_AFAddrMode_GROUP to send to a group; zstack_AFAddrMode_BROADCAST to send a broadcast message; or zstack_AFAddrMode_SHORT to send directly (unicast) to a node.

§ n_payload

uint16_t n_payload

"payload" size

§ n_relayList

uint8_t n_relayList

Number of entries in relayList (use 0 for non-source routing)

§ options

The options to send this message

§ pPayload

uint8_t* pPayload

Pointer to the "payload"

§ pRelayList

uint16_t* pRelayList

Pointer to an optional arrary of hops (source routing)

§ radius

uint8_t radius

Network radius - use DEFAULT_RADIUS

§ srcEndpoint

uint8_t srcEndpoint

Source Endpoint

§ transID

uint8_t transID

Transaction ID


The documentation for this struct was generated from the following file: