RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
Loading...
Searching...
No Matches
ab_gp_km114_relay.h File Reference

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"
Include dependency graph for ab_gp_km114_relay.h:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

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.

Function Documentation

◆ ab_gp_km114_relay_on_frame()

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.

Parameters
frameDecoded util frame (topic_id must already be RBC_UTIL_TOPIC_KM114_FILE - not checked again here).
role_tagThis process's own role tag ("A"/"B"), for the completion log line.
siteThis process's own site, for the completion log line.
handleThis 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.