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

Describes what to do during processing of an upload request. More...

#include <img_mgmt.h>

Data Fields

unsigned long long size
 The total size of the image.
 
int write_bytes
 The number of image bytes to write to flash.
 
int area_id
 The flash area to write to.
 
bool proceed
 Whether to process the request; false if offset is wrong.
 
bool erase
 Whether to erase the destination flash area.
 

Detailed Description

Describes what to do during processing of an upload request.

Field Documentation

◆ area_id

int img_mgmt_upload_action::area_id

The flash area to write to.

◆ erase

bool img_mgmt_upload_action::erase

Whether to erase the destination flash area.

◆ proceed

bool img_mgmt_upload_action::proceed

Whether to process the request; false if offset is wrong.

◆ size

unsigned long long img_mgmt_upload_action::size

The total size of the image.

◆ write_bytes

int img_mgmt_upload_action::write_bytes

The number of image bytes to write to flash.


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