tsOTA_UpgradeEndRequestPayload
The following structure contains payload data for an Upgrade End Request issued by a client to terminate/close an image download from the server:
typedef struct
{
uint32 u32FileVersion;
uint16 u16ImageType;
uint16 u16ManufacturerCode;
uint8 u8Status;
}tsOTA_UpgradeEndRequestPayload;
where:
u32FileVersionis the file version of the upgrade image which has been downloadedu16ImageTypeis the type of the upgrade image which has been downloadedu16ManufacturerCodeis the ZigBee-assigned number identifying the manufacturer of the client device from which the request originatesu8Statusis the reported status of the image download, one of:OTA_STATUS_SUCCESS (successfully downloaded and verified)
OTA_STATUS_INVALID_IMAGE (downloaded but failed verification)
OTA_REQUIRE_MORE_IMAGE (other images needed)
OTA_STATUS_ABORT (download in progress is to be aborted)
Parent topic:Structures