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
euroradio.h
Go to the documentation of this file.
1
13#ifndef SAFECOMM_EURORADIO_H
14#define SAFECOMM_EURORADIO_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 etcs_id_self;
38 uint32_t etcs_id_peer;
40
53 safecomm_saf_config_t *out_saf);
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* SAFECOMM_EURORADIO_H */
safecomm_er_side_t
Which side of the EVC/RBC link this node is.
Definition euroradio.h:27
@ SAFECOMM_ER_SIDE_ONBOARD
Definition euroradio.h:28
@ SAFECOMM_ER_SIDE_RBC
Definition euroradio.h:29
safecomm_status_t safecomm_er_make_saf_config(const safecomm_er_config_t *cfg, safecomm_saf_config_t *out_saf)
Build a SaF config for a Subset-037 connection.
Definition euroradio.c:12
#define SAFECOMM_MAC_KEY_LEN
Definition mac.h:34
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-037 profile parameters.
Definition euroradio.h:34
Static configuration for one SaF connection.
Definition saf.h:77