All of lore.kernel.org
 help / color / mirror / Atom feed
* State of ISO-TP in SocketCAN?
@ 2015-07-22  9:45 Tobias Schmitt
  2015-07-22 18:25 ` Oliver Hartkopp
  0 siblings, 1 reply; 6+ messages in thread
From: Tobias Schmitt @ 2015-07-22  9:45 UTC (permalink / raw)
  To: linux-can

Hi

I work on a project using a beaglebone black and it's CAN interface via SocketCAN. At first I want to thank you all for this, it's working incredibly stable! Since our payload of data will be much higher soon (about 50-100 bytes in one package) we want to use ISO-TP. The thing is, that the information about the state of the ISO-TP implementation of SocketCAN is very rare and provides some contrary information. I hope this mailinglist can bring some clarity to my confused mind.

At first my target device where I try to run can-isotp:
Beaglebone Black Rev B / C
Beaglebone Ubuntu 14.04.02 image from http://elinux.org/BeagleBoardUbuntu
uname: Linux bone 3.8.13-bone63 #1 SMP Mon Aug 11 23:03:02 UTC 2014 armv7l armv7l armv7l GNU/Linux

What I have done:
0: lots of internet searches

1: read Documentation/networking/can.txt:
It says that one just has to use the ISOTP protocol when initializing the socket.
I downloaded the can-utils repo and tried to use isotpsend for testing purposes. the isotp programs exit with "socket: protocol not supported".

2: Then I found an old post by Oliver Hartkopp on this mailinglist (http://comments.gmane.org/gmane.linux.can/2135) which says that one has to use kernelmodule can-isotp instead of can-raw. I also cannot find any option for compiling a can-isotp module on the 3.8 kernel in 'make menuconfig'. Then I found the can-isotp-modules repo in Oliver Hartkopps github account (http://github.com/hartkopp/can-isotp-modules) which I cannot build because of missing definitions (NETIF_F_NO_CSUM in net/can/slcan.c). Since the repos description says that this Repo is obsolete and there's a Alpha-Warning in the README.isotp file, i assume this is not the right repository to use anyway.

And now I'm very confused and maybe on a complete wrong track. Is there a official and stable way to use ISOTP as a protocol in SocketCAN, and where can I find it? Is it still in development and can I help with it somehow?

Best regards
Tobias

PS: I hope this mail provides enough information and is not too text heavy, since it's my first question on a official mailinglist. If not, I apologize!


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

end of thread, other threads:[~2015-07-27 17:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22  9:45 State of ISO-TP in SocketCAN? Tobias Schmitt
2015-07-22 18:25 ` Oliver Hartkopp
2015-07-23 18:02   ` Tobias Schmitt
2015-07-23 18:29     ` Oliver Hartkopp
2015-07-25 15:11       ` Tobias Schmitt
2015-07-27 17:40         ` Oliver Hartkopp

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.