Ask Your Question
0

How to open CAN dbc file in wireshark

asked 2018-04-11 13:13:01 +0000

Lenin gravatar image

Hi

How to open a CAN dbc file using wireshark. we are using wireshark version 2.4.6..

Thanks lenin

edit retag flag offensive close merge delete

Comments

So are those files containing the data for messages sent over the CAN bus, or are they files that contain descriptions for fields in messages?

The first would be a file that you'd read in Wireshark and get a list of packets. The second would be a file that would be read when Wireshark started up, or when it first saw a CAN bus message, and that Wireshark would use to interpret the content of CAN bus messages in a file that contains a sequence of CAN bus messages.

From what I can find on the Internet, it may be the second of those.

Guy Harris gravatar imageGuy Harris ( 2018-04-12 22:00:45 +0000 )edit

From a look at the code, they appear to be files that describe the format of messages; the plugin includes a dissector that reads a dbc file and uses it to process CAN bus messages.

Guy Harris gravatar imageGuy Harris ( 2018-04-13 02:31:10 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-11 23:19:01 +0000

Guy Harris gravatar image

Try this plugin, which includes Windows binaries and source; you'd need to compile the source if you're not using Windows.

(We should probably pick this up and incorporate it into Wireshark, so that it's available by default in the Windows binary, available in the macOS binary, and available in the Linux/*BSD/etc. binaries distributed by third parties.)

edit flag offensive delete link more

Comments

Seems to be GTK only somehow. But I noticed Jakub Zawadzki can shed light on that.

Jaap gravatar imageJaap ( 2018-04-12 06:56:58 +0000 )edit

They implemented a tap for OBD-II messages but didn't use the tap mechanism - they just directly added calls to the tap from the dissector. The tap pops up a GTK+ window.

Guy Harris gravatar imageGuy Harris ( 2018-04-12 22:03:58 +0000 )edit

I have added the plugin. However I'm unable to load the CAN dbc file.

Thanks Lenin.

Lenin gravatar imageLenin ( 2018-04-16 07:13:31 +0000 )edit

Since this is not part of Wireshark itself you could try to get support from the supplier, via csselectronics.com

Jaap gravatar imageJaap ( 2018-04-16 09:47:38 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-04-11 13:13:01 +0000

Seen: 169 times

Last updated: Apr 11