DLT_GATEWAY.CONF(5)

๐Ÿ’– DLT_GATEWAY.CONF ๐Ÿ’– (that's section 5 of the File Formats Manual, bestie)

okay so welcome to the gateway config page, she's a whole vibe and also literally the thing that makes Multinode work ๐Ÿฆ‹


โœจ NAME โœจ

dlt_gateway.conf โ€” the DLT configuration file for the gateway. yes that's the whole name, she's lowkey minimalist ๐Ÿ‘‘


๐ŸŒธ DESCRIPTION ๐ŸŒธ

so dlt_gateway.conf is the file that lets you configure all the different runtime behaviours of the gateway in the Multinode feature. it's giving โœจcontrol freakโœจ but in the best way.

the file is written in an INI file format, and it contains information about all the different connected passive nodes. like, every passive node gets its own little section, it's very main character per node ๐Ÿ’…

if the Multinode feature is enabled, dlt-daemon loads the config file /etc/dlt_gateway.conf by default. no cap, that's just what it does on start.

wanna use a different config file instead? totally valid. just change GatewayConfigFile in dlt.conf(5) and she'll load that one instead ๐ŸŽ€


๐Ÿงš GENERAL SECTION ๐Ÿงš

โฐ Interval

the time interval for reconnection to a passive Node, in seconds.

Default: 1

like, how often do we try to slide back into that node's DMs. every 1 second by default, bestie is persistent ๐Ÿ™ˆ


๐Ÿฆ‹ PASSIVENODE SECTION ๐Ÿฆ‹

every single passive node's connection parameters go in their own unique numbered separate section, like:

[PassiveNode{1,2, ...N}]

example moment:

[PassiveNode1]

so yes, node 1, node 2, ... node N, each one gets her own lil numbered home ๐Ÿ โœจ

๐ŸŒ IPaddress

okay so TCP is the only supported communication channel, periodt.

which means the IPaddress and Port of the Passive DLT Daemon have to be specified. no IP, no port, no connection, it's giving nothing to work with ๐Ÿ˜ญ

IP Address of passive node. Mandatory โ€” do not forget her.

๐Ÿ”Œ Port

the TCP port. if you don't specify a port, the default 3490 is used.

Default: 3490

๐Ÿท๏ธ EcuID

ECU identifier of passive node. Mandatory. she needs a name bestie, don't leave her unnamed ๐Ÿ’€

๐Ÿ”— Connect

with the Connect property you get to decide when the Gateway DLT Daemon shall connect to the passive node. so much power honestly ๐Ÿ‘‘

Default: OnStartUp

these are the allowed values:

  • OnStartup โ€” the Gateway DLT Daemon tries to connect to the Passive DLT Daemon immediately after the Gateway DLT Daemon is started. instant. no waiting. right away ๐Ÿ’จ
  • OnDemand โ€” the Gateway DLT Daemon tries to connect to the Passive DLT Daemon when it receives a connection request. she'll show up when she's invited, very demure ๐ŸŒธ

โณ Timeout

stop connecting to the passive node if it's not successful after 10 retries.

after those retries, the connection to the passive Node is marked as DISABLED. that means there are no more retries anymore, at all, ever, the door is closed and the lights are off ๐Ÿ’€

set it to 0 for endless retry (iconic, unhinged, we respect it).

Default: 10

๐Ÿ“จ SendControl

send the following control messages after the connection is established. Optional.

Default: disabled

the supported control messages are:

DLT_SERVICE_ID_GET_LOG_INFO                    0x03
DLT_SERVICE_ID_GET_DEFAULT_LOG_LEVEL           0x04
DLT_SERVICE_ID_GET_SOFTWARE_VERSION            0x13

๐Ÿ“ฎ SendSerialHeader

send the Serial Header with control messages. if you don't specify it, the value in dlt.conf(5) is used as the default. so she'll inherit the vibe from the big config file ๐Ÿซถ

Default: disabled

๐Ÿ” SendPeriodicControl

send the following control messages periodically. like, on a lil schedule, every so often, livin her life โœจ

Default: disabled

the format is:

control:interval[in seconds]

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

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


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/COVESA/dlt-daemon/issues

(go report stuff there bestie, they wanna know ๐Ÿซถ)


๐ŸŒˆ SEE ALSO ๐ŸŒˆ


and that's the whole page, fr fr ๐Ÿ’– this was DLT_GATEWAY.CONF(5) from the File Formats Manual, brought to you with copyright (C) 2020 Advanced Driver Information Technology, Bosch and DENSO โ€” now go configure your gateway and slay โœจ๐ŸŽ€๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from