Kvaser J1939 Library
Overview

Introduction

The Kvaser J1939 library (kvj1939lib) is a C API for sending and receiving J1939 messages on Kvaser CAN hardware.

The library supports

  • Sending and receiving J1939 messages
  • Transport Protocol (TP) handling for multi-frame messages
  • Address claiming

Only Classic CAN mode is supported, CAN FD is not supported.

Naming convention

Function calls in the Kvaser J1939 API all have names starting with j1939_, e.g j1939_create_channel(). Data type names start with J1939, e.g J1939ChannelParams.

Build an application

To build an application with the Kvaser J1939 library the code needs to

#include <kvj1939lib.h>
Main API for the KVJ1939 Library.

and link with kvj1939lib.dll on Windows and with libkvj1939lib.so on Linux.