|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Allocation-free constants shared by the RA8 and C6 media endpoints. More...
#include <stdint.h>Go to the source code of this file.
Allocation-free constants shared by the RA8 and C6 media endpoints.
Defines bounded HTTPS-body transfer semantics plus the selected artifact identity and downloader request/response policy. Version 3 carries the conditional request fields and response metadata required by portable mdl_fetch instead of fabricating an HTTP status on the RA8. The C6 never receives a destination path; the RA8 still validates and transactionally publishes the returned bytes.
Definition in file ra8_mdl_protocol.h.
| enum ra8_mdl_dimension_t : uint16_t |
Bounded dimensions shared by both protocol endpoints.
Definition at line 22 of file ra8_mdl_protocol.h.
| enum ra8_mdl_http_status_bound_t : uint16_t |
Inclusive bounds of the HTTP status codes the protocol admits.
RFC 9110 assigns status codes the three-digit range 100..599, so a response outside it is malformed rather than merely unsuccessful. Both endpoints reject such a response instead of forwarding it.
| Enumerator | |
|---|---|
| k_ra8_mdl_http_status_min | Lowest well-formed HTTP status code. |
| k_ra8_mdl_http_status_max | Highest well-formed HTTP status code. |
Definition at line 59 of file ra8_mdl_protocol.h.
| enum ra8_mdl_protocol_version_t : uint32_t |
Version included in every media RPC request and response.
| Enumerator | |
|---|---|
| k_ra8_mdl_protocol_version | Typed HTTP-artifact transfer protocol. |
Definition at line 65 of file ra8_mdl_protocol.h.
| enum ra8_mdl_request_bound_t : uint16_t |
Largest packed inner request either endpoint has to hold.
A Start request carries the bounded URL and every bounded HTTP header; the constant adds the generated encoder's per-field tag and varint overhead on top. Next and Cancel are far smaller and share the buffer.
| Enumerator | |
|---|---|
| k_ra8_mdl_request_bytes_max | Maximum packed request bytes. |
Definition at line 44 of file ra8_mdl_protocol.h.
| enum ra8_mdl_rpc_id_t : uint32_t |
Stable CustomRpc operation IDs (MD + version + operation).
| Enumerator | |
|---|---|
| k_ra8_mdl_rpc_start | Start one typed-artifact job. |
| k_ra8_mdl_rpc_next | Pull one ordered bounded chunk. |
| k_ra8_mdl_rpc_cancel | Cancel one active job. |
Definition at line 70 of file ra8_mdl_protocol.h.
| enum ra8_mdl_state_t : uint8_t |
Remote job state.
Definition at line 77 of file ra8_mdl_protocol.h.