RTE RBC 2oo2 Reference Application
0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
Toggle main menu visibility
Loading...
Searching...
No Matches
ab_gp_km114_client.h
Go to the documentation of this file.
1
#ifndef RTE_EXAMPLE_AB_GP_KM114_CLIENT_H
2
#define RTE_EXAMPLE_AB_GP_KM114_CLIENT_H
3
16
17
#include <stddef.h>
18
#include <stdint.h>
19
20
#include "
../../common/site_config.h
"
21
#include "
ab_gp_channel.h
"
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
56
void
ab_gp_km114_client_on_message
(
const
uint8_t *bytes,
size_t
len,
const
char
*role_tag,
57
rte_example_site_t
site,
ab_gp_channel_handle_t
handle);
58
72
int
ab_gp_km114_client_on_peer_digest
(
const
uint8_t *payload,
size_t
size,
const
char
*role_tag,
73
rte_example_site_t
site);
74
75
#ifdef __cplusplus
76
}
77
#endif
78
79
#endif
/* RTE_EXAMPLE_AB_GP_KM114_CLIENT_H */
ab_gp_channel.h
ab_gp_channel_handle_t
struct ab_gp_channel_context_s * ab_gp_channel_handle_t
Opaque handle over this component's own static per-process context.
Definition
ab_gp_channel.h:18
ab_gp_km114_client_on_message
void ab_gp_km114_client_on_message(const uint8_t *bytes, size_t len, const char *role_tag, rte_example_site_t site, ab_gp_channel_handle_t handle)
Processes one complete, reassembled Subset-114 message.
Definition
ab_gp_km114_client.c:50
ab_gp_km114_client_on_peer_digest
int ab_gp_km114_client_on_peer_digest(const uint8_t *payload, size_t size, const char *role_tag, rte_example_site_t site)
Consumes a PEER_MSG_KIND_KM114_DIGEST frame from the A/B sibling (called from pre_execute....
Definition
ab_gp_km114_client.c:82
site_config.h
West/East site identity and the per-site config derived from it (ports, container host lookup) - see ...
rte_example_site_t
rte_example_site_t
Definition
site_config.h:20
src
application
AB
GP
com
ab_gp_km114_client.h
Generated by
1.18.0