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

Subset-098 RBC/RBC profile over the shared SaF sub-layer. More...

#include "safecomm/rbc_rbc/rbc_rbc.h"
#include <string.h>
Include dependency graph for rbc_rbc.c:

Go to the source code of this file.

Macros

#define SAFECOMM_RR_T_CONNECT_MS   5000U
#define SAFECOMM_RR_T_SUPERVISION_MS   10000U

Functions

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.

Detailed Description

Subset-098 RBC/RBC profile over the shared SaF sub-layer.

Definition in file rbc_rbc.c.

Macro Definition Documentation

◆ SAFECOMM_RR_T_CONNECT_MS

#define SAFECOMM_RR_T_CONNECT_MS   5000U

Subset-098 AU handshake timeout: 5s

Definition at line 9 of file rbc_rbc.c.

◆ SAFECOMM_RR_T_SUPERVISION_MS

#define SAFECOMM_RR_T_SUPERVISION_MS   10000U

Subset-098 idle link supervision: 10s

Definition at line 10 of file rbc_rbc.c.

Function Documentation

◆ safecomm_rr_make_saf_config()

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.

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

Definition at line 12 of file rbc_rbc.c.