|
K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
|
#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 |
Consistent snapshot of an update in progress.
| bool kfsw_fwu_status::aborted |
True after successful cleanup; repeated abort performs no flash operation.
| uint32_t kfsw_fwu_status::actual_crc32 |
CRC32 accumulated over what was accepted.
| 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.
| uint32_t kfsw_fwu_status::completed |
Transfers that reached KFSW_FWU_READY since boot.
| uint32_t kfsw_fwu_status::expected_crc32 |
CRC32 the sender declared.
| uint32_t kfsw_fwu_status::failed |
Transfers that failed or were aborted since boot.
| struct kfsw_fwu_handle kfsw_fwu_status::handle |
Current identity, retained after failure and successful abort.
| struct kfsw_fwu_image kfsw_fwu_status::image |
Descriptor retained with the identity, including in the abort tombstone.
| uint32_t kfsw_fwu_status::received |
Bytes accepted so far.
| uint32_t kfsw_fwu_status::started |
Transfers begun since boot.
| uint8_t kfsw_fwu_status::state |
One of kfsw_fwu_state.
| bool kfsw_fwu_status::swap_scheduled |
True once the bootloader confirmed a swap is scheduled.
| bool kfsw_fwu_status::target_bound |
True when a target partition was bound at build time.
| uint32_t kfsw_fwu_status::total_size |
Image size the sender declared, in bytes.