Pages: 1 [2]
Author Topic: Help with calculation Factor (0.046875) of data  (Read 7510 times)
carl0s
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22



« Reply #15 on: November 15, 2017, 08:09:43 PM »

I don't know why 4 and 5 are not used, but in the rest of your table, the responses always start at byte 4

so in your response,
byte 0-3 are 8b f1 12 62
byte 4 5 are 40 04
byte 6 7 are 00 00 (rkat)
byte 8 9 are 00 00 (rkat2)
byte 10 11 are 7f ff (fra)
byte 12 13 are 00 00 (fra2)
crc is b2

OH yeah. I didn't notice that FRA and FRA2 are in the same packet. d'oh!

Thanks! I owe you some beer Smiley

OK bedtime, work tomorrow.
Logged

--
Carl
carl0s
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22



« Reply #16 on: November 15, 2017, 08:12:04 PM »

wtf are documents really 1 based? that is idiotic. editing post above

What do you mean?
Logged

--
Carl
carl0s
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22



« Reply #17 on: November 15, 2017, 08:14:14 PM »

I don't know why 4 and 5 are not used, but in the rest of your table, the responses always start at byte 4

so in your response,
byte 0 is 8b
byte 1-3 are f1 12 62
byte 4 5 are 40 04
byte 6 7 are 00 00 (rkat)
byte 8 9 are 00 00 (rkat2)
byte 10 11 are 7f ff (fra)
byte 12 13 are 00 00 (fra2)
byte 14 is b2 (crc)

00 00 is the correct number I was hoping to find! it calculates.. the engine is off, and the value should come back to zero.

Thanks again!
Logged

--
Carl
carl0s
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 22



« Reply #18 on: November 15, 2017, 08:16:10 PM »

I understand the problem now Smiley

The table counts from the beginning of the packet.

The documentation I was reading is just explaining the Returned Data part of the packet..
Logged

--
Carl
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.015 seconds with 16 queries. (Pretty URLs adds 0.001s, 0q)