LIN bus API (LINlib)

Table of Contents

Using the LIN Bus

Using the LIN bus requires special hardware and is presently supported on LAPcan, LAPcan II, Kvaser LIN Leaf and Kvaser Hybrid.

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.