The Zigbee Device Object (ZDO) layer manages the ZDP requests and uses them for various
network control scenarios.
Use the ZDP requests to process the network leave when a device needs to leave the
network on certain events. Network leave can be self-induced on a node or a node can
order another remote node to leave the network.
The following figure illustrates a node with a short address: 0x457a. It
leaves the network on its own (self-induced) and rejoins the network (see packet
#3300) by sending a rejoin request.Figure 5-6. Self-Leave of Node (End
Device) with Short Address 0x457a and Extended Address
0xdeeb1ULL
The node rejoins because the Rejoin bit is set to True
in the Command Frame: Leave. The following figure illustrates the leave
packet rejoin bit setting.Figure 5-7. Leave Packet Rejoin Bit
Setting
The following figure illustrates a parent node requesting the child device with a short
address, 0x6915, to leave (Leave Request) (see packet
#99). The child device sends a rejoin response (see packet
#101). After a few seconds, the child device rejoins the network
with the same short address. In this case, the child device rejoins a network with known
network parameters, such as network PANID.Figure 5-8. Parent Node 0x0000 Sends a ZDP
Request Requesting Child 0x6915 to Leave
The following figure illustrates the parent request to the child device to leave the
network with no rejoin.Figure 5-9. Parent Induced Leave with No Rejoin