.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.5.
.TH CANSNIFFER "1" "February 2018" "cansniffer 2018.02.0-1" "User Commands"
.SH NAME
cansniffer \- manual page for cansniffer 2018.02.0-1
.SH SYNOPSIS
.B cansniffer
[\fI\,can-interface\/\fR]
.SH OPTIONS
.TP
\fB\-m\fR <mask>
(initial FILTER default 0x00000000)
.TP
\fB\-v\fR <value>
(initial FILTER default 0x00000000)
.TP
\fB\-q\fR
(quiet \- all IDs deactivated)
.TP
\fB\-r\fR <name>
(read sniffset.name from file)
.TP
\fB\-b\fR
(start with binary mode)
.TP
\fB\-B\fR
(start with binary mode with gap \- exceeds 80 chars!)
.TP
\fB\-c\fR
(color changes)
.TP
\fB\-f\fR
(filter on CAN\-ID only)
.TP
\fB\-t\fR <time>
(timeout for ID display [x10ms] default: 500, 0 = OFF)
.TP
\fB\-h\fR <time>
(hold marker on changes [x10ms] default: 100)
.TP
\fB\-l\fR <time>
(loop time (display) [x10ms] default: 20)
.PP
Use interface name 'any' to receive from all can\-interfaces.
.SS "commands that can be entered at runtime:"
.TP
q<ENTER>
\- quit
.TP
b<ENTER>
\- toggle binary / HEX\-ASCII output
.TP
B<ENTER>
\- toggle binary with gap / HEX\-ASCII output (exceeds 80 chars!)
.TP
c<ENTER>
\- toggle color mode
.TP
#<ENTER>
\- notch currently marked/changed bits (can be used repeatedly)
.TP
*<ENTER>
\- clear notched marked
.TP
rMYNAME<ENTER>
\- read settings file (filter/notch)
.TP
wMYNAME<ENTER>
\- write settings file (filter/notch)
.HP
+FILTER<ENTER>  \- add CAN\-IDs to sniff
.HP
\fB\-FILTER\fR<ENTER>  \- remove CAN\-IDs to sniff
.SS "FILTER can be a single CAN-ID or a CAN-ID/Bitmask:"
.HP
+1F5<ENTER>     \- add CAN\-ID 0x1F5
.HP
\fB\-42E\fR<ENTER>     \- remove CAN\-ID 0x42E
.HP
\fB\-42E7FF\fR<ENTER>  \- remove CAN\-ID 0x42E (using Bitmask)
.HP
\fB\-500700\fR<ENTER>  \- remove CAN\-IDs 0x500 \- 0x5FF
.HP
+400600<ENTER>  \- add CAN\-IDs 0x400 \- 0x5FF
.HP
+000000<ENTER>  \- add all CAN\-IDs
.HP
\fB\-000000\fR<ENTER>  \- remove all CAN\-IDs
.PP
if (id & filter) == (sniff\-id & filter) the action (+/\-) is performed,
which is quite easy when the filter is 000
