vOTA_SetImageValidityFlag
void vOTA_SetImageValidityFlag(
uint8 u8Location,
tsOTA_Common *psCustomData,
bool bSet,
tsZCL_EndPointDefinition *psEndPointDefinition);
Description
This function can be used to set an image validity flag once a downloaded upgrade image has been received and verified by the client.
Parameters
u8Location: Number of sector where image starts in Flash memory
psCustomData: Pointer to custom data for image (see Section 49.11.2)
bSet: Flag state to be set:
TRUE - Reset
FALSE - No reset
psEndPointDefinition: Pointer to endpoint definition (see Section 6.1.1)
Returns
None
Parent topic:Client Functions