|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One correlated bounded raw-byte response. More...
#include <ra8_c6link_mdl.h>
Data Fields | |
| uint32_t | job_id |
| Correlated remote job identifier. | |
| uint32_t | sequence |
| Zero-based response sequence. | |
| uint64_t | offset |
| Offset of data in the complete body. | |
| uint64_t | total_bytes |
| Advertised or independently counted total. | |
| ra8_mdl_state_t | state |
| DOWNLOADING or terminal state. | |
| ra8_err_t | status |
| Failure status in FAILED state. | |
| uint16_t | data_len |
| Valid bytes in data. | |
| uint8_t | data [k_ra8_mdl_chunk_data_max] |
| Bounded raw body bytes. | |
| bool | has_sha256 |
| Whether sha256 is valid. | |
| uint8_t | sha256 [k_ra8_mdl_sha256_bytes] |
| Complete-body SHA-256. | |
| ra8_mdl_http_response_t | response |
| Terminal HTTP metadata. | |
One correlated bounded raw-byte response.
Contains either non-empty DOWNLOADING data or an empty terminal record. COMPLETE alone carries the digest of the entire HTTP body.
Definition at line 65 of file ra8_c6link_mdl.h.
| uint8_t ra8_mdl_chunk_t::data[k_ra8_mdl_chunk_data_max] |
Bounded raw body bytes.
Definition at line 73 of file ra8_c6link_mdl.h.
Referenced by internal_mdl_accept_chunk(), and internal_mdl_transfer_store().
| uint16_t ra8_mdl_chunk_t::data_len |
Valid bytes in data.
Definition at line 72 of file ra8_c6link_mdl.h.
Referenced by internal_mdl_transfer_store().
| bool ra8_mdl_chunk_t::has_sha256 |
Whether sha256 is valid.
Definition at line 74 of file ra8_c6link_mdl.h.
Referenced by internal_mdl_accept_chunk(), and internal_mdl_transfer_commit().
| uint32_t ra8_mdl_chunk_t::job_id |
Correlated remote job identifier.
Definition at line 66 of file ra8_c6link_mdl.h.
| uint64_t ra8_mdl_chunk_t::offset |
Offset of data in the complete body.
Definition at line 68 of file ra8_c6link_mdl.h.
| ra8_mdl_http_response_t ra8_mdl_chunk_t::response |
Terminal HTTP metadata.
Definition at line 76 of file ra8_c6link_mdl.h.
Referenced by internal_mdl_accept_chunk(), and internal_mdl_transfer_commit().
| uint32_t ra8_mdl_chunk_t::sequence |
Zero-based response sequence.
Definition at line 67 of file ra8_c6link_mdl.h.
| uint8_t ra8_mdl_chunk_t::sha256[k_ra8_mdl_sha256_bytes] |
Complete-body SHA-256.
Definition at line 75 of file ra8_c6link_mdl.h.
Referenced by internal_mdl_accept_chunk(), and internal_mdl_transfer_commit().
| ra8_mdl_state_t ra8_mdl_chunk_t::state |
DOWNLOADING or terminal state.
Definition at line 70 of file ra8_c6link_mdl.h.
Referenced by ra8_c6link_mdl_transfer().
| ra8_err_t ra8_mdl_chunk_t::status |
Failure status in FAILED state.
Definition at line 71 of file ra8_c6link_mdl.h.
| uint64_t ra8_mdl_chunk_t::total_bytes |
Advertised or independently counted total.
Definition at line 69 of file ra8_c6link_mdl.h.
Referenced by internal_mdl_transfer_commit().