summaryrefslogtreecommitdiff
path: root/doc/dlt_gateway.conf.5.md
blob: 61eb0637cd700e339b7dda85793160e0291f9559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
% DLT_GATEWAY.CONF(5)

# NAME

**dlt_gateway.conf** - DLT configuration file for gateway

# DESCRIPTION

The configuration file dlt_gateway.conf allows to configure the different runtime behaviour of gateway in Multinode feature.

The configuration file is written in an INI file format and contains information about different connected passive nodes.

If Multinode feature is enabled, dlt-daemon loads by default the configuration file /etc/dlt_gateway.conf.

An alternative configuration file can be loaded by changing `GatewayConfigFile` in dlt.conf(5).

# GENERAL SECTION

### Interval

Time interval for reconnection to passive Node in second.

    Default: 1

# PASSIVENODE SECTION

Each passive node’s connection parameters are specified in a unique numbered separate section

([PassiveNode{1,2, …N}]).

    Example: [PassiveNode1]

### IPaddress

Because TCP is the only supported communication channel,

the IPaddress and Port of the Passive DLT Daemon has to be specified.

IP Address of passive node. Mandatory

### Port

TCP port. Default 3490 is used if no port is specified.

    Default: 3490

### EcuID

ECU identifier of passive node. Mandatory.

### Connect

With the Connect property it is possible to specify when the Gateway DLT Daemon
shall connect to the passive node.

    Default: OnStartUp

 The following values are allowed:

    OnStartup   The Gateway DLT Daemon tries to connect to the Passive DLT Daemon
                immediately after the Gateway DLT Daemon is started.
    OnDemand    The Gateway DLT Daemon tries to connect to the Passive DLT Daemon
                when it receives a connection request.

### Timeout

Stop connecting to passive node, if not successful after 10 retries.

After <Timeout> of retries, the connection to passive Node is marked as DISABLED.

It means there is no any retry anymore.

Set to 0 for endless retry.

    Default: 10

### SendControl

Send following control messages after connection is established. Optional.

    Default: disabled

Supported Control messages:

    DLT_SERVICE_ID_GET_LOG_INFO                    0x03
    DLT_SERVICE_ID_GET_DEFAULT_LOG_LEVEL           0x04
    DLT_SERVICE_ID_GET_SOFTWARE_VERSION            0x13

### SendSerialHeader

Send Serial Header with control messages. Value in dlt.conf(5) is used as default if not specified.

    Default: disabled

### SendPeriodicControl

Send following control messages periodically.

    Default: disabled

Format:

    control:interval[in seconds]

# AUTHOR

Thanh Bui Nguyen Quoc (thanh.buinguyenquoc (at) vn (dot) bosch (dot) vn)

# COPYRIGHT

Copyright (C) 2020 Advanced Driver Information Technology, Bosch and DENSO. License MPL-2.0: Mozilla Public License version 2.0 http://mozilla.org/MPL/2.0/.

# BUGS

See Github issue: <https://github.com/GENIVI/dlt-daemon/issues>

# SEE ALSO

**dlt.conf(5)**, **dlt-daemon(1)**