truck-code
Public Attributes | List of all members
j1939_pdu_typ Struct Reference

#include <j1939_struct.h>

Collaboration diagram for j1939_pdu_typ:
Collaboration graph
[legend]

Public Attributes

timestamp_t timestamp
 
BIT reserved
 
BIT data_page
 
int priority
 
int pdu_format
 
int pdu_specific
 
int src_address
 
int data_field [8]
 
int num_bytes
 

Detailed Description

J1939 Protocol Data Unit (PDU) format.

This is the format the messages are collected from the CAN card. This object is used for storing information about Protocol Data Units that have been received with a correct sum, with no field translation.

See SAE J1939, 3.1.2

Member Data Documentation

◆ data_field

int j1939_pdu_typ::data_field[8]

64 bits maximum

◆ data_page

BIT j1939_pdu_typ::data_page

frame bit 6; ID 24; 0 currently

◆ num_bytes

int j1939_pdu_typ::num_bytes

number of bytes in data_field

◆ pdu_format

int j1939_pdu_typ::pdu_format

Protocol Data Unit Format (PF)

◆ pdu_specific

int j1939_pdu_typ::pdu_specific

PDU Specific (PS)

◆ priority

int j1939_pdu_typ::priority

priority of message

◆ reserved

BIT j1939_pdu_typ::reserved

frame bit 5; ID 25; reserved for future use

◆ src_address

int j1939_pdu_typ::src_address

Source address

◆ timestamp

timestamp_t j1939_pdu_typ::timestamp

time the message was received


The documentation for this struct was generated from the following file: