DLT-CONTROL(1)
π NAME π
dlt-control β bestie, this is the lil tool that slides into DLT Daemon's DMs and sends control messages. π
π¦ SYNOPSIS π¦
dlt-control [-v] [-h] [-S] [-R] [-y] [-b baudrate] [-e ecuid] [-a id]
[-c id] [-s id] [-m message] [-x message] [-t milliseconds] [-l level]
[-r tracestatus] [-d loglevel] [-f tracestatus] [-i enable] [-o] [-g]
[-j] [-u] [-p port] hostname/serial_device_name
okay so that's a LOT of little flags and honestly? they're all iconic in their own way. let's go. π
π DESCRIPTION π
So like. dlt-control sends control messages to the DLT Daemon. β¨
When is this a whole mood? When there's no client available β think no DLT Viewer sitting there doing its thing. Then this little queen steps in. π
It supports several control messages, including:
- Setting log level / trace level
- Setting default log level / default trace level
- Enable timing packets
- Store configuration
- Reset to factory default
- Get logging information
π«Ά note, bestie: use the-uoption instead ofhostname/serial_device_nameif a Unix Socket is being used. the example section has the receipts, scroll down. π
β¨ OPTIONS β¨
-vβ Verbose mode. she talks more. π£οΈ-hβ Usage. the "help meee" button. π-Sβ Send message with serial header. (Default: Without serial header)-Rβ Enable resync serial header.-yβ Serial device mode. π-bβ Serial device baudrate. (Default:115200)-eβ Set ECU ID. (Default:RECV)-aβ Control message application id.-cβ Control message context id.-sβ Control message injection service id.-mβ Control message injection in ASCII.-xβ Control message injection in Hex, e.g.ad 01 24 ef. π₯-tβ Timeout to terminate application. (Default:1000)-lβ Set the log level (0=off -6=verbose, default=-1). supported options, and yes you get all of them:-l level -a apid -c ctid-l level -a abc*(set level for all ctxts of apps name starts with abc)-l level -a apid(set level for all ctxts of this app)-l level -c xyz*(set level for all ctxts whose name starts with xyz)-l level -c ctid(set level for the particular ctxt)-l level(set level for all the registered contexts)
-rβ Set the trace status (0=off -1=on, default=255). supported options, again, the whole lineup:-r tracestatus -a apid -c ctid-r tracestatus -a abc*(set status for all ctxts of apps name starts with abc)-r tracestatus -a apid(set status for all ctxts of this app)-r tracestatus -c xyz*(set status for all ctxts whose name starts with xyz)-r tracestatus -c ctid(set status for the particular ctxt)-r tracestatus(set status for all the registered contexts)
-dβ Set the default log level (0=off -5=verbose). πΆ-fβ Set the default trace status (0=off -1=on).-iβ Enable timing packets (0=off -1=on). β±οΈ-oβ Store configuration. πΎ-gβ Reset to factory default. the "we're so back to zero" button. π-jβ Get log info. the gossip session. β-uβ unix port.-pβ Port for TCP communication. (Default:3490)
π EXAMPLES π
Change log level of application "APP1" to DEBUG with unix port
dlt-control -a APP1 -l 5 -u
Change log level of application "APP1" and context "CON1" to ERROR
dlt-control -a APP1 -c CON1 -l 2 localhost
Get logging information of current running applications with unix port (IPC: Unix Socket)
dlt-control -j -u
Get logging information of current running applications (IPC:FIFO)
dlt-control -j localhost
β EXIT STATUS β
Non zero is returned in case of failure. so like, if it's not 0, something went wrong. no cap. π
π AUTHOR π
Saya Sugiura (ssugiura (at) jp.adit-jv (dot) com) β the queen who built this. π
π COPYRIGHT π
Copyright (C) 2019 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 tell them, they're nice about it fr fr π«Ά)
π¦ SEE ALSO π¦
and that's the whole page bestie π this was DLT-CONTROL(1) β the one and only dlt-control(1) manual page. go forth and control your daemon. slay. β¨πΈ
π¦ where this page comes from
- debian trixie: dlt-tools 2.18.10-10+b1 Β· MPL-2.0
- ubuntu questing: dlt-tools 2.18.10-12
- ubuntu resolute: dlt-tools 3.0.0-4 Β· MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms