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

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...

#include <ab_gp_ertms_train_messages.h>

Collaboration diagram for rbc_msg_136_position_report_t:
[legend]

Data Fields

rbc_train_to_track_header_t header
rbc_packet_0_position_report_t position_report
bool has_packet1
rbc_packet_1_position_report_2bg_t packet1

Detailed Description

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).

Definition at line 268 of file ab_gp_ertms_train_messages.h.

Field Documentation

◆ header

rbc_train_to_track_header_t rbc_msg_136_position_report_t::header

Definition at line 270 of file ab_gp_ertms_train_messages.h.

◆ position_report

rbc_packet_0_position_report_t rbc_msg_136_position_report_t::position_report

Definition at line 271 of file ab_gp_ertms_train_messages.h.

◆ has_packet1

bool rbc_msg_136_position_report_t::has_packet1

Definition at line 272 of file ab_gp_ertms_train_messages.h.

◆ packet1

rbc_packet_1_position_report_2bg_t rbc_msg_136_position_report_t::packet1

Definition at line 273 of file ab_gp_ertms_train_messages.h.


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