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_interface.h
Go to the documentation of this file.
1
16
17#ifndef AB_GP_ERTMS_TRAIN_INTERFACE_H
18#define AB_GP_ERTMS_TRAIN_INTERFACE_H
19
23
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/* ========================================================================= */
30/* Generic Inbound/Outbound Message Envelope Types */
31/* ========================================================================= */
32
50
72
73/* ========================================================================= */
74/* Interface Callback / Handler Signatures */
75/* ========================================================================= */
76
80typedef void (*rbc_train_on_message_received_fn)(const rbc_train_inbound_msg_t *msg, void *user_context);
81
86 const rbc_train_outbound_msg_t *msg,
87 void *user_context);
88
89#ifdef __cplusplus
90}
91#endif
92
93#endif /* RBC_TRAIN_INTERFACE_H */
int(*) rbc_train_send_message_fn(rbc_nid_engine_t nid_engine, const rbc_train_outbound_msg_t *msg, void *user_context)
Dispatch an outbound track-to-train message over the Euroradio link.
void(*) rbc_train_on_message_received_fn(const rbc_train_inbound_msg_t *msg, void *user_context)
Callback invoked when a validated message from a train arrives at RBC.
uint32_t rbc_nid_engine_t
ETCS On-board Engine Identifier / Train ID (24 bits in ETCS).
Msg 130: Request for Shunting (Subset-026 8.6.2) - header plus a position report, same bare (no leadi...
Msg 132: Movement Authority Request.
Msg 136: Train Position Report - carries Packet 0 OR Packet 1 (Subset-026 8.6.4: "Packet 0 or 1"),...
Msg 146: Acknowledgement.
Msg 147: Emergency Stop Acknowledgement.
Msg 150: End of Mission (Subset-026 8.6.10).
Msg 155: Initiation of a Communication Session.
Msg 156: Termination of a Communication Session.
Msg 15: Conditional Emergency Stop (CES).
Msg 16: Unconditional Emergency Stop (UES).
Msg 18: Revocation of Emergency Stop.
Msg 24: General Message (National Values, TSRs, Text, Parameters).
Msg 27: SH Refused (Subset-026 8.7.10) - answers a Msg 130 Request for Shunting; carries the T_TRAIN ...
Msg 28: SH Authorised (Subset-026 8.7.11) - carries the T_TRAIN of the authorised Msg 130,...
Msg 2: SR Authorisation (Subset-026 8.7.1).
Msg 33: RBC Transition Order (this codebase's own numbering - see ab_gp_ertms_train_message_codec....
Msg 34: Track Ahead Free Request (Subset-026 8.7.14).
Msg 3: Movement Authority (with optional packets).
Msg 41 (this codebase's own numbering - see codec's own encode-case comment for the Subset-026 confor...
Msg 6: Recognition of exit from TRIP mode (Subset-026 8.7.3) - header only, no message-specific field...
Msg 8: Acknowledgement of Train Data (Subset-026 8.7.4).
Msg 9: Request to Shorten MA (Subset-026 8.7.5) - carries a shortened Level 2 MA (Packet 15),...
rbc_msg_136_position_report_t msg_136
rbc_msg_150_end_of_mission_t msg_150
rbc_msg_147_ack_emergency_stop_t msg_147
rbc_msg_129_validated_train_data_t msg_129
rbc_msg_156_terminate_session_t msg_156
rbc_msg_159_session_established_t msg_159
rbc_msg_130_request_for_shunting_t msg_130
rbc_msg_155_init_session_t msg_155
rbc_msg_3_movement_authority_t msg_3
rbc_msg_33_transition_order_t msg_33
rbc_msg_28_sh_authorised_t msg_28
rbc_msg_2_sr_authorisation_t msg_2
rbc_msg_8_ack_train_data_t msg_8
rbc_msg_18_ces_revocation_t msg_18
rbc_msg_6_recognition_exit_trip_t msg_6
rbc_msg_34_track_ahead_free_request_t msg_34
rbc_msg_9_request_shorten_ma_t msg_9
rbc_msg_24_general_message_t msg_24
rbc_msg_41_session_termination_order_t msg_41