@@ -8,9 +8,9 @@ can.logger
88
99Command line help (``python -m can.logger --help ``)::
1010
11- usage: canlogger [-h] [-f LOG_FILE] [-v] [-c CHANNEL]
12- [-i {pcan,remote,ixxat ,socketcan_ctypes,virtual, usb2can,nican,serial,kvaser ,socketcan,socketcan_native }]
13- [--filter ...]
11+ usage: python -m can.logger [-h] [-f LOG_FILE] [-v] [-c CHANNEL]
12+ [-i {iscan,slcan,virtual ,socketcan_ctypes,usb2can,ixxat,socketcan_native,kvaser,neovi,vector, nican,pcan, serial,remote ,socketcan}]
13+ [--filter ...] [-b BITRATE ]
1414
1515 Log CAN traffic, printing messages to stdout or to a given file
1616
@@ -27,30 +27,33 @@ Command line help (``python -m can.logger --help``)::
2727 might be a rfcomm device: "/dev/rfcomm0" With the
2828 socketcan interfaces valid channel examples include:
2929 "can0", "vcan0"
30- -i {pcan,remote,ixxat ,socketcan_ctypes,virtual, usb2can,nican,serial,kvaser ,socketcan,socketcan_native }, --interface {pcan,remote,ixxat ,socketcan_ctypes,virtual, usb2can,nican,serial,kvaser ,socketcan,socketcan_native }
30+ -i {iscan,slcan,virtual ,socketcan_ctypes,usb2can,ixxat,socketcan_native,kvaser,neovi,vector, nican,pcan, serial,remote ,socketcan}, --interface {iscan,slcan,virtual ,socketcan_ctypes,usb2can,ixxat,socketcan_native,kvaser,neovi,vector, nican,pcan, serial,remote ,socketcan}
3131 Specify the backend CAN interface to use. If left
3232 blank, fall back to reading from configuration files.
3333 --filter ... Comma separated filters can be specified for the given
3434 CAN interface: <can_id>:<can_mask> (matches when
3535 <received_can_id> & mask == can_id & mask)
3636 <can_id>~<can_mask> (matches when <received_can_id> &
3737 mask != can_id & mask)
38+ -b BITRATE, --bitrate BITRATE
39+ Bitrate to use for the CAN bus.
3840
3941
4042can.player
4143----------
4244
4345Command line help (``python -m can.player --help ``)::
4446
45- usage: canplayer [-h] [-f LOG_FILE] [-v] [-c CHANNEL]
46- [-i {pcan,remote,ixxat,socketcan_ctypes,virtual,usb2can,nican,serial,kvaser,socketcan,socketcan_native}]
47- [--ignore-timestamps] [-g GAP] [-s SKIP]
48- input-file
47+ usage: python -m can.player [-h] [-f LOG_FILE] [-v] [-c CHANNEL]
48+ [-i {kvaser,virtual,slcan,nican,neovi,ixxat,serial,usb2can,socketcan_ctypes,remote,socketcan_native,iscan,vector,pcan,socketcan}]
49+ [-b BITRATE] [--ignore-timestamps] [-g GAP]
50+ [-s SKIP]
51+ input-file
4952
5053 Replay CAN traffic
5154
5255 positional arguments:
53- input-file The file to replay. Supported types: .db
56+ input-file The file to replay. Supported types: .db, .blf
5457
5558 optional arguments:
5659 -h, --help show this help message and exit
@@ -65,12 +68,14 @@ Command line help (``python -m can.player --help``)::
6568 might be a rfcomm device: "/dev/rfcomm0" With the
6669 socketcan interfaces valid channel examples include:
6770 "can0", "vcan0"
68- -i {pcan,remote, ixxat,socketcan_ctypes,virtual,usb2can,nican,serial,kvaser ,socketcan,socketcan_native }, --interface {pcan,remote, ixxat,socketcan_ctypes,virtual,usb2can,nican,serial,kvaser ,socketcan,socketcan_native }
71+ -i {kvaser,virtual,slcan,nican,neovi, ixxat,serial,usb2can, socketcan_ctypes,remote,socketcan_native,iscan,vector,pcan ,socketcan}, --interface {kvaser,virtual,slcan,nican,neovi, ixxat,serial,usb2can, socketcan_ctypes,remote,socketcan_native,iscan,vector,pcan ,socketcan}
6972 Specify the backend CAN interface to use. If left
7073 blank, fall back to reading from configuration files.
74+ -b BITRATE, --bitrate BITRATE
75+ Bitrate to use for the CAN bus.
7176 --ignore-timestamps Ignore timestamps (send all frames immediately with
7277 minimum gap between frames)
73- -g GAP, --gap GAP <ms > minimum time between replayed frames
78+ -g GAP, --gap GAP <s > minimum time between replayed frames
7479 -s SKIP, --skip SKIP <s> skip gaps greater than 's' seconds
7580
7681
@@ -80,30 +85,29 @@ can.server
8085
8186Command line help (``python -m can.server --help ``)::
8287
83- usage: canserver [-h] [-v] [-c CHANNEL]
84- [-i {pcan,remote,ixxat,socketcan_ctypes,virtual,usb2can,nican,serial,kvaser,socketcan,socketcan_native}]
85- [-b BITRATE] [-H HOST] [-p PORT]
86-
87- Remote CAN server
88-
89- optional arguments:
90- -h, --help show this help message and exit
91- -v How much information do you want to see at the command
92- line? You can add several of these e.g., -vv is DEBUG
93- -c CHANNEL, --channel CHANNEL
94- Most backend interfaces require some sort of channel.
95- For example with the serial interface the channel
96- might be a rfcomm device: "/dev/rfcomm0" With the
97- socketcan interfaces valid channel examples include:
98- "can0", "vcan0". The server will only serve this
99- channel. Start additional servers at different ports
100- to share more channels.
101- -i {pcan,remote,ixxat,socketcan_ctypes,virtual,usb2can,nican,serial,kvaser,socketcan,socketcan_native}, --interface {pcan,remote,ixxat,socketcan_ctypes,virtual,usb2can,nican,serial,kvaser,socketcan,socketcan_native}
102- Specify the backend CAN interface to use. If left
103- blank, fall back to reading from configuration files.
104- -b BITRATE, --bitrate BITRATE
105- Force to use a specific bitrate. This will override
106- any requested bitrate by the clients.
107- -H HOST, --host HOST Host to listen to (default 0.0.0.0).
108- -p PORT, --port PORT TCP port to listen on (default 54701).
88+ usage: python -m can.server [-h] [-v] [-c CHANNEL]
89+ [-i {kvaser,nican,vector,iscan,virtual,socketcan,socketcan_ctypes,usb2can,socketcan_native,neovi,serial,pcan,ixxat,remote,slcan}]
90+ [-b BITRATE] [-H HOST] [-p PORT]
10991
92+ Remote CAN server
93+
94+ optional arguments:
95+ -h, --help show this help message and exit
96+ -v How much information do you want to see at the command
97+ line? You can add several of these e.g., -vv is DEBUG
98+ -c CHANNEL, --channel CHANNEL
99+ Most backend interfaces require some sort of channel.
100+ For example with the serial interface the channel
101+ might be a rfcomm device: "/dev/rfcomm0" With the
102+ socketcan interfaces valid channel examples include:
103+ "can0", "vcan0". The server will only serve this
104+ channel. Start additional servers at different ports
105+ to share more channels.
106+ -i {kvaser,nican,vector,iscan,virtual,socketcan,socketcan_ctypes,usb2can,socketcan_native,neovi,serial,pcan,ixxat,remote,slcan}, --interface {kvaser,nican,vector,iscan,virtual,socketcan,socketcan_ctypes,usb2can,socketcan_native,neovi,serial,pcan,ixxat,remote,slcan}
107+ Specify the backend CAN interface to use. If left
108+ blank, fall back to reading from configuration files.
109+ -b BITRATE, --bitrate BITRATE
110+ Force to use a specific bitrate. This will override
111+ any requested bitrate by the clients.
112+ -H HOST, --host HOST Host to listen to (default 0.0.0.0).
113+ -p PORT, --port PORT TCP port to listen on (default 54701).
0 commit comments