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_messages.h File Reference
Include dependency graph for ab_gp_ertms_train_messages.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rbc_track_to_train_header_t
struct  rbc_train_to_track_header_t
struct  rbc_msg_2_sr_authorisation_t
 Msg 2: SR Authorisation (Subset-026 8.7.1). More...
struct  rbc_msg_3_movement_authority_t
 Msg 3: Movement Authority (with optional packets). More...
struct  rbc_msg_6_recognition_exit_trip_t
 Msg 6: Recognition of exit from TRIP mode (Subset-026 8.7.3) - header only, no message-specific fields. More...
struct  rbc_msg_8_ack_train_data_t
 Msg 8: Acknowledgement of Train Data (Subset-026 8.7.4). More...
struct  rbc_msg_9_request_shorten_ma_t
 Msg 9: Request to Shorten MA (Subset-026 8.7.5) - carries a shortened Level 2 MA (Packet 15), same shape Msg 3 already uses. More...
struct  rbc_msg_15_ces_t
 Msg 15: Conditional Emergency Stop (CES). More...
struct  rbc_msg_16_ues_t
 Msg 16: Unconditional Emergency Stop (UES). More...
struct  rbc_msg_18_ces_revocation_t
 Msg 18: Revocation of Emergency Stop. More...
struct  rbc_msg_24_general_message_t
 Msg 24: General Message (National Values, TSRs, Text, Parameters). More...
struct  rbc_msg_27_sh_refused_t
 Msg 27: SH Refused (Subset-026 8.7.10) - answers a Msg 130 Request for Shunting; carries the T_TRAIN of that request, same shape as Msg 8. More...
struct  rbc_msg_28_sh_authorised_t
 Msg 28: SH Authorised (Subset-026 8.7.11) - carries the T_TRAIN of the authorised Msg 130, like Msg 27. The optional packets (3 National Values, 44, 49 List of balises for SH area) are not sent: no site data defines an SH area yet. More...
struct  rbc_msg_33_transition_order_t
 Msg 33: RBC Transition Order (this codebase's own numbering - see ab_gp_ertms_train_message_codec.c's encode-case comment for the Subset-026 conformance note: real Message 33 is "MA with Shifted Location Reference"; RBC transition is really Packet 131 inside Message 24). More...
struct  rbc_msg_34_track_ahead_free_request_t
 Msg 34: Track Ahead Free Request (Subset-026 8.7.14). More...
struct  rbc_msg_41_session_termination_order_t
 Msg 41 (this codebase's own numbering - see codec's own encode-case comment for the Subset-026 conformance note, same posture as Msg 33): Session Termination Order - header only. More...
struct  rbc_msg_129_validated_train_data_t
 Msg 129: Validated Train Data. More...
struct  rbc_msg_130_request_for_shunting_t
 Msg 130: Request for Shunting (Subset-026 8.6.2) - header plus a position report, same bare (no leading NID_PACKET byte) shape Msg 129/132 already use for their own Packet 0/1 field, not Msg 136's leading-byte variant. More...
struct  rbc_msg_132_ma_request_t
 Msg 132: Movement Authority Request. More...
struct  rbc_msg_136_position_report_t
 Msg 136: Train Position Report - carries Packet 0 OR Packet 1 (Subset-026 8.6.4: "Packet 0 or 1"), never both. @position_report is ALWAYS populated regardless of which packet actually arrived (the decoder mirrors Packet 1's own core fields into it too - see ab_gp_ertms_train_message_codec.c's own decode case) so every EXISTING reader that only ever looked at @position_report (written before Packet 1 existed) keeps working unchanged; @has_packet1/@packet1 exist for a caller that specifically needs to tell the two apart (ab_gp_proc_dispatch.c's own handle_msg_136() does, for the post-EoM idle heartbeat - see that function's own comment). More...
struct  rbc_msg_146_ack_t
 Msg 146: Acknowledgement. More...
struct  rbc_msg_147_ack_emergency_stop_t
 Msg 147: Emergency Stop Acknowledgement. More...
struct  rbc_msg_150_end_of_mission_t
 Msg 150: End of Mission (Subset-026 8.6.10). More...
struct  rbc_msg_155_init_session_t
 Msg 155: Initiation of a Communication Session. More...
struct  rbc_msg_156_terminate_session_t
 Msg 156: Termination of a Communication Session. More...
struct  rbc_msg_159_session_established_t
 Msg 159: Session Established. More...

Macros

