W211 CAN B Hacking
I'm trying to emulate steering wheel buttons and having no luck. A I've already mentioned, I'm using the Parktronic/Airmatic button canbus wires to tap in as mentioned above in this thread.
Looking at the document Alex sourced and I translated (source: https://github.com/angelovAlex/can-b...er/EN_PIDS.txt), I see two areas documenting steering wheel buttons.
On line 536:
------ KI_STAT_MSS() Status Combi, offset:0, len:8
--- --- BUTTON_1_1_MSS() Next screen, offset:15, len:1
--- --- BUTTON_1_2_MSS() Previous display, offset:14, len:1
--- --- BUTTON_2_1_MSS() reserve, offset:13, len:1
--- --- BUTTON_2_2_MSS() reserve, offset:12, len:1
--- --- BUTTON_3_1_MSS() Button "", offset:11, len:1
--- --- BUTTON_3_2_MSS() Button "-", offset:10, len:1
--- --- BUTTON_4_1_MSS() Phone Send, offset:9, len:1
--- --- BUTTON_4_2_MSS() Phone End, offset:8, len:1
--- --- KI_STAT() Status Combi, offset:0, len:8
--- --- BUTTON_1_1() Next screen, offset:15, len:1
--- --- BUTTON_1_2() Previous display, offset:14, len:1
--- --- BUTTON_2_1() reserve, offset:13, len:1
--- --- BUTTON_2_2() reserve, offset:12, len:1
--- --- BUTTON_3_1() Button "", offset:11, len:1
--- --- BUTTON_3_2() Button "-", offset:10, len:1
--- --- BUTTON_4_1() Phone Send, offset:9, len:1
--- --- BUTTON_4_2() Phone End, offset:8, len:1
Tried these:
-
00 02 00 00
-
00 04 00 00
I'm trying to emulate steering wheel buttons and having no luck. A I've already mentioned, I'm using the Parktronic/Airmatic button canbus wires to tap in as mentioned above in this thread.
Looking at the document Alex sourced and I translated (source: https://github.com/angelovAlex/can-b...er/EN_PIDS.txt), I see two areas documenting steering wheel buttons.
On line 536:
And on line 503:
So I try sending the various button commands on both listed PIDs: the 01ca and 032a to no avail.
Tried these:
I replaced my steering wheel and in the process glitched out the SCM (steering control module) to a permanent LIN bus communication error (DTC 9001) so I can no longer *sniff* the actual packets to make this work, help!
Are you on can-c or can-b?
The Best of Mercedes & AMG
I'm trying to emulate steering wheel buttons and having no luck. A I've already mentioned, I'm using the Parktronic/Airmatic button canbus wires to tap in as mentioned above in this thread.
Looking at the document Alex sourced and I translated (source: https://github.com/angelovAlex/can-b...er/EN_PIDS.txt), I see two areas documenting steering wheel buttons.
I checked the code and it seems that I use another PID and it has only 2 bytes. I dont remember where I got that information, I believe I just sniffed it long time ago.
In source code on github there are 4 functions, ic_env_w, ic_env_a, ic_env_s and ic_env_d. (W,A,S,D buttons
) They are implementing pressing on buttons that are at left on steering wheel.canB.sendMsg(424, 2, 0x04, 0x00); //will press one of them
Added: note that 424 is a decimal.
Last edited by angelovAlex; Dec 30, 2017 at 11:55 AM.
I checked the code and it seems that I use another PID and it has only 2 bytes. I dont remember where I got that information, I believe I just sniffed it long time ago.
In source code on github there are 4 functions, ic_env_w, ic_env_a, ic_env_s and ic_env_d. (W,A,S,D buttons
) They are implementing pressing on buttons that are at left on steering wheel.canB.sendMsg(424, 2, 0x04, 0x00); //will press one of them
Added: note that 424 is a decimal.
ou trouver les fils du CANBUS des commandes au volant .
pour pouvoir les brancher sur mon SEICANE qui ne fonctionne pas car les connecteur ne sont pas les meme que la mercedes
Pouvez-vous partager ce que vous avez réussi à réaliser?
J'essaie de faire semblable. J'ai tablette Android avec OTG, où je vais avoir la navigation. Je veux afficher les informations suivantes sur le
MF2 W211: -Informations sur la navigation -La
limite de vitesse actuelle (et peut-être avertir si elle est dépassée)
-traffic informations / avertissements (accidents et autres).
En outre, je veux commander la table avec des boutons de volant.
J'attends juste l'arrivée de l'interface CAN BUS que je connecte à l'hôte USB dans la tablette.
Je vais obtenir des fils CAN (GND, CAN H, CAN L) à l'arrière de Audio 20.
Je suis prêt à partager avec mes résultats, mais je voudrais commencer en fonction des connaissances actuelles.
.
bonjour
Avez-vous pu identifier, les fils du CANBUS des commandes au volant ?
Il me faut les brancher sur mon SEICANE .
Il ne fonctionne pas car les connecteurs ne sont pas les meme que sur ma mercedes 350 cls W219 ?
Merci
Jean
The short answer is no. But if you really want it, it can be done somehow. Instrumental cluster is very limited, it's designed to do what it does. It doesn't support creating of additional menu, but you can change existing menu, like service menu, but for this you need to inject you device between instumental cluster and CGW. Another option is to draw it on phone, or navi, or music menu. Unfortunately, that menus are also limited and you can draw only 2 big text lines in the center and 1 small text line at the top. The third option is to draw whatever you want with diagnostic messages, you can draw text, lines, squares and even single pixels, but for each command it takes about a second to update, so if you want to draw a menu with 5 text lines it will take 5 seconds

Sorry, but there's no PIDS for this door. The button on that door is connected directly to the controller that opens and closes that door. It can't be controlled over the CAN Bus.
The W211 schematic diagram of the upper control panel where the CD opening/closing door is situated clearly shows it's connection to the CAN B system.
Your reply please.
A pop up toaster, washing machine or any other electrical household appliance can also be called an ECU as they all control something.
FYI an ECU in the automotive industry is another name for the ECM which controls engine management functions. Our friend Google will send your request to Wikipedia for you to better understand.
Seeing that this is a Mercedes Benz car forum and the thread is discussing CAN BUS hacking I think your reply to the question I asked should have been something like this.
" The controller Angelo is referring to could be the rear SAM where all the interior CAN BUS signals are generated, but having said that I could be wrong and you should wait for Angelo to reply"
I'll wait for Angelo to reply.
The short answer is no. But if you really want it, it can be done somehow. Instrumental cluster is very limited, it's designed to do what it does. It doesn't support creating of additional menu, but you can change existing menu, like service menu, but for this you need to inject you device between instumental cluster and CGW. Another option is to draw it on phone, or navi, or music menu. Unfortunately, that menus are also limited and you can draw only 2 big text lines in the center and 1 small text line at the top. The third option is to draw whatever you want with diagnostic messages, you can draw text, lines, squares and even single pixels, but for each command it takes about a second to update, so if you want to draw a menu with 5 text lines it will take 5 seconds

Sorry, but there's no PIDS for this door. The button on that door is connected directly to the controller that opens and closes that door. It can't be controlled over the CAN Bus.




