ZPS_vNwkNibSetLeaveAllowed
void ZPS_vNwkNibSetLeaveAllowed(void *pvNwk,
bool bLeave);
Description
This function can be called on a Router or End Device to determine whether the device should leave the network on receiving a leave request. It has no effect on a Coordinator.
If called with bLeave set to TRUE, the device obeys a leave request.
If called with bLeave set to FALSE, the device ignores a leave request.
Parent topic:ZPS_vNwkNibSetLeaveAllowed
Parameters
pvNwk Pointer to NWK layer instance
bLeaveBoolean value indicating whether the device leaves the network when requested or ignores leave request messages:
TRUE - Obey leave request messages.
FALSE - Ignore leave request messages.
Parent topic:ZPS_vNwkNibSetLeaveAllowed
Returns
None
Parent topic:ZPS_vNwkNibSetLeaveAllowed
Parent topic:Network deployment functions