|
RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
|
ERTMS Subset-026 §5.4 & §5.2 Validated Train Data and Start of Mission Procedure. More...
#include "ab_gp_ertms_types.h"Go to the source code of this file.
Functions | |
| 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 §5.4 & §5.2 Validated Train Data and Start of Mission Procedure.
Implements SIL 4 C99 train data validation against RailML static site characteristics and generates Msg 8 (Acknowledgement of Train Data).
Definition in file 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.
| [in,out] | ctx | Train ERTMS context. |
| [in] | l_train_m | Train length in meters. |
| [in] | v_maxtrain_kmh | Maximum train speed in km/h. |
| [in] | m_axleload | Axle load category. |
| [in] | m_loadinggauge | Loading gauge category. |
| [in] | m_airtight | Airtight capability flag. |
| [in] | timestamp_ms | Timestamp from train message. |
Definition at line 12 of file ab_gp_proc_train_data.c.
| bool ab_gp_proc_train_data_is_valid | ( | const ab_gp_ertms_train_context_t * | ctx | ) |
Checks if train data has been successfully validated.
| [in] | ctx | Train ERTMS context. |
Definition at line 65 of file ab_gp_proc_train_data.c.
| 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.
| [in] | ctx | Train ERTMS context. |
| [out] | out_t_train_ack | Echoed timestamp to place in Msg 8. |
Definition at line 74 of file ab_gp_proc_train_data.c.