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_proc_eom.c
Go to the documentation of this file.
1
5
6#include "ab_gp_proc_eom.h"
7#include "ab_gp_proc_ma.h"
9
11{
12 if (ctx == NULL)
13 {
14 return false;
15 }
16
17 /* 1. Revoke active Movement Authority */
19
20 /* 2. Disconnect allocated routes and transition to IDLE */
22
23 return true;
24}
bool ab_gp_proc_eom_handle(ab_gp_ertms_train_context_t *ctx, ab_gp_db_t *db)
Handles inbound End of Mission notification (Msg 150).
ERTMS Subset-026 §5.9 End of Mission (EoM) Procedure.
void ab_gp_proc_ma_revoke(ab_gp_ertms_train_context_t *ctx)
Revokes active Movement Authority (e.g. during emergency or termination).
ERTMS Subset-026 §5.5 Movement Authority (MA) Management Procedure.
bool ab_gp_proc_session_handle_termination(ab_gp_ertms_train_context_t *ctx, ab_gp_db_t *db)
Handles session termination (Msg 156 / Msg 41).
ERTMS Subset-026 §5.3 Communication Session Management Procedure.
Complete ERTMS state and procedure context for one train slot.