According to the Zigbee Spec, Section 3.4.4.3.1.1 Rejoin Sub-Field:
"The Rejoin sub-field is a single-bit field. If the value of this sub-field is 1, the device that is leaving from its current parent will rejoin the network. If the value of this sub-field is 0, the device will not rejoin the network"
In a simple experiment on ZHA-1.2.0, only on ZC+ZED, when the ZC send out a Leave Command with Rejoin flag set true, the enddevice would leave the network and continuously send out the Beacon Request, but it would not issue the re-join command though received the Beacon Reply from the ZC; thus it could not join the network again...
Is that expected for an endevice to rejoin back to the same network if a Leave Command with rejoin set to true?