|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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] |
The panel's state for one update run.
| bool link_uph_t::aborted |
check: a session found was ended
| uint8_t link_uph_t::after_resync |
the phase a RESYNC was entered from
| uint16_t link_uph_t::block |
the block to send next
| uint16_t link_uph_t::block_tried |
the block block_tries counts for
| uint8_t link_uph_t::block_tries |
tries of the block block_tried names
| uint16_t link_uph_t::blocks |
blocks in the image
| uint8_t link_uph_t::build[LINK_SHA256_BYTES] |
this end's build hash
| bool link_uph_t::busy |
waiting for the gate since busy_ms
| uint32_t link_uph_t::busy_ms |
when the wait for the gate began, ms
| uint8_t link_uph_t::digest[LINK_SHA256_BYTES] |
what the IOmcu said
| uint8_t link_uph_t::error |
the IOmcu's link_upd_err_t
| uint8_t link_uph_t::expect[LINK_SHA256_BYTES] |
the image as sent
| int32_t link_uph_t::flag_at |
the TBYB flag's byte, or -1
| link_image_hash_t link_uph_t::hash |
the hash being computed
| uint16_t link_uph_t::ident[LINK_ID_COUNT] |
identity read after the restart
| bool link_uph_t::missing |
the last exchange went unanswered
| uint32_t link_uph_t::missing_ms |
when the exchanges stopped being answered
| uint8_t link_uph_t::restarts |
restarts of the session so far
| uint8_t link_uph_t::result |
| uint32_t link_uph_t::since_ms |
when the phase's wait began
| uint16_t link_uph_t::slot |
LINK_UPD_SLOT before the restart