Checksum verification of incoming PLIN-API data

The free LIN software API (Application Programming Interface) for Windows® (only for usage with the PCAN-USB Pro CAN/LIN interface)
Post Reply
MSX68000
Posts: 1
Joined: Wed 2. Oct 2024, 08:19

Checksum verification of incoming PLIN-API data

Post by MSX68000 » Wed 2. Oct 2024, 08:27

Are the received messages retrieved by PLIN-API's LIN_Read() and LIN_ReadMulti() data with correct or verified checksums?
Or does the caller need to verify the checksum?

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

Re: Checksum verification of incoming PLIN-API data

Post by M.Heidemann » Wed 2. Oct 2024, 10:49

Hello,

I'll move the topic to the PLIN-API Subforum, as it more fitting there.

The checksum type will be received as it was sent, there is no correction
or verification by default, you could however implement one yourself by
checking for the expected checksum type of the message.


BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

Post Reply