SimpleOTA client v1.2.0
Shared core of the SimpleOTA Arduino and ESP-IDF clients
Loading...
Searching...
No Matches
sota_boot_info_t Struct Reference

This boot, as the bootloader left it. More...

#include <sota_boot.h>

Data Fields

char image_id [16u+1]
 Fingerprint of the running image (its ELF SHA-256, in hex), empty when unknown.
 
uint32_t running_part
 The running slot's flash address.
 
uint32_t boot_part
 The slot the next boot selects.
 
int reset_reason
 esp_reset_reason_t, see SOTA_RST_* in sota_trial.h.
 
bool pending
 The bootloader holds the running image on probation.
 

Detailed Description

This boot, as the bootloader left it.

Addresses are 0 when unknown.

Field Documentation

◆ image_id

char sota_boot_info_t::image_id[16u+1]

Fingerprint of the running image (its ELF SHA-256, in hex), empty when unknown.

Tells an image SimpleOTA installed from one flashed some other way.


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