Hi
I have a Peak Can USB Interface attached to my Laptop. After struggling the last few days i finally got it to work under Linux and in Eclipse with Java. I now need to implement the ISO TP Standard into my Project. As far as i know, there is a API for Windows Users. Is there an equivalent for Linux (by the way x64) as well? Or am I supposed to implement it by myself?
Thanks for your help!
Best regards
Alex
ISO TP API
Re: ISO TP API
Hi,
there are no ISO-TP libs available for our chardev driver, but when using the socketcan driver (kernel driver or our peak-linux-driver for SocketCAN), the CAN-utils offers ready to use ISO-TP applications:
https://github.com/linux-can/can-utils
best regards
Michael
there are no ISO-TP libs available for our chardev driver, but when using the socketcan driver (kernel driver or our peak-linux-driver for SocketCAN), the CAN-utils offers ready to use ISO-TP applications:
https://github.com/linux-can/can-utils
best regards
Michael
Re: ISO TP API
Thank you for your quick response.
As aid before, I'm working with Java. Is it possible to include this file into my Java-Project? As i looked through the file i saw that there are only c- or c++-files such as headers and the .cpp files?
Best regards
Alex
As aid before, I'm working with Java. Is it possible to include this file into my Java-Project? As i looked through the file i saw that there are only c- or c++-files such as headers and the .cpp files?
Best regards
Alex
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: ISO TP API
you mix somthink up...
1. Linux
There are two differnet driver types available
- PEAK-Systems own CharDev - which support also JAVA with our PCAN-Basic for Linux Implementation.
- The SocketCAN driver (community) - we do not know if there is a JAVA JNI available - please google.
As we know there is a ISO-TP support in C/C++ available for SocketCAN, but we do not know if there is a JAVA Interface available. But if you are a SW Developer it should be easy to setup one.
2. Windows
There is the PEAK-System Driver with the PCAN-Light API available (same API as in LINUX)
For the Windows (and ONLY for the Windows API ) we have implemeted a CCP,XCP,ISO-TP, UDS and OBD-II Interface DLLs. But we do not offer this protocoll for free - these HighLayer protocols are part of every PEAK-CAN Hardware and are ONLY for Windows available in binary 32Bit or 64Bit DLL. We do NOT give away any source code of this High Layer protocols. The time to develop and maintanace such protocolls make it impossible to "share" it with competitors
1. Linux
There are two differnet driver types available
- PEAK-Systems own CharDev - which support also JAVA with our PCAN-Basic for Linux Implementation.
- The SocketCAN driver (community) - we do not know if there is a JAVA JNI available - please google.
As we know there is a ISO-TP support in C/C++ available for SocketCAN, but we do not know if there is a JAVA Interface available. But if you are a SW Developer it should be easy to setup one.
2. Windows
There is the PEAK-System Driver with the PCAN-Light API available (same API as in LINUX)
For the Windows (and ONLY for the Windows API ) we have implemeted a CCP,XCP,ISO-TP, UDS and OBD-II Interface DLLs. But we do not offer this protocoll for free - these HighLayer protocols are part of every PEAK-CAN Hardware and are ONLY for Windows available in binary 32Bit or 64Bit DLL. We do NOT give away any source code of this High Layer protocols. The time to develop and maintanace such protocolls make it impossible to "share" it with competitors

--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
- O.Hartkopp
- Posts: 40
- Joined: Fri 22. Nov 2013, 19:47
Re: ISO TP API
We had a similar request to work with JAVA and ISO-TP:U.Wilhelm wrote: - The SocketCAN driver (community) - we do not know if there is a JAVA JNI available - please google.
As we know there is a ISO-TP support in C/C++ available for SocketCAN, but we do not know if there is a JAVA Interface available.
You can use the Linux ISO-TP implementation from here:
https://github.com/hartkopp/can-isotp-modules
with the ISO-TP utils from here (Uwe already pointed to it):
https://github.com/linux-can/can-utils
And you can use the socketcand which allows the access to SocketCAN via TCP/IP sockets:
https://github.com/dschanoeh/socketcand
The good thing is that you do not need to create some JNI for SocketCAN and it's only needed to create some ASCII commands sent on TCP/IP sockets to talk ISO-TP on the CAN bus.
If you need more assistance on ISO-TP for Linux feel free to ask on the Linux-CAN mailing list:
linux-can@vger.kernel.org (Mail archive e.g. http://marc.info/?l=linux-can )
Regards,
Oliver