#define RBC_MSG_TRACK_TO_TRAIN_SR_AUTHORISATION   2U
#define RBC_MSG_TRACK_TO_TRAIN_MOVEMENT_AUTHORITY   3U
#define RBC_MSG_TRACK_TO_TRAIN_RECOGNITION_EXIT_SR   6U
#define RBC_MSG_TRACK_TO_TRAIN_ACK_TRAIN_DATA   8U
#define RBC_MSG_TRACK_TO_TRAIN_REQUEST_SHORTEN_MA   9U
#define RBC_MSG_TRACK_TO_TRAIN_CONDITIONAL_EMERGENCY_STOP   15U
#define RBC_MSG_TRACK_TO_TRAIN_UNCONDITIONAL_EMERGENCY_STOP   16U
#define RBC_MSG_TRACK_TO_TRAIN_REVOCATION_EMERGENCY_STOP   18U
#define RBC_MSG_TRACK_TO_TRAIN_GENERAL_MESSAGE   24U
#define RBC_MSG_TRACK_TO_TRAIN_SH_REFUSED   27U
#define RBC_MSG_TRACK_TO_TRAIN_SH_AUTHORISED   28U
#define RBC_MSG_TRACK_TO_TRAIN_RBC_TRANSITION_ORDER   33U
#define RBC_MSG_TRACK_TO_TRAIN_TRACK_AHEAD_FREE_REQUEST   34U
#define RBC_MSG_TRACK_TO_TRAIN_SESSION_TERMINATION_ORDER   41U
#define RBC_MSG_TRAIN_TO_TRACK_VALIDATED_TRAIN_DATA   129U
#define RBC_MSG_TRAIN_TO_TRACK_REQUEST_FOR_SHUNTING   130U
#define RBC_MSG_TRAIN_TO_TRACK_MA_REQUEST   132U
#define RBC_MSG_TRAIN_TO_TRACK_POSITION_REPORT   136U
#define RBC_MSG_TRAIN_TO_TRACK_ACKNOWLEDGEMENT   146U
#define RBC_MSG_TRAIN_TO_TRACK_ACK_EMERGENCY_STOP   147U
#define RBC_MSG_TRAIN_TO_TRACK_END_OF_MISSION   150U
#define RBC_MSG_TRAIN_TO_TRACK_INIT_SESSION   155U
#define RBC_MSG_TRAIN_TO_TRACK_TERMINATE_SESSION   156U
#define RBC_MSG_TRAIN_TO_TRACK_SESSION_ESTABLISHED   159U

Macro Definition Documentation

◆ RBC_MSG_TRACK_TO_TRAIN_SR_AUTHORISATION

#define RBC_MSG_TRACK_TO_TRAIN_SR_AUTHORISATION   2U

Definition at line 30 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_MOVEMENT_AUTHORITY

#define RBC_MSG_TRACK_TO_TRAIN_MOVEMENT_AUTHORITY   3U

Definition at line 31 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_RECOGNITION_EXIT_SR

#define RBC_MSG_TRACK_TO_TRAIN_RECOGNITION_EXIT_SR   6U

Definition at line 32 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_ACK_TRAIN_DATA

#define RBC_MSG_TRACK_TO_TRAIN_ACK_TRAIN_DATA   8U

Definition at line 33 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_REQUEST_SHORTEN_MA

#define RBC_MSG_TRACK_TO_TRAIN_REQUEST_SHORTEN_MA   9U

Definition at line 34 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_CONDITIONAL_EMERGENCY_STOP

#define RBC_MSG_TRACK_TO_TRAIN_CONDITIONAL_EMERGENCY_STOP   15U

Definition at line 35 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_UNCONDITIONAL_EMERGENCY_STOP

#define RBC_MSG_TRACK_TO_TRAIN_UNCONDITIONAL_EMERGENCY_STOP   16U

Definition at line 36 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_REVOCATION_EMERGENCY_STOP

#define RBC_MSG_TRACK_TO_TRAIN_REVOCATION_EMERGENCY_STOP   18U

Definition at line 37 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_GENERAL_MESSAGE

#define RBC_MSG_TRACK_TO_TRAIN_GENERAL_MESSAGE   24U

Definition at line 38 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_SH_REFUSED

#define RBC_MSG_TRACK_TO_TRAIN_SH_REFUSED   27U

Definition at line 39 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_SH_AUTHORISED

#define RBC_MSG_TRACK_TO_TRAIN_SH_AUTHORISED   28U

Definition at line 40 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_RBC_TRANSITION_ORDER

#define RBC_MSG_TRACK_TO_TRAIN_RBC_TRANSITION_ORDER   33U

Definition at line 41 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_TRACK_AHEAD_FREE_REQUEST

#define RBC_MSG_TRACK_TO_TRAIN_TRACK_AHEAD_FREE_REQUEST   34U

Definition at line 42 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRACK_TO_TRAIN_SESSION_TERMINATION_ORDER

#define RBC_MSG_TRACK_TO_TRAIN_SESSION_TERMINATION_ORDER   41U

Definition at line 43 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_VALIDATED_TRAIN_DATA

#define RBC_MSG_TRAIN_TO_TRACK_VALIDATED_TRAIN_DATA   129U

Definition at line 48 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_REQUEST_FOR_SHUNTING

#define RBC_MSG_TRAIN_TO_TRACK_REQUEST_FOR_SHUNTING   130U

Definition at line 49 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_MA_REQUEST

#define RBC_MSG_TRAIN_TO_TRACK_MA_REQUEST   132U

Definition at line 50 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_POSITION_REPORT

#define RBC_MSG_TRAIN_TO_TRACK_POSITION_REPORT   136U

Definition at line 51 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_ACKNOWLEDGEMENT

#define RBC_MSG_TRAIN_TO_TRACK_ACKNOWLEDGEMENT   146U

Definition at line 52 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_ACK_EMERGENCY_STOP

#define RBC_MSG_TRAIN_TO_TRACK_ACK_EMERGENCY_STOP   147U

Definition at line 53 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_END_OF_MISSION

#define RBC_MSG_TRAIN_TO_TRACK_END_OF_MISSION   150U

Definition at line 54 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_INIT_SESSION

#define RBC_MSG_TRAIN_TO_TRACK_INIT_SESSION   155U

Definition at line 55 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_TERMINATE_SESSION

#define RBC_MSG_TRAIN_TO_TRACK_TERMINATE_SESSION   156U

Definition at line 56 of file ab_gp_ertms_train_messages.h.

◆ RBC_MSG_TRAIN_TO_TRACK_SESSION_ESTABLISHED

#define RBC_MSG_TRAIN_TO_TRACK_SESSION_ESTABLISHED   159U

Definition at line 57 of file ab_gp_ertms_train_messages.h.