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_proc_train_data.h
Go to the documentation of this file.
1
8
9#ifndef RTE_EXAMPLE_AB_GP_PROC_TRAIN_DATA_H
10#define RTE_EXAMPLE_AB_GP_PROC_TRAIN_DATA_H
11
12#include "ab_gp_ertms_types.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
30 uint32_t l_train_m,
31 uint32_t v_maxtrain_kmh,
32 uint8_t m_axleload,
33 uint8_t m_loadinggauge,
34 bool m_airtight,
35 uint32_t timestamp_ms);
36
43
51 uint32_t *out_t_train_ack);
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* RTE_EXAMPLE_AB_GP_PROC_TRAIN_DATA_H */
bool ab_gp_proc_train_data_validate(ab_gp_ertms_train_context_t *ctx, uint32_t l_train_m, uint32_t v_maxtrain_kmh, uint8_t m_axleload, uint8_t m_loadinggauge, bool m_airtight, uint32_t timestamp_ms)
Validates inbound Train Data (Msg 129 + Packet 11) against site topology limits.
bool ab_gp_proc_train_data_is_valid(const ab_gp_ertms_train_context_t *ctx)
Checks if train data has been successfully validated.
bool ab_gp_proc_train_data_get_ack_timestamp(const ab_gp_ertms_train_context_t *ctx, uint32_t *out_t_train_ack)
Retrieves the timestamp for Msg 8 (Ack of Train Data) generation.
ERTMS Subset-026 Chapter 5 Operational Procedure Data Types and Enums.
Complete ERTMS state and procedure context for one train slot.