Pages: [1]
Author Topic: Strange answer when query higher measure block  (Read 4918 times)
jbalze
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


« on: April 30, 2019, 01:28:40 AM »

Hey guys,

I have a problem, when I query with TP2.0 higher measure blocks from a AXX engine in car.

An example of block 3 (everything works fine):
Code:
>0x740/1856 0x11 0x0 0x2 0x21 0x3 time:6921
0x300/768 0xB2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 time:6922
0x300/768 0x21 0x0 0x1A 0x61 0x3 0x1 0xC8 0x0 time:6928
0x300/768 0x22 0x19 0x0 0x0 0x21 0xFF 0x3 0x1B time:6934
0x300/768 0x23 0x4B 0x80 0x5 0xA 0xB8 0x5 0xA time:6940
0x300/768 0x14 0xBA 0x25 0x0 0x0 0x25 0x0 0x0 time:6946

when I query block 0x82 (130 dec) I get a strange answer:
Code:
>0x740/1856 0x11 0x0 0x2 0x21 0x82 time:6954
0x300/768 0xB2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 time:6959
0x300/768 0x11 0x0 0x3 0x7F 0x21 0x31 0x0 0x0 time:6975

What I found so far:
0x11 & 0xF0 => last packet
0x11 & 0x0F => expecting ACK
0x3 => 3 bytes payload
0x7F => negative response

How do I get to read this block?

any hints?

Cheers
jb
« Last Edit: April 30, 2019, 01:57:05 AM by jbalze » Logged
ZZottel
Newbie
*

Karma: +5/-0
Offline Offline

Posts: 12


« Reply #1 on: May 05, 2019, 09:11:11 AM »

Yes, I have a hint. Look at the response to your reading of block 3. It not only contains the result of block 3, but also for block 130.
Logged
jbalze
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


« Reply #2 on: May 26, 2019, 10:10:30 PM »

Yes, I have a hint. Look at the response to your reading of block 3. It not only contains the result of block 3, but also for block 130.


Thanks for the reply. Csan you point me to the information? block 130 is 0x82. Where can this be found the response?
Logged
ZZottel
Newbie
*

Karma: +5/-0
Offline Offline

Posts: 12


« Reply #3 on: May 29, 2019, 08:58:27 AM »

For some reason, the reply to a group not only contains the answer of the requested group, but also of the requested group + 127.
So for example when you request group 3, you will also get the data for group 130.
In your example, you get a reply with 24 bytes of measurement data. The first 12 bytes belong to group 3, the last 12 bytes belong to group 130.
Logged
Pages: [1]
  Print  
 
Jump to:  

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