CAN programming interface environment
Version 3.10
Loading...
Searching...
No Matches
can-dump

The purpose of the command-line tool can-dump is to show CAN frames from an active CANpie FD Server channel.

Description

can-dump [options] interface

The options are as follows:

-h, --help     Displays this help
-H <host>      Connect to <host>
-n <count>     Terminate after receiving <count> CAN frames
-t             Show time-stamp
-T <msec>      Terminate after <msec> with no reception
-v, --version  Displays version information

The command requires a CAN interface as argument, where can1 is the first CAN interface.

Examples

Show CAN frames from CAN interface 2 and stop after 20 frames:

can-dump -n 20 can2

Connect to CAN channel 1 of a CANpie server running on a remote host with IP address 192.168.40.44; terminate after 2 seconds with no reception of CAN frames:

can-dump -H 192.168.40.44 -T 2000 can1

See also

Use can-send for transmission of CAN data frames and can-error for transmission of CAN error frames.