AF DATA REQUEST EXT

=Description= This command is used to send a Zigbee message to another device. It is similar to an AF DATA REQUEST command but has additional options for sending via long address and other features. it is also used for Fragmentation. After sending an AF_DATA_REQUEST_EXT message, since this is a Synchronous_Request_Message you will receive the AF_DATA_REQUEST_EXT response. Once the message has been acknowledged then you will receive an AF_DATA_CONFIRM message.

See the Fragmentation Example for how to do this.

=Library Function= afSendDataExtended in af.c.

=Usage=

Fields:
 * DstAddrMode: Set to 3 if using long address, or 2 if using short address
 * Destination Address: The Short Address or MAC Address of the destination device
 * Destination Endpoint: The Endpoint that the message was received on
 * Destination PANID: Set to 0x0000
 * Source Endpoint: The Endpoint that the message was sent from
 * ClusterId: The Cluster of the received message
 * Transaction Sequence Number: The Sequence Number of the received message.
 * Options: Bitmask of the following options
 * 0x10: AF_ACK_REQUEST - if set then use Application Level Acknowledgements
 * 0x20: AF_DISCV_ROUTE - if set then force route discovery if a routing table entry doesn't exist
 * 0x40: AF_EN_SECURITY - not used
 * Radius: The maximum number of hops allowed delivering the message
 * Len: The length of the data. If using Fragmentation then set to 0.
 * Data: The data