1DLT-CONTROL(1) DLT-CONTROL(1)
2
3
4
6 dlt-control - Send control messages to DLT Daemon
7
9 dlt-control [-v] [-h] [-S] [-R] [-y] [-b baudrate] [-e ecuid] [-a id]
10 [-c id] [-s id] [-m message] [-x message] [-t milliseconds] [-l level]
11 [-r tracestatus] [-d loglevel] [-f tracestatus] [-i enable] [-o] [-g]
12 [-j] [-u] [-p port] hostname/serial_device_name
13
15 Send control messages to DLT Daemon. This is useful when there is no
16 client (e.g. DLT Viewer) available. It supports several control mes‐
17 sages including: - Setting log level/trace level - Setting default log
18 level/default trace level - Enable timing packets - Store configuration
19 - Reset to factory default - Get logging information
20
21 Note Use -u option instead of hostname/serial_device_name if Unix Sock‐
22 et is used. See example for detail.
23
24 OPTIONS
25 -v Verbose mode
26
27 -h Usage
28
29 -S Send message with serial header (Default: Without serial header)
30
31 -R Enable resync serial header
32
33 -y Serial device mode
34
35 -b Serial device baudrate (Default: 115200)
36
37 -e Set ECU ID (Default: RECV)
38
39 -a Control message application id
40
41 -c Control message context id
42
43 -s Control message injection service id
44
45 -m Control message injection in ASCII
46
47 -x Control message injection in Hex e.g. `ad 01 24 ef'
48
49 -t Timeout to terminate application (Default:1000)
50
51 -l
52
53 Set the log level (0=off - 6=verbose, default= -1)
54 supported options:
55 -l level -a apid -c ctid
56 -l level -a abc* (set level for all ctxts of apps name starts with abc)
57 -l level -a apid (set level for all ctxts of this app)
58 -l level -c xyz* (set level for all ctxts whose name starts with xyz)
59 -l level -c ctid (set level for the particular ctxt)
60 -l level (set level for all the registered contexts)
61
62 -r Set the trace status (0=off - 1=on, default=255) supported op‐
63 tions: -r tracestatus -a apid -c ctid -r tracestatus -a abc*
64 (set status for all ctxts of apps name starts with abc) -r
65 tracestatus -a apid (set status for all ctxts of this app) -r
66 tracestatus -c xyz* (set status for all ctxts whose name starts
67 with xyz) -r tracestatus -c ctid (set status for the particular
68 ctxt) -r tracestatus (set status for all the registered con‐
69 texts)
70
71 -d Set the default log level (0=off - 5=verbose)
72
73 -f Set the default trace status (0=off - 1=on)
74
75 -i Enable timing packets (0=off - 1=on)
76
77 -o Store configuration
78
79 -g Reset to factory default
80
81 -j Get log info
82
83 -u unix port
84
85 -p Port for TCP communication (Default: 3490).
86
88 Change log level of application “APP1” to DEBUG with unix port dlt-con‐
89 trol -a APP1 -l 5 -u
90
91 Change log level of application “APP1” and context “CON1” to ERROR dlt-
92 control -a APP1 -c CON1 -l 2 localhost
93
94 Get logging information of current running applications with unix port
95 (IPC: Unix Socket) dlt-control -j -u
96
97 Get logging information of current running applications (IPC:FIFO) dlt-
98 control -j localhost
99
101 Non zero is returned in case of failure.
102
104 Saya Sugiura (ssugiura (at) jp.adit-jv (dot) com)
105
107 Copyright (C) 2019 Advanced Driver Information Technology, Bosch and
108 DENSO. License MPL-2.0: Mozilla Public License version 2.0
109 http://mozilla.org/MPL/2.0/.
110
112 See Github issue: <https://github.com/GENIVI/dlt-daemon/issues>
113
115 dlt-daemon(1)
116
117
118
119 DLT-CONTROL(1)