Canbus sending error

So here’s something that I’m running into. I have RD sending targetID 86 and 87 on ID 10 as shown in this XML

<frame id="10" writeInterval="10">
        <value targetId="86" offset="0" length="1" endianess="big" ></value> <!--App started-->
        <value targetId="87" offset="1" length="1" endianess="big" ></value> <!--App Shutdown-->
      </frame>

And here is what I’m seeing on the can messages

10:35:29.953 -> 10 1 0 0 0 0 0 0 0 
10:35:30.047 -> 10 1 0 0 0 0 0 0 0 
10:35:30.142 -> 10 1 0 0 0 0 0 0 0 
10:35:30.237 -> 10 1 0 0 0 0 0 0 0 
10:35:30.237 -> 10 1 0 0 0 0 0 0 0 
10:35:30.332 -> 10 1 0 0 0 0 0 0 0 
10:35:30.572 -> 10 1 0 0 0 0 0 0 0 
10:35:30.620 -> 10 1 0 0 0 0 0 0 0 
10:35:30.716 -> 10 1 0 0 0 0 0 0 0 
10:35:30.764 -> 10 1 0 0 0 0 0 0 0 
10:35:30.811 -> 10 1 1 1 1 11111111 11111111 11111111 11111111 
10:35:30.811 -> RDClosedMsg = 1
10:35:30.811 -> 10 1 0 0 0 0 0 0 0 
10:35:30.905 -> 10 1 0 0 0 0 0 0 0 
10:35:30.952 -> 10 1 0 0 0 0 0 0 0 
10:35:31.094 -> 10 1 0 0 0 0 0 0 0 
10:35:31.237 -> 10 1 0 0 0 0 11111111 11111111 11111111 
10:35:31.237 -> 10 1 0 0 0 0 0 0 0 
10:35:31.379 -> 10 1 0 1 1 11111111 11111111 11111111 11111111 
10:35:31.379 -> 10 1 0 0 0 0 0 0 0 
10:35:31.520 -> 10 1 0 0 0 0 0 0 0 
10:35:31.566 -> 10 1 0 0 0 11111111 11111111 11111111 11111111 
10:35:31.614 -> 10 1 0 0 0 0 0 0 0 
10:35:31.660 -> 10 1 0 0 0 0 0 0 0 
10:35:31.708 -> 10 1 0 0 0 0 0 0 0 
10:35:31.756 -> 10 1 0 0 0 0 0 0 0 
10:35:31.803 -> 10 1 0 0 0 0 0 0 0 
10:35:31.851 -> 10 1 0 0 0 0 0 0 0 
10:35:31.899 -> 10 1 0 0 0 0 0 0 0 
10:35:31.993 -> 10 1 0 0 0 0 0 0 0

The format above is is the first number, (10) is the canID and then the 8 bytes after.

The target is for the first byte to be that RD is open, and the second byte is for RD appshutdown. When I’m getting a 1 for byte 2, RD is open and just sitting there. Plus there is the 11111111 that you can see on the above bytes that are not pointed to anything and should be 0. Any ideas?

This is the part that I do not understand. Getting the byte from where? Just sitting, what should happen? Please try to explain in more details what you are trying to achieve.

What should happen is that byte 2-8 should be 0 coming from canbus while RealDash is running. While RealDash is running byte 2 should be 0 because appshutdown is not happening. Only byte 1 should equal 1. When RealDash is closing then byte 2 should equal 1.

In the above canbus data while the app is running and not shutting down, occasionally RealDash will send a 1 on byte 2 say thing it’s shutting down when it’s not. This is also showing where RealDash is sending 11111111 on the later bytes where RealDash isn’t suppose to send any data on those bytes according to the canbus xml file.