LIN bus API (LINlib)

# Using the LIN Bus

Using the LIN bus requires special hardware, e.g. Kvaser Leaf Professional LIN, Kvaser Hybrid 2xCAN/LIN or Kvaser Hybrid Pro 2xCAN/LIN.

The CAN API calls are not directly suitable for the LIN bus. Instead, a new API is provided that enables you to use the LIN bus as easily as you use the CAN bus. The function calls in the LIN API all have names starting with lin, e.g linReadMessage().

You will need to

#include linlib.h

in your programs, and link with linlib.dll (which, in turn, uses canlib32.dll).
On Linux, the files are called liblinlib.so and libcanlib.so respectively.