Category:ZDO Interface

The Zigbee Device Objects (ZDO) interface follows the Zigbee Alliance specification. The ZDO not only interacts with the application layer (APS), but also interacts directly with the network layer, telling it when to form or join a network, and when to leave, and provides the application interface to network layer management services. For example, ZDO can be configured to continue attempting to join a network until it is successful, or until a user-specified number-of-retries has occurred before giving up, and informing the application of the join failure.

Notable commands:
 * ZDO_STARTUP_FROM_APP Start the Module using a previously registered application configuration.
 * ZDO_END_DEVICE_ANNCE_IND When the module has been configured as a Coordinator, the command received from the Module when another device has joined the network.
 * ZDO_MGMT_PERMIT_JOIN_REQ Configures whether devices may join the network or not.
 * ZDO_NWK_ADDR_REQ Gets a device's short address based on a known 8-byte MAC Address. Response is ZDO_NWK_ADDR_RSP.
 * ZDO_IEEE_ADDR_REQ Gets a device's 8-byte MAC Address based on a known short address. Response is ZDO_IEEE_ADDR_RSP.

To scan for all nearby networks, use ZDO_NWK_DISCOVERY_REQ which will return one or more ZDO_BEACON_NOTIFY_IND messages and then a ZDO_NWK_DISCOVERY_CNF message when the scan is complete.