Introduction #
V-Link is capable of controlling the mechanism of the Volvo P1 OEM RTI unit. The RTI requires a 5V serial input to drive the mechanism and open the screen.
The default state of the screen is “down”. To open it up, you need to send a series of commands repeatedly to the screen in order to keep it open. Depending on your car, the messages might vary. You can use rti.json to configure these messages.
JSON Structure #
Below you can see the structure of the JSON file. You only need to modify it if you are sure that your screen uses a different set of messages.
{
"type": "interface",
"name": "rti",
"interface": {
"type": "serial",
"channel": "/dev/ttyAMA1",
"baudrate": 2400
},
"timing": {
"timeout": 0.1
},
"commands": {
"modes": {
"rgb": "0x40",
"pal": "0x45",
"ntsc": "0x4C",
"off": "0x46"
},
"brightness": ["0x20", "0x61", "0x62", "0x23", "0x64", "0x25", "0x26", "0x67", "0x68", "0x29", "0x2A", "0x2C", "0x6B", "0x6D", "0x6E", "0x2F"]
},
"messages": {
}
}
interface | The serial port on the Raspberry |
timing | Not used |
commands | Available commands to send to the screen. By default, the P1 RTI takes a command for the mode and the brightness. |
messages | Not used |