Z-Stack API Reference
3.2.0
|
#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 |
Structure to send an AF Data Request.
uint16_t clusterID |
Cluster ID
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.
uint16_t n_payload |
"payload" size
uint8_t n_relayList |
Number of entries in relayList (use 0 for non-source routing)
zstack_TransOptions_t options |
The options to send this message
uint8_t* pPayload |
Pointer to the "payload"
uint16_t* pRelayList |
Pointer to an optional arrary of hops (source routing)
uint8_t radius |
Network radius - use DEFAULT_RADIUS
uint8_t srcEndpoint |
Source Endpoint
uint8_t transID |
Transaction ID