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:

  • u32FileVersion is the file version of the upgrade image which has been downloaded

  • u16ImageType is the type of the upgrade image which has been downloaded

  • u16ManufacturerCode is the ZigBee-assigned number identifying the manufacturer of the client device from which the request originates

  • u8Status is 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