rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
link_uph_t Struct Reference

The panel's state for one update run. More...

#include <link_update_host.h>

Data Fields

const uint8_t * img
uint32_t len
int32_t flag_at
link_uph_phase_t phase
uint8_t result
uint8_t error
bool missing
uint8_t restarts
uint8_t block_tries
uint8_t after_resync
bool aborted
uint8_t build [LINK_SHA256_BYTES]
uint8_t expect [LINK_SHA256_BYTES]
uint8_t digest [LINK_SHA256_BYTES]
link_image_hash_t hash
uint16_t block
uint16_t blocks
uint16_t slot
uint16_t block_tried
bool busy
uint32_t busy_ms
uint32_t since_ms
uint32_t missing_ms
bool have_ident
uint16_t ident [LINK_ID_COUNT]

Detailed Description

The panel's state for one update run.

Field Documentation

◆ aborted

bool link_uph_t::aborted

check: a session found was ended

◆ after_resync

uint8_t link_uph_t::after_resync

the phase a RESYNC was entered from

◆ block

uint16_t link_uph_t::block

the block to send next

◆ block_tried

uint16_t link_uph_t::block_tried

the block block_tries counts for

◆ block_tries

uint8_t link_uph_t::block_tries

tries of the block block_tried names

◆ blocks

uint16_t link_uph_t::blocks

blocks in the image

◆ build

uint8_t link_uph_t::build[LINK_SHA256_BYTES]

this end's build hash

◆ busy

bool link_uph_t::busy

waiting for the gate since busy_ms

◆ busy_ms

uint32_t link_uph_t::busy_ms

when the wait for the gate began, ms

◆ digest

uint8_t link_uph_t::digest[LINK_SHA256_BYTES]

what the IOmcu said

◆ error

uint8_t link_uph_t::error

the IOmcu's link_upd_err_t

◆ expect

uint8_t link_uph_t::expect[LINK_SHA256_BYTES]

the image as sent

◆ flag_at

int32_t link_uph_t::flag_at

the TBYB flag's byte, or -1

◆ hash

link_image_hash_t link_uph_t::hash

the hash being computed

◆ ident

uint16_t link_uph_t::ident[LINK_ID_COUNT]

identity read after the restart

◆ missing

bool link_uph_t::missing

the last exchange went unanswered

◆ missing_ms

uint32_t link_uph_t::missing_ms

when the exchanges stopped being answered

◆ restarts

uint8_t link_uph_t::restarts

restarts of the session so far

◆ result

uint8_t link_uph_t::result

◆ since_ms

uint32_t link_uph_t::since_ms

when the phase's wait began

◆ slot

uint16_t link_uph_t::slot

LINK_UPD_SLOT before the restart


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