Peak device utilising socketCAN

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
manju
Posts: 27
Joined: Mon 24. Jun 2024, 16:09

Peak device utilising socketCAN

Post by manju » Fri 21. Feb 2025, 13:54

Hello,

I'm utilizing peak device with socketCAN function, my device supports both CAN/CAN-FD. Now I wanted to log both data frames and error frames via socketCAN library. But Im not able to transfer error frames using socketCAN. Is there any method available to log both data & error frames using socketCAN. Please let me know the answer and the steps.

To transfer error frames, should we need to utilize any specific library from socketCAN.

Thanks in advance!
Thanks

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Peak device utilising socketCAN

Post by M.Heidemann » Fri 21. Feb 2025, 13:56

Hello,

you can do so using CANdumps "e" parameter, see here:

https://manpages.debian.org/testing/can ... .1.en.html

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

Post Reply