ZDO_ResetNetworkReq Function

C

void ZDO_ResetNetworkReq(ZDO_ResetNetworkReq_t *req);

Description

Resets the stack without sending any commands to the network

The function resets the stack to the default state. All internal values and buffers including the neighbor table are reset to iniatl state. No data is send to the network, so the ex-parent of the node does not receive any notifications and is not able to find out child node's reset immediately.

Response statuses: Accessed via the ZDO_ResetNetworkConf_t-status field of the callback's argument

-ZDO_SUCCESS_STATUS (0x00) - the request has been executed successfully \n -NWK_INVALID_REQUEST_STATUS (0xC2) - NWK reset cannpt be performed (all stack

layers are reset during ZDO reset)

Parameters

ParamDescription
reqDetermines the parameters of the request

Returns

None