CAN BUS SNIFFING - The hardware & software you need
#26
Hello guys, I'm still working with Arduino and I'm making progress, or so I think.
Since my knowledge of CAN networks is zero, everything is conjecture for me, and perhaps the use of Arduino causes me these doubts, but I don't think so.
So I come to the forum for feedback from the experts.
I put you in situation:
I analyze messages sent by vediamo, coding, for example, long messages that are decomposed into frames, but... the first bit has three digits, is this possible?
Ejemplo:
Message Trace Vediamo
15:32:04 Request:
22 02 07
15:32:04 IC_204:
62 02 07 00 CC 00 AE 00 8E 00 52 00 2A 00 14 00
00 03 84 06 A4 0D 48 10 68 12 8E 05 50 76 11 00
CC 00 B6 00 A2 00 76 00 4A 00 14 00 00 01 F4 03
E8 09 C4 0F 3C 15 7C 01 2C 07 D0 0F A0 17 70 1F
40 27 10 00 00 00 18 00 2F 00 47 00 5E 00 76 20
1E 12 57 08 56 3C 1E 19 14
message in arduino
ID: 60A, Data: 82 3E 0 0 0 0 0 0
ID: 481, Data: 82 7E 0 54 0 11 9 3
ID: 481, Data: 83 7F 22 78 0 11 9 3 request
ID: 481, Data: 810 59 62 2 7 0 CC 0
ID: 481, Data: 821 AE 0 8E 0 52 0 2A
ID: 481, Data: 822 0 14 0 0 3 84 6
ID: 481, Data: 823 A4 D 48 10 68 12 8E
ID: 481, Data: 824 5 50 76 11 0 CC 0
ID: 481, Data: 825 B6 0 A2 0 76 0 4A
ID: 481, Data: 826 0 14 0 0 1 F4 3
ID: 481, Data: 827 E8 9 C4 F 3C 15 7C
ID: 481, Data: 828 1 2C 7 D0 F A0 17
ID: 481, Data: 829 70 1F 40 27 10 0 0
ID: 481, Data: 82A 0 18 0 2F 0 47 0
ID: 481, Data: 82C 8 56 3C 1E 19 14 57
ID: 60A, Data: 82 3E 0 0 0 0 0 0 hasta aqui codigo
The captured bits are faithful to the source, so I don't think Arduino is playing tricks on me.
Can someone tell me this is normal and correct?
I don't see anything similar on the internet and I'm stuck in doubts that don't let me move forward with firm steps, because I can't do the next step, which is to replicate these messages.
Greetings
Since my knowledge of CAN networks is zero, everything is conjecture for me, and perhaps the use of Arduino causes me these doubts, but I don't think so.
So I come to the forum for feedback from the experts.
I put you in situation:
I analyze messages sent by vediamo, coding, for example, long messages that are decomposed into frames, but... the first bit has three digits, is this possible?
Ejemplo:
Message Trace Vediamo
15:32:04 Request:
22 02 07
15:32:04 IC_204:
62 02 07 00 CC 00 AE 00 8E 00 52 00 2A 00 14 00
00 03 84 06 A4 0D 48 10 68 12 8E 05 50 76 11 00
CC 00 B6 00 A2 00 76 00 4A 00 14 00 00 01 F4 03
E8 09 C4 0F 3C 15 7C 01 2C 07 D0 0F A0 17 70 1F
40 27 10 00 00 00 18 00 2F 00 47 00 5E 00 76 20
1E 12 57 08 56 3C 1E 19 14
message in arduino
ID: 60A, Data: 82 3E 0 0 0 0 0 0
ID: 481, Data: 82 7E 0 54 0 11 9 3
ID: 481, Data: 83 7F 22 78 0 11 9 3 request
ID: 481, Data: 810 59 62 2 7 0 CC 0
ID: 481, Data: 821 AE 0 8E 0 52 0 2A
ID: 481, Data: 822 0 14 0 0 3 84 6
ID: 481, Data: 823 A4 D 48 10 68 12 8E
ID: 481, Data: 824 5 50 76 11 0 CC 0
ID: 481, Data: 825 B6 0 A2 0 76 0 4A
ID: 481, Data: 826 0 14 0 0 1 F4 3
ID: 481, Data: 827 E8 9 C4 F 3C 15 7C
ID: 481, Data: 828 1 2C 7 D0 F A0 17
ID: 481, Data: 829 70 1F 40 27 10 0 0
ID: 481, Data: 82A 0 18 0 2F 0 47 0
ID: 481, Data: 82C 8 56 3C 1E 19 14 57
ID: 60A, Data: 82 3E 0 0 0 0 0 0 hasta aqui codigo
The captured bits are faithful to the source, so I don't think Arduino is playing tricks on me.
Can someone tell me this is normal and correct?
I don't see anything similar on the internet and I'm stuck in doubts that don't let me move forward with firm steps, because I can't do the next step, which is to replicate these messages.
Greetings
Last edited by bv9900; 07-30-2024 at 02:37 PM.
#27
MBWorld Fanatic!
Join Date: Apr 2019
Location: Silicon Valley
Posts: 5,932
Received 3,651 Likes
on
2,428 Posts
MY'14 W212 M276 3.5NA @60kMi
streams of 01011100011
You need to decode the hexadecimal packets to make sense of what's coming through.
The issue at the binary level is you won't be able to deferenciate good from bad signaling.
The issue at the binary level is you won't be able to deferenciate good from bad signaling.
#28
It seems to indicate the position in eeprom?
The last copy of the IC I have doesn't match very closely, I've tinkered around quite a bit since then. I will have to make a new copy to study and confirm the theory, although I don't really want to go in there, it is very laborious.
Trying to send these messages should work.
What do I focus on?
study? send messages trying different things as if it were a donkey asking for food?
The last copy of the IC I have doesn't match very closely, I've tinkered around quite a bit since then. I will have to make a new copy to study and confirm the theory, although I don't really want to go in there, it is very laborious.
Trying to send these messages should work.
What do I focus on?
study? send messages trying different things as if it were a donkey asking for food?
#29
I finally got it some time ago, Arduino is valid for receiving non-corrupted messages, but... you have to repeat the captures many times, because sometimes messages escape when there is a lot of traffic, other hardware is better. I finally got what I wanted, I will continue exploring possibilities
#30
MBWorld Fanatic!
Join Date: Apr 2019
Location: Silicon Valley
Posts: 5,932
Received 3,651 Likes
on
2,428 Posts
MY'14 W212 M276 3.5NA @60kMi
What's with oil pressure sensor circuit ...?
Few MB engines have one.
Are you trying to network oil sensor data ?
Few MB engines have one.
Are you trying to network oil sensor data ?