Closed Thomseeen closed 4 years ago
There is a gap of nearly 1049ms not 49ms in your log. And yes, there is a timeout of 1 sec when the PDU transmission is active. Any idea what delays the second CAN frame for more than one second?
I suppose it's just the Simulation Board and it's implementation. If this is intended behavior it is fine, 1s is a lot... just seemed inconsistent and hence confusing with the behavior of the isotpsniffer application.
Good point about the inconsistency! In fact in listen-only mode (which is used by isotpsniffer) the timeouts are not enabled: https://github.com/hartkopp/can-isotp/blob/master/net/can/isotp.c#L597 Will check if that can be changed without side effects.
Sent a fix for it on the linux-can ML: https://lore.kernel.org/linux-can/20201019120229.89326-1-socketcan@hartkopp.net/ Thanks Thomas!
In my current set up I am running a real CAN-bus with three different devices to produce ISO-TP messages and one Ethernet adapter used as a sink for those messages.