2022-09-16, 05:59 PM
Anyone has used proprietary PGN?
Here's an other example that doesn't work: In node-red, I have a function and signak-send-nmea2000 with the code that generate the following msg.payload. What is transmitted is a message with all data at 255.
msg.payload : Object
object
pgn: 61184
COMPANY: 1857
data: array[6]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
In the pgn.h of the Canboat, the PGN 61184 is defined as
{"Manufacturer Proprietary single-frame addressed",
61184,
PACKET_INCOMPLETE,
PACKET_SINGLE,
8,
0,
{MANUFACTURER_FIELDS, BINARY_FIELD("Data", BYTES(6), NULL), END_OF_FIELDS},
0,
0,
true}
Here's an other example that doesn't work: In node-red, I have a function and signak-send-nmea2000 with the code that generate the following msg.payload. What is transmitted is a message with all data at 255.
msg.payload : Object
object
pgn: 61184
COMPANY: 1857
data: array[6]
0: 0
1: 1
2: 2
3: 3
4: 4
5: 5
In the pgn.h of the Canboat, the PGN 61184 is defined as
{"Manufacturer Proprietary single-frame addressed",
61184,
PACKET_INCOMPLETE,
PACKET_SINGLE,
8,
0,
{MANUFACTURER_FIELDS, BINARY_FIELD("Data", BYTES(6), NULL), END_OF_FIELDS},
0,
0,
true}