'\" t .\" Title: dlt-receive .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 02/23/2016 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "DLT\-RECEIVE" "1" "02/23/2016" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" dlt-receive \- Console based client for DLT Logging .SH "SYNOPSIS" .sp \fBdlt\-receive\fR [\-h] [\-a] [\-x] [\-m] [\-s] [\-o filename] [\-c limit] [\-v] [\-y] [\-b baudrate] [\-e ecuid] [\-f filterfile] hostname/serial_device_name .SH "DESCRIPTION" .sp Receive DLT messages from DLT daemon and print or store the messages\&. .SH "OPTIONS" .PP \fB\-h\fR .RS 4 Display a short help text\&. .RE .PP \fB\-a\fR .RS 4 Print DLT file; payload as ASCII\&. .RE .PP \fB\-x\fR .RS 4 Print DLT file; payload as hex\&. .RE .PP \fB\-m\fR .RS 4 Print DLT file; payload as hex and ASCII\&. .RE .PP \fB\-s\fR .RS 4 Print DLT file; only headers\&. .RE .PP \fB\-o\fR .RS 4 Output messages in new DLT file\&. .RE .PP \fB\-c\fR .RS 4 Set limit when storing messages in file\&. When limit is reached, a new file is opened\&. Use K,M,G as suffix to specify kilo\-, mega\-, giga\-bytes respectively, e\&.g\&. 1M for one megabyte (Default: unlimited)\&. .RE .PP \fB\-v\fR .RS 4 Verbose mode\&. .RE .PP \fB\-y\fR .RS 4 Serial device mode\&. .RE .PP \fB\-b\fR .RS 4 Serial device baudrate (Default: 115200)\&. .RE .PP \fB\-e\fR .RS 4 Set ECU ID (Default: RECV)\&. .RE .PP \fB\-f\fR .RS 4 Enable filtering of messages\&. .RE .SH "EXAMPLES" .PP Print received message headers received from a dlt\-daemon running on localhost .RS 4 dlt\-receive \-s localhost .RE .PP Print received message headers received from a serila interface .RS 4 dlt\-receive \-s \-y /dev/ttySO .RE .PP Store received message headers from a dlt\-daemon to a log file called log\&.dlt and filter them for e\&.g\&. Application ID ABCD and Context ID EFGH (Write:ABCD EFGH as single line to a file called filter\&.txt) .RS 4 dlt\-receive \-s \-o log\&.dlt \-f filter\&.txt localhost .RE .PP Store incoming messages in file(s) and restrict file sizes to 1 megabyte\&. If limit is reached, log\&.dlt will be renamed into log\&.0\&.dlt, log\&.1\&.dlt, \&... No files will be overwritten in this mode .RS 4 dlt\-receive \-o log\&.dlt \-c 1M localhost .RE .SH "EXIT STATUS" .sp Non zero is returned in case of failure\&. .SH "NOTES" .sp Be aware that dlt\-receive will never delete any files\&. Instead, it creates a new file\&. .SH "AUTHOR" .sp Alexander Wenzel (alexander\&.aw\&.wenzel (at) bmw\&.de) .SH "COPYRIGHT" .sp Copyright \(co 2015 BMW AG\&. License MPL\-2\&.0: Mozilla Public License version 2\&.0 http://mozilla\&.org/MPL/2\&.0/\&. .SH "RESOURCES" .sp Main web site: http://projects\&.genivi\&.org/diagnostic\-log\-trace Mailinglist: https://lists\&.genivi\&.org/mailman/listinfo/genivi\-diagnostic\-log\-and\-trace .SH "SEE ALSO" .sp dlt\-daemon(1)