Interfacing transport layer code

RS-232 to CAN/LIN Interface
Post Reply
driverobot
Posts: 2
Joined: Tue 3. Aug 2021, 02:12

Interfacing transport layer code

Post by driverobot » Tue 3. Aug 2021, 02:23

Hello!

I am trying to interface my LIN dongle to emulate as one of the slaves nodes in my car. I want to integrate it in my test setup.
I am looking for some interfacing code which can act as the transport layer for this module. I do not want to go through the effort of parsing all serial responses to get my LIN data.

A python library would be great :D

Thanks
DriveRobot

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Interfacing transport layer code

Post by M.Heidemann » Tue 3. Aug 2021, 09:18

Hello,

To give a fitting recommendation, we would need some infos:

1) Which OS are your currently working on?

2) Which device (Serial-number IPEH-XXXXXX) are you refering to specifically?

Please report back to us regarding this.

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

driverobot
Posts: 2
Joined: Tue 3. Aug 2021, 02:12

Re: Interfacing transport layer code

Post by driverobot » Tue 3. Aug 2021, 10:10

Hello! Thanks for the quick response.

1. I am on windows. But it would be great if things could also work on Ubuntu.

2. IPEH-002025 068815

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Interfacing transport layer code

Post by M.Heidemann » Tue 3. Aug 2021, 10:31

Hello,

Thank you for your quick reply.

We do not offer any sort of API for the PCAN-LIN,
interacting with the device can be done using serial commands,
the full documentation regarding this can be found here:

https://www.peak-system.com/produktcd/P ... ef_eng.pdf

You could write a software which sends the appropiate commands via serial.
one advantage here is that you could use for example use python, which
would make the application also viable on linux.

With a PLIN-compatible device (PLIN-USB (IPEH-004052) , PCAN-USB Pro FD(IPEH-004061)) you could
also use our PLIN-API, which is available for free:

https://www.peak-system.com/PLIN-API.444.0.html?&L=1

This would enable you to write your own software and have your PLIN
interface act as a LIN-Node (Either as Master or Slave).

We also offer a PLIN-driver for Linux, however it is in BETA currently:

viewforum.php?f=237

The aforementioned PLIN-API and PLIN Linux driver are not compatible with PCAN-LIN(IPEH-002025)

For further questions feel free to contact me again.

Best Regards

Marvin
---
Marvin Heidemann
PEAK-Support Team

Post Reply