ZigBee Device Object Commands (ZDO)#
Commands related to the management of a ZigBee device including device discovery and commissioning.
Macros#
zdo active [nodeId:2]
zdo bind [destination:2] [source Endpoint:1] [destEndpoint:1] [cluster:2] [remoteEUI64:8] [destEUI64:8]
zdo ieee [nodeId:2]
zdo in-cl-list add [clusterId:2]
zdo in-cl-list clear
zdo leave [target:2] [removeChildren:1] [rejoin:1]
zdo match [nodeId:2] [profile:2]
zdo mgmt-bind [target:2] [startIndex:1]
zdo mgmt-lqi [target:2] [startIndex:1]
zdo node [target:2]
zdo nwk [ieee:8]
zdo nwk-upd chan [channel:1]
zdo nwk-upd chanPg [channel:1] [page:1]
zdo nwk-upd scan [targetNodeId:2] [scanDuration:1] [scanCount:2]
zdo nwk-upd scan-chan-mask [targetNodeId:2] [scanDuration:1] [scanCount:2] [channelMask:4]
zdo nwk-upd set [nwkMgrId:2] [channelMask:4]
zdo out-cl-list add [clusterId:2]
zdo out-cl-list clear
zdo power [target:2]
zdo route [target:2] [index:1]
zdo simple [dest:2] [targetEndpoint:1]
zdo unbind group [target:2] [source eui64:8] [source endpoint:1] [clusterID:2] [groupAddress:2]
zdo unbind unicast [target:2] [source eui64:8] [source endpoint:1] [clusterID:2] [destinationEUI64:8] [destEndpoint:1]
Macro Definition Documentation#
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_ACTIVE#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_ACTIVE
zdo active [nodeId:2]
Send an active endpoint request to the device with the given short id.
nodeId - INT16U - Two byte short id, destination for the active endpoint request
707
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_BIND#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_BIND
zdo bind [destination:2] [source Endpoint:1] [destEndpoint:1] [cluster:2] [remoteEUI64:8] [destEUI64:8]
Send a ZDO Bind command to a device specified in the command arguments.
destination - INT16U - Two byte destination node id
source Endpoint - INT8U - Remote device's source endpoint to bind
destEndpoint - INT8U - Remote endpoint to bind
cluster - INT16U - Cluster on which to bind
remoteEUI64 - IEEE_ADDRESS - Remote node EUI64
destEUI64 - IEEE_ADDRESS - Binding's dest EUI64. Usually the local node's EUI64
718
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_IEEE#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_IEEE
zdo ieee [nodeId:2]
Request an ieee address based on a given node id.
nodeId - INT16U - Short address of the device for which a long address is requested
724
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_IN_CL_LIST_ADD#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_IN_CL_LIST_ADD
zdo in-cl-list add [clusterId:2]
Add clusters to the known server (in) clusters on this device.
clusterId - INT16U - Server cluster id
730
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_IN_CL_LIST_CLEAR#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_IN_CL_LIST_CLEAR
zdo in-cl-list clear
Clear the ZDO list of server (in) clusters.
735
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_LEAVE#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_LEAVE
zdo leave [target:2] [removeChildren:1] [rejoin:1]
Send a ZDO Management Leave command to the target device.
target - INT16U - Target node ID
removeChildren - BOOLEAN - Remove children
rejoin - BOOLEAN - Rejoin after leave
743
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_MATCH#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_MATCH
zdo match [nodeId:2] [profile:2]
Sends a matchDescriptorsRequest to the given destination with the given profile.
nodeId - INT16U - Two byte node id indicating wher
profile - INT16U - Two byte profile id for the match descriptor request
750
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_MGMT_BIND#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_MGMT_BIND
zdo mgmt-bind [target:2] [startIndex:1]
Send a ZDO MGMT-Bind (Binding Table) Request to the target device.
target - INT16U - Target node ID
startIndex - INT8U - Starting index into table query
757
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_MGMT_LQI#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_MGMT_LQI
zdo mgmt-lqi [target:2] [startIndex:1]
Send a ZDO MGMT-LQI (LQI Table) Request to the target device.
target - INT16U - Target node ID
startIndex - INT8U - Starting index into table query
764
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NODE#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NODE
zdo node [target:2]
Sends a node descriptor request to a given target device
target - INT16U - Two byte address for the target device.
770
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK
zdo nwk [ieee:8]
Sends a network address request for the given IEEE address.
ieee - IEEE_ADDRESS - IEEE address for which a short address is being requested
776
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_CHAN#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_CHAN
zdo nwk-upd chan [channel:1]
Sends an update channel request.
channel - INT8U - One byte channel to change to.
782
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_CHAN_PG#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_CHAN_PG
zdo nwk-upd chanPg [channel:1] [page:1]
Sends an update channel page request. The stack shall send network enhanced update request if page is non-zero.
channel - INT8U - One byte channel to change to.
page - INT8U - One byte page to change to.
789
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_SCAN#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_SCAN
zdo nwk-upd scan [targetNodeId:2] [scanDuration:1] [scanCount:2]
Performs an energy scan.
targetNodeId - INT16U - Two byte short id of the target device
scanDuration - INT8U - One byte scan duration. Must be in range 0 - 5
scanCount - INT16U - Number of scans to perform. Must be in range 1 - 8
797
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_SCAN_CHAN_MASK#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_SCAN_CHAN_MASK
zdo nwk-upd scan-chan-mask [targetNodeId:2] [scanDuration:1] [scanCount:2] [channelMask:4]
Performs an energy scan on given channel mask. This can be used to perform scanning with page number embedded in channel mask, it mainly used for subghz network. The stack shall send network enhanced update request if page is non-zero.
targetNodeId - INT16U - Two byte short id of the target device
scanDuration - INT8U - One byte scan duration. Must be in range 0 - 5
scanCount - INT16U - Number of scans to perform. Must be in range 1 - 8
channelMask - INT32U - Four byte channel mask
806
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_SET#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_NWK_UPD_SET
zdo nwk-upd set [nwkMgrId:2] [channelMask:4]
Broadcasts the ID of the new network manager and active channels.
nwkMgrId - INT16U - Two byte network manager id
channelMask - INT32U - Four byte channel mask
813
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_OUT_CL_LIST_ADD#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_OUT_CL_LIST_ADD
zdo out-cl-list add [clusterId:2]
Add clusters to the known client (out) clusters on this device.
clusterId - INT16U - Client cluster ids
819
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_OUT_CL_LIST_CLEAR#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_OUT_CL_LIST_CLEAR
zdo out-cl-list clear
Clear the ZDO list of client (out) clusters.
824
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_POWER#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_POWER
zdo power [target:2]
Send a ZDO Power Descriptor Request to the target device.
target - INT16U - Target node ID
830
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_ROUTE#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_ROUTE
zdo route [target:2] [index:1]
Send a ZDO route request command to the target.
target - INT16U - Target node ID
index - INT8U - The index of the remote node's routing table to request.
837
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_SIMPLE#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_SIMPLE
zdo simple [dest:2] [targetEndpoint:1]
Sends out a simple descriptor request for the short address and endpoint specified.
dest - INT16U - Short address of the device where the simple descriptor request should be sent
targetEndpoint - INT8U - The endpoint on the target device where the simple descriptor request will be sent
844
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_UNBIND_GROUP#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_UNBIND_GROUP
zdo unbind group [target:2] [source eui64:8] [source endpoint:1] [clusterID:2] [groupAddress:2]
Sends an unbind request for a multicast binding to the target device.
target - INT16U - Target node ID
source eui64 - IEEE_ADDRESS - The source EUI64 of the binding (the remote device's EUI64)
source endpoint - INT8U - The source endpoint of the binding.
clusterID - INT16U - The cluster ID to unbind.
groupAddress - INT16U - The group address in the binding
854
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc
EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_UNBIND_UNICAST#
#define EMBER_AF_DOXYGEN_CLI_COMMAND_ZDO_ZDO_UNBIND_UNICAST
zdo unbind unicast [target:2] [source eui64:8] [source endpoint:1] [clusterID:2] [destinationEUI64:8] [destEndpoint:1]
Sends an unbind request for a unicast binding to the target device.
target - INT16U - Target node ID
source eui64 - IEEE_ADDRESS - The source EUI64 of the binding (the remote device's EUI64)
source endpoint - INT8U - The source endpoint of the binding.
clusterID - INT16U - The cluster ID to unbind.
destinationEUI64 - IEEE_ADDRESS - The destination EUI64 in the binding (usually the local node's EUI64
destEndpoint - INT8U - The destination endpoint of the binding
865
of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/framework/test/headers/cli.doc