ZPS_vNwkNibSetLeaveRejoin

void ZPS_vNwkNibSetLeaveRejoin(void *pvNwk,
                               bool bRejoin);

Description

This function can be called on a Router or End Device to configure the device to automatically rejoin after leaving the network, even when a ‘leave without rejoin’ was requested.

  • If called with bRejoin set to TRUE, the device will rejoin following a leave.

  • If called with bRejoin set to FALSE, the device will not rejoin following a leave.

Parent topic:ZPS_vNwkNibSetLeaveRejoin

Parameters

  • pvNwk Pointer to NWK layer instance

  • bLeave Boolean value indicating whether the device will rejoin the network following a leave:

    • TRUE - Rejoin the network

    • FALSE - Do not rejoin the network

Parent topic:ZPS_vNwkNibSetLeaveRejoin

Returns

None

Parent topic:ZPS_vNwkNibSetLeaveRejoin

Parent topic:Network deployment functions