View on GitHub

CANalyze

Native CAN interface for Linux

About

CANalyze is an open source, native CAN interface for Linux that can be built entirely using open source tools. It enables you to monitor and transmit CAN frames using can-utils. Start hacking cars by connecting to the OBD-II port.

Installation

  1. build or buy a CANalyze
  2. $ sudo apt-get install can-utils
  3. start hacking

You also need a USB 2.0 type A male to type B male cable and an OBD-II to DB9 cable. Both a CiA DS102-2 or standard OBD-II cable will work. You can find more information about the device in the user guide.

Getting started

Bring up CAN interface

$ sudo ip link set can0 up type can bitrate 500000

Sniff CAN messages

$ cansniffer -c can0

or dump all CAN messages

$ candump can0

Send a CAN message

$ cansend can0 666#01020304

More info

Don’t know what’s next? Check out

or subscribe to the Open Garages’ mailing list.

Source code