|
truck-code
|
#include <j1939_struct.h>

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 |
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
| int j1939_pdu_typ::data_field[8] |
64 bits maximum
| BIT j1939_pdu_typ::data_page |
frame bit 6; ID 24; 0 currently
| int j1939_pdu_typ::num_bytes |
number of bytes in data_field
| int j1939_pdu_typ::pdu_format |
Protocol Data Unit Format (PF)
| int j1939_pdu_typ::pdu_specific |
PDU Specific (PS)
| int j1939_pdu_typ::priority |
priority of message
| BIT j1939_pdu_typ::reserved |
frame bit 5; ID 25; reserved for future use
| int j1939_pdu_typ::src_address |
Source address
| timestamp_t j1939_pdu_typ::timestamp |
time the message was received
1.8.13