Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
img_gr_upload Struct Reference

IMG mgmt client upload structure. More...

#include <img_mgmt_client.h>

Data Fields

char sha256 [IMG_MGMT_DATA_SHA_LEN]
 Image 256-bit hash.
 
bool hash_initialized
 True when Hash is configured, false when not.
 
size_t image_size
 Image size.
 
size_t offset
 Image upload offset state.
 
size_t upload_header_size
 Worst case init upload message size.
 
uint32_t image_num
 Image slot num.
 

Detailed Description

IMG mgmt client upload structure.

Structure is used internally by the client

Field Documentation

◆ hash_initialized

bool img_gr_upload::hash_initialized

True when Hash is configured, false when not.

◆ image_num

uint32_t img_gr_upload::image_num

Image slot num.

◆ image_size

size_t img_gr_upload::image_size

Image size.

◆ offset

size_t img_gr_upload::offset

Image upload offset state.

◆ sha256

char img_gr_upload::sha256[IMG_MGMT_DATA_SHA_LEN]

Image 256-bit hash.

◆ upload_header_size

size_t img_gr_upload::upload_header_size

Worst case init upload message size.


The documentation for this struct was generated from the following file: