All of lore.kernel.org
 help / color / mirror / Atom feed
* iso-tp: timeout handling for unknown packet size
@ 2013-10-23 13:32 Josselin Costanzi
  2013-10-23 14:40 ` Nathan Conrad
  0 siblings, 1 reply; 4+ messages in thread
From: Josselin Costanzi @ 2013-10-23 13:32 UTC (permalink / raw)
  To: linux-can, Yannick Bedhomme

Hello,

We are working with the current implementation of ISO-TP from Oliver
Hartkopp available on github. The implementation works well for us
with a slight limitation that we would like to discuss here.

We use ISO-TP to talk to OBD ECUs. In this context, our userspace
opens an ISO-TP socket and sends an OBD-CAN request to the ECU and
waits for a response over ISO-TP. To be able to receive large frames
over ISO-TP or to account for transmitter having a large inter frame
delay, we have to use large timeout values so we don't close the
socket while the packet is still being received.

We would like to know if an ECU is responding or not without having to
wait several seconds for a hypotetical packet to be received, do you
have any idea how we could do that?

Thanks,

-- 
Josselin Costanzi
  Embedded Linux System Engineer

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-23 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-23 13:32 iso-tp: timeout handling for unknown packet size Josselin Costanzi
2013-10-23 14:40 ` Nathan Conrad
2013-10-23 16:00   ` Oliver Hartkopp
2013-10-23 16:50     ` Josselin Costanzi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.