eCLD_ZllCommissionCommandFactoryResetReqCommandSend#
teZCL_Status eCLD_ZllCommissionCommandFactoryResetReqCommandSend(
ZPS_tsInterPanAddress *psDestinationAddress,
uint8 *pu8TransactionSequenceNumber,
tsCLD_ZllCommission_FactoryResetReqCommandPayload
*psPayload);
Description#
This function is used to send a Reset to Factory New Request command to ask a remote node to return to its ‘factory new’ state. The command is sent as an inter-PAN message.
You are required to provide a pointer to a location to receive a Transaction Sequence Number (TSN) for the request. The TSN in the response is set to match the TSN in the request, allowing an incoming response to be paired with a request. This is useful when sending more than one request to the same destination endpoint.
Parameters#
psDestinationAddress Pointer to stucture containing PAN ID and address information for target node
pu8TransactionSequenceNumber Pointer to a location to store the Transaction Sequence Number (TSN) of the request
psPayload Pointer to structure containing payload data for the Reset to Factory New Request command (see Section 44.8.10)
Returns#
E_ZCL_SUCCESS
Parent topic:Touchlink functions