K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
kfsw_fwu_status Struct Reference

#include <fwu.h>

Public Attributes

struct kfsw_fwu_handle handle
 
struct kfsw_fwu_image image
 
uint32_t committed
 
bool aborted
 
uint32_t total_size
 
uint32_t received
 
uint32_t expected_crc32
 
uint32_t actual_crc32
 
uint32_t started
 
uint32_t completed
 
uint32_t failed
 
uint8_t state
 
bool swap_scheduled
 
bool target_bound
 

Detailed Description

Consistent snapshot of an update in progress.

Member Data Documentation

◆ aborted

bool kfsw_fwu_status::aborted

True after successful cleanup; repeated abort performs no flash operation.

◆ actual_crc32

uint32_t kfsw_fwu_status::actual_crc32

CRC32 accumulated over what was accepted.

◆ committed

uint32_t kfsw_fwu_status::committed

Image bytes physically written, excluding stream padding.

A failed write may commit a prefix beyond the last fully accepted span.

◆ completed

uint32_t kfsw_fwu_status::completed

Transfers that reached KFSW_FWU_READY since boot.

◆ expected_crc32

uint32_t kfsw_fwu_status::expected_crc32

CRC32 the sender declared.

◆ failed

uint32_t kfsw_fwu_status::failed

Transfers that failed or were aborted since boot.

◆ handle

struct kfsw_fwu_handle kfsw_fwu_status::handle

Current identity, retained after failure and successful abort.

◆ image

struct kfsw_fwu_image kfsw_fwu_status::image

Descriptor retained with the identity, including in the abort tombstone.

◆ received

uint32_t kfsw_fwu_status::received

Bytes accepted so far.

◆ started

uint32_t kfsw_fwu_status::started

Transfers begun since boot.

◆ state

uint8_t kfsw_fwu_status::state

One of kfsw_fwu_state.

◆ swap_scheduled

bool kfsw_fwu_status::swap_scheduled

True once the bootloader confirmed a swap is scheduled.

◆ target_bound

bool kfsw_fwu_status::target_bound

True when a target partition was bound at build time.

◆ total_size

uint32_t kfsw_fwu_status::total_size

Image size the sender declared, in bytes.


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