MCUXpresso SDK Documentation

eOTA_UpdateClientAttributes

eOTA_UpdateClientAttributes#

teZCL_Status eOTA_UpdateClientAttributes(
    uint8 u8Endpoint);

Description#

This function can be used on a client to set the OTA Upgrade cluster attributes to their default values. It should be called during application initialization after the cluster instance has been created using eOTA_Create().

Following subsequent resets, provided that context data has been saved, the application should call eOTA_RestoreClientData() instead of this function.

Parameters#

  • u8Endpoint: Number of endpoint corresponding to context data

Returns#

  • E_ZCL_SUCCESS

  • E_ZCL_FAIL

Parent topic:Client Functions