J1939 Documentation
Version 4.16.00
Loading...
Searching...
No Matches
Protocol Stack Files

The files of the J1939 protocol stack are located inside the source/stack-j1939 directory. The file j1939_conf.h inside the source/application/template-j1939 directory holds all definitions for the configuration of the J1939 protocol stack.

The functionality of the different J1939 services can be configured individually in order to achieve an optimal performance for different platforms and applications.

Naming Conventions

All functions, structures, definitions and constant values have the prefix J1939_. The following table shows the used nomenclature:

J1939 Stack Prefix
Functions J1939_<Service><Name>
Enumerations eJ1939_<NAME>
Structures J1939_<Name>_ts
Defines J1939_<SERVICE>_<NAME>
Error Codes eJ1939_ERR__<NAME>

J1939 protocol stack files

j1939_bam.h

J1939 Broadcast Announce Message

j1939_cos_tunnel.h

J1939 tunnel to CANopen / CANopen FD protocol stack

j1939_defs.h

J1939 Definitions

j1939_diag.h

J1939 Diagnostic service

j1939_mgr.h

J1939 management functions

j1939_msg.h

J1939 PDU support functions

j1939_nmt.h

J1939 NMT service

j1939_pgn.h

J1939 PGN support functions

j1939_tmr.h

J1939 timing functions

j1939_tp.h

J1939 transport protocol