|
RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
|
See ab_gp_km114_relay.h. More...
#include "ab_gp_km114_relay.h"#include <stdbool.h>#include <stdio.h>#include <string.h>#include "rte/oal/log/rte_log.h"#include "../../common/rbc_util_km114_relay.h"#include "ab_gp_km114_client.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. | |
Variables | |
| static uint8_t | s_buf [RBC_UTIL_KM114_RELAY_FILE_MAX] |
| static uint16_t | s_total_len |
| static uint8_t | s_frag_count |
| static bool | s_frag_seen [RBC_UTIL_KM114_RELAY_MAX_FRAGS] |
| static uint8_t | s_frags_seen_count |
See ab_gp_km114_relay.h.
Definition in file ab_gp_km114_relay.c.
| 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.
Global functions
| 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. |
Definition at line 28 of file ab_gp_km114_relay.c.
|
static |
Local makros Local types declarations Local variables declarations
Definition at line 21 of file ab_gp_km114_relay.c.
|
static |
Definition at line 22 of file ab_gp_km114_relay.c.
|
static |
Definition at line 23 of file ab_gp_km114_relay.c.
|
static |
Definition at line 24 of file ab_gp_km114_relay.c.
|
static |
Definition at line 25 of file ab_gp_km114_relay.c.