|
RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
|
A/B-side receiver for Gateway-relayed Subset-114 off-line KMC file bytes (RBC_UTIL_TOPIC_KM114_FILE, rbc_util_km114_relay.h). Reassembles the chunked transfer; does NOT decode it - see Platform_Protocol_KM114/CLAUDE.md's "Consumption design" note (actual km114_parse_*() decode/verify/decrypt and key installation is a separate, not-yet-implemented step - this module only gets the raw bytes back together and reports arrival). More...
#include <stdint.h>#include "../../common/rbc_util_frame.h"#include "../../common/site_config.h"#include "ab_gp_channel.h"Go to the source code of this file.
Functions | |
| void | ab_gp_km114_relay_on_frame (const rbc_util_frame_t *frame, const char *role_tag, rte_example_site_t site, ab_gp_channel_handle_t handle) |
| Feeds one decoded RBC_UTIL_TOPIC_KM114_FILE publish frame into the reassembler. | |
A/B-side receiver for Gateway-relayed Subset-114 off-line KMC file bytes (RBC_UTIL_TOPIC_KM114_FILE, rbc_util_km114_relay.h). Reassembles the chunked transfer; does NOT decode it - see Platform_Protocol_KM114/CLAUDE.md's "Consumption design" note (actual km114_parse_*() decode/verify/decrypt and key installation is a separate, not-yet-implemented step - this module only gets the raw bytes back together and reports arrival).
Definition in file ab_gp_km114_relay.h.
| void ab_gp_km114_relay_on_frame | ( | const rbc_util_frame_t * | frame, |
| const char * | role_tag, | ||
| rte_example_site_t | site, | ||
| ab_gp_channel_handle_t | handle ) |
Feeds one decoded RBC_UTIL_TOPIC_KM114_FILE publish frame into the reassembler.
| frame | Decoded util frame (topic_id must already be RBC_UTIL_TOPIC_KM114_FILE - not checked again here). |
| role_tag | This process's own role tag ("A"/"B"), for the completion log line. |
| site | This process's own site, for the completion log line. |
| handle | This channel's own handle, forwarded to ab_gp_km114_client_on_message() for the A/B cross-check frame (see that function's own doc). May be NULL. |
Global functions
Definition at line 28 of file ab_gp_km114_relay.c.