J1939 and DLC
Posted: Mon 16. Aug 2021, 14:02
Hello,
I'm using RP1210 API in C++ for a custom application.
When I send a message using RP1210_SendMessage with PGN 59904, I'm expecting to have a DLC of 3, but with a CAN analyser, I have à DLC of 8 with bitstufing by 0x00.
In the API, I can't find anywhere a way to tune the DLC.
As I can read in the standard J1939-21 regarding the PGN 59904 : "Data length: 3 bytes (The CAN frame for this PG shall set the DLC to 3.)"
Can you give me an explanation?
Thanks
I'm using RP1210 API in C++ for a custom application.
When I send a message using RP1210_SendMessage with PGN 59904, I'm expecting to have a DLC of 3, but with a CAN analyser, I have à DLC of 8 with bitstufing by 0x00.
In the API, I can't find anywhere a way to tune the DLC.
As I can read in the standard J1939-21 regarding the PGN 59904 : "Data length: 3 bytes (The CAN frame for this PG shall set the DLC to 3.)"
Can you give me an explanation?
Thanks