4.1. Sending and Receiving Data

The whole point of a wireless network is to send reliable data between nodes in the network, and ZigBee makes it easy. The ZigBee network automatically figures out how to route the data from one node to another with the maximum chance of success.
To send data from one node to another in the Freescale platform, for example, simply call:
AF_DataRequest(&addrInfo, iDataSize, pPtrToData, NULL);
That's it. ZigBee takes care of the rest!
ZigBee uses standard networking terms for data transmission, as defined by IEEE. This includes:
• Data Request (which means to transmit data)
• Data Confirm (which means the acknowledgment of a data request)
• Data Indication (which means to receive data)
Data requests are initiated by the ...

Get Zigbee Wireless Networking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.