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_handover.h
Go to the documentation of this file.
1
8
9#ifndef RTE_EXAMPLE_AB_GP_PROC_HANDOVER_H
10#define RTE_EXAMPLE_AB_GP_PROC_HANDOVER_H
11
12#include "ab_gp_ertms_types.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
23
34 uint16_t target_nid_c,
35 uint16_t target_nid_rbc,
36 uint64_t target_nid_radio,
37 uint32_t d_rbctr_m);
38
47
54
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* RTE_EXAMPLE_AB_GP_PROC_HANDOVER_H */
67
void ab_gp_proc_handover_init(ab_gp_ertms_train_context_t *ctx)
Initializes handover context for a train slot.
bool ab_gp_proc_handover_announce(ab_gp_ertms_train_context_t *ctx, uint16_t target_nid_c, uint16_t target_nid_rbc, uint64_t target_nid_radio, uint32_t d_rbctr_m)
Announces an upcoming boundary transition to a neighboring RBC.
ab_gp_ertms_handover_state_t ab_gp_proc_handover_get_state(const ab_gp_ertms_train_context_t *ctx)
Returns current handover state for a train.
bool ab_gp_proc_handover_complete(ab_gp_ertms_train_context_t *ctx)
Completes the handover and marks session transferred.
bool ab_gp_proc_handover_generate_packet_131(ab_gp_ertms_train_context_t *ctx, rbc_packet_131_rbc_transition_t *out_p131)
Generates an ERTMS Packet 131 (RBC transition order) payload.
ERTMS Subset-026 Chapter 5 Operational Procedure Data Types and Enums.
ab_gp_ertms_handover_state_t
Handover execution state machine.
Complete ERTMS state and procedure context for one train slot.