tsOTA_QueryImageResponse
The following structure contains payload data for a Query Next Image Response issued by the server (as the result of a Query Next Image Request from a client):
typedef struct
{
uint32 u32ImageSize;
uint32 u32FileVersion;
uint16 u16ManufacturerCode;
uint16 u16ImageType;
uint8 u8Status;
}tsOTA_QueryImageResponse;
where:
u32ImageSizeis the total size of the available image, in bytesu32FileVersionis the file version of the available imageu16ManufacturerCodeis the manufacturer code that was received from the client in the Query Next Image Request messageu16ImageTypeis the image type that was received from the client in the Query Next Image Request messageu8Statusindicates whether a suitable image is available for download:OTA_STATUS_SUCCESS: A suitable image is available
OTA_STATUS_NO_IMAGE_AVAILABLE: No suitable image is available
The other elements of the structure are only included in the case of success.
Parent topic:Structures