5.1.2.13 ZDO_MgmtNwkUpdateNotf Function

Syntax

void ZDO_MgmtNwkUpdateNotf(ZDO_MgmtNwkUpdateNotf_t * nwkParams);

Description

The application must implement the function that indicates updates to network parameters. The stack calls this function to signal specific network-related updates. The argument fields include an indication of the event that triggered the update (see the possible values of the ZDO_MgmtNwkUpdateNotf_t.status field) and additional information related to the update. For example, if calling the function, it includes changes to network parameters, resolution of address/PANID conflicts, network rejoining, attachment of a new child and child loss.

The system issues a child loss notification only in the case of the end device child. A router is not considered a child after its parent receives the first link status frame from the router. After this point, the system does not issue a notification to the parent if the router leaves from the network. But if the parent did not yet receive any link status frames from its router child, and the router leaves the network, the system issues a notification to the parent as usual.

The user can access notification statuses through the ZDO_MgmtNwkUpdateNotf_t structure’s status field.

Input Parameters

Parameter NameDescription
nwkParamsDescribes the reason for the network update and new parameter’s values
Return Type and Values
  • None