J1939 Protocol Stack 
Version 4.18.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

FileDescription
j1939_bam.hJ1939 Broadcast Announce Message
j1939_cos_tunnel.hJ1939 tunnel to CANopen / CANopen FD protocol stack
j1939_defs.hJ1939 Definitions
j1939_diag.hJ1939 Diagnostic service
j1939_mgr.hJ1939 management functions
j1939_msg.hJ1939 PDU support functions
j1939_nmt.hJ1939 NMT service
j1939_pgn.hJ1939 PGN support functions
j1939_tmr.hJ1939 timing functions
j1939_tp.hJ1939 transport protocol