Get priority for outgoing messages (default: 6)
Get the source address of this port
Subscribe to events (EventEmitter-style)
Register callback for specific PGN
PGN to listen for (or '*' for all)
Function called when PGN received
Request a PGN from another device or broadcast Sends PGN 59904 (Request for PGN)
PGN to request
Optionalda: number
Destination address (0xFF = global request)
Send a PGN message Automatically uses Transport Protocol for messages > 8 bytes
Parameter Group Number
Payload data (1-1785 bytes)
Optionalda: number
Destination address (0xFF = broadcast, default)
Set priority for outgoing messages
Set the source address
J1939 Port - PGN-level interface
This port handles: