ZDO MGMT PERMIT JOIN REQ

=Description= This command is used to control how Joining works on the network. By default (on startup) joining is turned on with no timeout.

You will receive in response a ZDO_MGMT_PERMIT_JOIN_RSP confirming the change in join permissions.

Note: if using this command then you might want to change startup behavior to NOT clear the network configuration. Otherwise whenever the coordinator restarts all nodes will have to rejoin manually.

=Library Function= none

=Usage=

Fields:
 * DstAddr: The Short Address of the device that you want to set joining permissions for. Usually this is the local device address or the special broadcast address of 0xFFFC for all routers and coordinator. This way you can modify the joining permissions of one node or the entire network.
 * Duration: The amount of time in seconds that joining permissions will be turned on, or:
 * 0x00: Turn off joining indefinitely
 * 0x01: Turn on joining indefinitely
 * TCSignificance: Set to 0.

Fields:
 * Status: 0 if success, else an error code.