Table of Contents

Struct PamojaJ1939Id

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

The fields J1939 packs into an extended CAN identifier, mirroring PamojaJ1939Id in pamoja.h.

public struct PamojaJ1939Id
Inherited Members

Remarks

Addressed is 1 for a PDU1 message, where Destination names the node the message is for, and 0 for a PDU2 broadcast, where it carries no meaning.

Fields

Addressed

1 for an addressed (PDU1) message, 0 for a broadcast.

public byte Addressed

Field Value

byte

Destination

The destination address, meaningful only when addressed.

public byte Destination

Field Value

byte

PduFormat

The PDU format byte of the parameter group.

public byte PduFormat

Field Value

byte

Pgn

The parameter group number, which names what the message carries.

public uint Pgn

Field Value

uint

Priority

The message priority, 0 (highest) to 7.

public byte Priority

Field Value

byte

Source

The source address: the node that sent the message.

public byte Source

Field Value

byte