Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
img_mgmt_state Struct Reference

Global state for upload in progress. More...

#include <img_mgmt.h>

Data Fields

int area_id
 Flash area being written; -1 if no upload in progress.
 
size_t off
 Flash offset of next chunk.
 
size_t size
 Total size of image data.
 
uint8_t data_sha_len
 Hash of image data; used for resumption of a partial upload.
 
uint8_t data_sha [32]
 

Detailed Description

Global state for upload in progress.

Field Documentation

◆ area_id

int img_mgmt_state::area_id

Flash area being written; -1 if no upload in progress.

◆ data_sha

uint8_t img_mgmt_state::data_sha[32]

◆ data_sha_len

uint8_t img_mgmt_state::data_sha_len

Hash of image data; used for resumption of a partial upload.

◆ off

size_t img_mgmt_state::off

Flash offset of next chunk.

◆ size

size_t img_mgmt_state::size

Total size of image data.


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