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_ertms_train_data_t Struct Reference

Parameters declared by the train via Msg 129 during Start of Mission. More...

#include <ab_gp_ertms_types.h>

Data Fields

ab_gp_train_data_state_t state
bool valid
uint32_t l_train_m
uint32_t v_maxtrain_kmh
uint8_t m_axleload
uint8_t m_loadinggauge
bool m_airtight
uint32_t t_train_data_ack
bool config_sent

Detailed Description

Parameters declared by the train via Msg 129 during Start of Mission.

Definition at line 79 of file ab_gp_ertms_types.h.

Field Documentation

◆ state

ab_gp_train_data_state_t ab_gp_ertms_train_data_t::state

ยง5.4 acceptance FSM state (ab_gp_train_data_fsm.c).

Definition at line 81 of file ab_gp_ertms_types.h.

◆ valid

bool ab_gp_ertms_train_data_t::valid

Derived: true iff state == AB_GP_TRAIN_DATA_VALIDATED. Kept as a plain field so pre-FSM readers are unchanged.

Definition at line 82 of file ab_gp_ertms_types.h.

◆ l_train_m

uint32_t ab_gp_ertms_train_data_t::l_train_m

Train total length in meters.

Definition at line 84 of file ab_gp_ertms_types.h.

◆ v_maxtrain_kmh

uint32_t ab_gp_ertms_train_data_t::v_maxtrain_kmh

Maximum design speed of train (km/h).

Definition at line 85 of file ab_gp_ertms_types.h.

◆ m_axleload

uint8_t ab_gp_ertms_train_data_t::m_axleload

Axle load category (Subset-026 7.5.1.72).

Definition at line 86 of file ab_gp_ertms_types.h.

◆ m_loadinggauge

uint8_t ab_gp_ertms_train_data_t::m_loadinggauge

Loading gauge category (Subset-026 7.5.1.84).

Definition at line 87 of file ab_gp_ertms_types.h.

◆ m_airtight

bool ab_gp_ertms_train_data_t::m_airtight

Airtight train flag.

Definition at line 88 of file ab_gp_ertms_types.h.

◆ t_train_data_ack

uint32_t ab_gp_ertms_train_data_t::t_train_data_ack

Timestamp acknowledged in Msg 8.

Definition at line 89 of file ab_gp_ertms_types.h.

◆ config_sent

bool ab_gp_ertms_train_data_t::config_sent

True once the config-injection Msg 24 (Packet 3/57/58) has been sent this session - ab_gp_proc_dispatch.c's own signal to send it only once, then fall back to a bare ack Msg 24 on later cyclic position reports. Reset by ab_gp_proc_session_handle_termination().

Definition at line 90 of file ab_gp_ertms_types.h.


The documentation for this struct was generated from the following file: