Safe Communication Framework 0.1.0 build feea4f9
ERTMS/ETCS safe communication (Subset-037 EuroRadio, Subset-098 RBC/RBC), CENELEC EN 50128 SIL 4 oriented
Loading...
Searching...
No Matches
rbc_rbc.h
Go to the documentation of this file.
1
13#ifndef SAFECOMM_RBC_RBC_H
14#define SAFECOMM_RBC_RBC_H
15
16#include <stdint.h>
17
18#include "safecomm/status.h"
19#include "safecomm/saf/saf.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
31
33typedef struct
34{
36 uint8_t kmac[SAFECOMM_MAC_KEY_LEN];
37 uint32_t rbc_id_self;
38 uint32_t rbc_id_peer;
40
49 safecomm_saf_config_t *out_saf);
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* SAFECOMM_RBC_RBC_H */
#define SAFECOMM_MAC_KEY_LEN
Definition mac.h:34
safecomm_rr_role_t
Role of this RBC in the handover.
Definition rbc_rbc.h:27
@ SAFECOMM_RR_ROLE_ACCEPTING
Definition rbc_rbc.h:29
@ SAFECOMM_RR_ROLE_HANDING_OVER
Definition rbc_rbc.h:28
safecomm_status_t safecomm_rr_make_saf_config(const safecomm_rr_config_t *cfg, safecomm_saf_config_t *out_saf)
Build a SaF config for a Subset-098 RBC/RBC connection.
Definition rbc_rbc.c:12
Safety Functional (SaF) sub-layer — shared by Subset-037 and Subset-098 (ERTMS/ETCS Subset-037 §7).
Common status codes for the Safe Communication Framework.
safecomm_status_t
Result of a Safe Communication Framework operation.
Definition status.h:17
Subset-098 profile parameters.
Definition rbc_rbc.h:34
Static configuration for one SaF connection.
Definition saf.h:77