ZPS_vSetTablesClearOnLeaveWithoutRejoin
void ZPS_vSetTablesClearOnLeaveWithoutRejoin(
bool_t bClear);
Description
This function can be called on a Router or End Device to configure whether various tabulated context data must be cleared from the node when it leaves the network without the intention to rejoin.
By default, the Neighbor table, Binding table and Group table are cleared on a Router, and the network key is cleared on a Router and End Device. In addition, other devices remove the node from their Binding tables on detecting the leave request (without the rejoin flag set).
This function can be used to over-ride this behavior in order to preserve this table data. It can also be used to later reinstate the default behavior.
Parent topic:ZPS_vSetTablesClearOnLeaveWithoutRejoin
Parameters
bClear Boolean value indicating whether the node should clear the table data when leaving the network without a future rejoin:
TRUE - Clear table data (default behavior)
FALSE - Do not clear table data
Parent topic:ZPS_vSetTablesClearOnLeaveWithoutRejoin
Returns
None
Parent topic:ZPS_vSetTablesClearOnLeaveWithoutRejoin
Parent topic:Network deployment functions