|
RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
|
Implementation of ERTMS Subset-026 §5.4 Validated Train Data & Start of Mission. More...
Go to the source code of this file.
Macros | |
| #define | RBC_MAX_ALLOWED_TRAIN_LENGTH_M 5000U |
| #define | RBC_MAX_ALLOWED_TRAIN_SPEED_KMH 350U |
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. | |
Implementation of ERTMS Subset-026 §5.4 Validated Train Data & Start of Mission.
Definition in file ab_gp_proc_train_data.c.
| #define RBC_MAX_ALLOWED_TRAIN_LENGTH_M 5000U |
Definition at line 9 of file ab_gp_proc_train_data.c.
| #define RBC_MAX_ALLOWED_TRAIN_SPEED_KMH 350U |
Definition at line 10 of file ab_gp_proc_train_data.c.
| 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.