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 File Reference

Subset-037 EuroRadio FIS profile — EVC <-> RBC safe communication. More...

#include <stdint.h>
#include "safecomm/status.h"
#include "safecomm/saf/saf.h"
Include dependency graph for euroradio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  safecomm_er_config_t
 Subset-037 profile parameters. More...

Enumerations

enum  safecomm_er_side_t { SAFECOMM_ER_SIDE_ONBOARD = 0 , SAFECOMM_ER_SIDE_RBC }
 Which side of the EVC/RBC link this node is. More...

Functions

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.

Detailed Description

Subset-037 EuroRadio FIS profile — EVC <-> RBC safe communication.

A thin profile over the shared safecomm_saf_conn_t: it fixes the SaF parameters to the Subset-037 values, and (later) drives the CFM (Communication Functional Module) for bearer setup. Today the CFM is a pass-through to the caller-supplied safecomm_transport_t — the mobile bearer itself is out of scope (see CLAUDE.md).

REQ-SC-ER-001..020 — see docs/requirements/SRS.md.

Definition in file euroradio.h.

Enumeration Type Documentation

◆ safecomm_er_side_t

Which side of the EVC/RBC link this node is.

Enumerator
SAFECOMM_ER_SIDE_ONBOARD 

EVC — SaF initiator.

SAFECOMM_ER_SIDE_RBC 

RBC — SaF responder.

Definition at line 26 of file euroradio.h.

Function Documentation

◆ safecomm_er_make_saf_config()

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.

Fills out_saf with the Subset-037 role mapping and the standard T_CONNECT / supervision timeouts, ready to hand to safecomm_saf_init().

Parameters
cfgthe EuroRadio profile parameters. Non-NULL.
out_safreceives the SaF config. Non-NULL.
Returns
SAFECOMM_STATUS_OK / _INVALID_PARAM / _NOT_IMPLEMENTED.
Note
REQ-SC-ER-003.

Definition at line 12 of file euroradio.c.