Page 1 of 1

LINUX_CAN_Read_Timeout() gives CAN_ERR_OK without connectio

Posted: Sat 30. Jun 2018, 09:02
by tymbusku
Hello,

I use PCAN-USB. When I plug in the USB-Adapter, but don't connect it via CAN-Bus with the motor, the linux function LINUX_CAN_Read_Timeout() sometimes gives me back CAN_ERR_OK anyhow.

Kernel is 2.6.23.1-42.fc8-i686
Driver version is 7.4

What cause could this have? Can I solve this somehow?

Re: LINUX_CAN_Read_Timeout() gives CAN_ERR_OK without connec

Posted: Sun 1. Jul 2018, 11:58
by PEAK-Support
CAN_ERR_OK
means that the function was called succesfully - so you should check the CAN Msg Structure which Data type you receicev (real CAN ot maybe a Status )