LCM
From HackTheIBus
Contents |
[edit]
Description
The LCM is the light control module (german: Lichtkontrolmodul or LKM).
The address of the LCM is 0xBF.
The following messages are known
| Code | Meaning |
|---|---|
| 0x76 | Flash lights |
| 0x7D | Windows |
[edit]
0x76 Flash lights
The front lights and turn indicators can be flashed with the following message. The sender have to be 0x00 in this case.
Byte 0 has the following bit definition
| Bit | Lamp |
|---|---|
| 7-4 | unknown |
| 3 | high beam |
| 2 | low beam |
| 1 | turn indicators |
| 0 | unknown |
[edit]
Example
Flash high beam and turn indicators
| TX | LL | RX | MM | Byte 0 | CS |
|---|---|---|---|---|---|
| 0x00 | 0x04 | 0xBF | 0x76 | 0x0A | 0xC7 |
[edit]
0x7D Windows
Windows can be opened, closed locked and unlocked with messages from 0x00 to LCM.
[edit]
Sunroof
Byte 0 always has to be 0x00.
Byte 1 has the following bit definition
| Bit | Action |
|---|---|
| 7 | unknown |
| 6 | close (1) / open (0) |
| 5 | on open and close (1) / else (0) |
| 4 | lock after action (0) / else (1) |
| 3-0 | unknown |
If bit 6 and 5 is (0) the window will just lock or unlock.
[edit]
Example
Close sunroof and unlock
| TX | LL | RX | MM | Byte 0 | Byte 1 | CS |
|---|---|---|---|---|---|---|
| 0x00 | 0x05 | 0xBF | 0x7D | 0x00 | 0x70 | 0xB7 |
Just lock sunroof
| TX | LL | RX | MM | Byte 0 | Byte 1 | CS |
|---|---|---|---|---|---|---|
| 0x00 | 0x05 | 0xBF | 0x7D | 0x00 | 0x00 | 0xC7 |
