3.2.5.4 Get Image State Command
The host sends the GetImageState command to the client during the Verification Stage of the update. The client runs an image verification algorithm to determine the state of its firmware image and responds to the host indicating whether it has a valid or invalid image.
3.2.5.4.1 Command Details
Get Image State Command Details and Success Response Data Payload | |
---|---|
Command Code | 0x04 |
Command Data Payload | None |
Successful Response Data Payload | <uint8_t: ImageState> |
ImageState Values | IMAGE_VALID = 0x01 IMAGE_INVALID = 0x02 |
3.2.5.4.2 Command Response Pair Example
The following figure shows an example of a host sending the GetImageState command to a client and the client responding that its image is valid.