Ask Your Question
0

How do I get Wireshark to describe can-bus errors

asked 2024-08-13 04:48:34 +0000

Dll6 gravatar image

updated 2024-08-13 04:50:10 +0000

I can see the can stream but there is no error details. Do I need another filter

edit retag flag offensive close merge delete

Comments

Is there another filter needed?

Dll6 gravatar imageDll6 ( 2024-08-13 04:49:29 +0000 )edit

It's possible that there are no errors in your capture, or maybe error packets are dropped by your capture device.

grahamb gravatar imagegrahamb ( 2024-08-13 08:50:39 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-08-13 21:20:23 +0000

Guy Harris gravatar image

A "filter" just filters out packets from the display; it doesn't add information, it just hides packets that don't match the filter, so you can see which packets do match the filter.

If by "can-bus errors" you mean CAN error frames, the filter you want is can.flags.err == 1; that will limit the display to error frames.

If by "can-bus errors" you mean lower-level errors, those aren't saved in most capture file formats.

edit flag offensive delete link more

Comments

Thank you for the response. After more reading on the subject it sounds like what I want to do is dbc decode the CAN stream. I have a dbc file for the device and will look into importing it into wireshark

Dll6 gravatar imageDll6 ( 2024-08-13 21:28:32 +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: 2024-08-13 04:48:34 +0000

Seen: 70 times

Last updated: Aug 13