SafeAPI RBC 2oo2 Generic Application
IL/CTC route and train logic for the safeAPIRBC2oo2 reference RBC
Toggle main menu visibility
Loading...
Searching...
No Matches
main_c_ctc.c
Go to the documentation of this file.
1
8
#include "common/rbc_util_frame.h"
9
#include "gateway_c_common.h"
10
#include "
gateway_c_ctc_handler.h
"
11
12
int
main(
int
argc,
char
**argv)
13
{
14
static
const
gateway_c_service_def_t svc = {
15
.app_name =
"safeAPIRBC2oo2-Gateway-CTC"
,
16
.log_tag =
"CTC"
,
17
.handler_init = gateway_c_ctc_handler_init,
18
.handler_execute = gateway_c_ctc_handler_execute,
19
.handler_shutdown = gateway_c_ctc_handler_shutdown,
20
.handler_check_link_down = gateway_c_ctc_handler_check_link_down,
21
.pre_execute_hook = NULL,
22
/* ADR-038: publish own status to the C broker every 5 s. */
23
.broker_channel =
"c-broker-ctc"
,
24
.status_src_id = (uint8_t)RBC_UTIL_SRC_GW_CTC
25
};
26
27
return
gateway_c_main(argc, argv, &svc);
28
}
gateway_c_ctc_handler.h
CTCHandler - Role C Gateway's TCP/IP server for the single CTC sim instance and its dedicated relay t...
src
C
ctc
main_c_ctc.c
Generated by
1.18.0