Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN message layout for transmit

Solved!
Go to solution

Hello all,

 

I am working on transmitting a CAN message but cannot get a confirmation about the changes. I construct the payload, identifier and timestamp on the CAN frame but cannot seem to get the confirmation ID when I run the device.

 

I use two codes; one for transmitting and one for running/logging/data plotting with different database files[0x200 for transmit and 0x201 for confirmation of change with can_database_ch0 file whereas my output frames are 0x513, 1536, 1793 and 1794 with respect to another .dbc file]. Is this an issue? 

 

I want to verify if my method of constructing CAN frames are correct and if the method is valid? 

If not, how do I merge the functions to write, read and log at the same time?

 

 

Any advice would be helpful.

 

 

Regards,

 

0 Kudos
Message 1 of 2
(5,841 Views)
Solution
Accepted by topic author Red43

Figured it out. 

Thank you

0 Kudos
Message 2 of 2
(5,812 Views)