Can-utils

From eLinux.org
Revision as of 13:27, 22 June 2020 by Mitchdetailed (talk | contribs) (Installation)
Jump to: navigation, search

Installation

Perform following steps to install SocketCAN utilities:


OR using apt-get

  • sudo apt-get install can-utils

Usage

candump

candump let you sniff CAN packets from one or more CAN interfaces with lots of other useful options to filter, redirect messages etc. Here just a small example:

 candump vcan0
 vcan0  123   [4]  01 AA BB 22
 vcan0  123   [4]  01 AA BB 23
 vcan0  123   [4]  01 AA BB 24