ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_mdl_protocol.h
Go to the documentation of this file.
1
17#pragma once
18
19#include <stdint.h>
20
34
49
63
65typedef enum : uint32_t {
68
70typedef enum : uint32_t {
71 k_ra8_mdl_rpc_start = 0x4D440301U,
72 k_ra8_mdl_rpc_next = 0x4D440302U,
73 k_ra8_mdl_rpc_cancel = 0x4D440303U,
75
ra8_mdl_dimension_t
Bounded dimensions shared by both protocol endpoints.
@ k_ra8_mdl_user_agent_max
Maximum User-Agent size, including NUL.
@ k_ra8_mdl_referer_max
Maximum Referer size, including NUL.
@ k_ra8_mdl_chunk_data_max
Maximum raw body bytes in one chunk.
@ k_ra8_mdl_url_max
Maximum URL buffer size, including NUL.
@ k_ra8_mdl_http_date_max
Maximum HTTP-date size, including NUL.
@ k_ra8_mdl_etag_max
Maximum ETag size, including NUL.
@ k_ra8_mdl_content_type_max
Maximum Content-Type size, including NUL.
@ k_ra8_mdl_sha256_bytes
SHA-256 digest size in bytes.
@ k_ra8_mdl_retry_after_max
Maximum Retry-After size, including NUL.
@ k_ra8_mdl_timeout_ms_max
Maximum caller-selected HTTP timeout in ms.
ra8_mdl_http_status_bound_t
Inclusive bounds of the HTTP status codes the protocol admits.
@ k_ra8_mdl_http_status_max
Highest well-formed HTTP status code.
@ k_ra8_mdl_http_status_min
Lowest well-formed HTTP status code.
ra8_mdl_protocol_version_t
Version included in every media RPC request and response.
@ k_ra8_mdl_protocol_version
Typed HTTP-artifact transfer protocol.
ra8_mdl_request_bound_t
Largest packed inner request either endpoint has to hold.
@ k_ra8_mdl_request_bytes_max
Maximum packed request bytes.
ra8_mdl_state_t
Remote job state.
@ k_ra8_mdl_state_accepted
Job was accepted but has no body bytes yet.
@ k_ra8_mdl_state_cancelled
Job ended through explicit cancellation.
@ k_ra8_mdl_state_complete
Response carries terminal size and digest.
@ k_ra8_mdl_state_failed
Job ended with a canonical error status.
@ k_ra8_mdl_state_downloading
Response carries non-empty ordered bytes.
ra8_mdl_rpc_id_t
Stable CustomRpc operation IDs (MD + version + operation).
@ k_ra8_mdl_rpc_start
Start one typed-artifact job.
@ k_ra8_mdl_rpc_cancel
Cancel one active job.
@ k_ra8_mdl_rpc_next
Pull one ordered bounded chunk.