KLineKWP1281Lib is a library designed for communicating with VAG control modules which use the proprietary VAG Key-Word 1281 protocol (KWP1281/KW1281), through an Arduino / ESP / RPi Pico development board.
- Ability to use any method to send and receive data (best being a hardware serial port, or software serial if an additional port is not available)
- Ability to keep the connection alive while doing other tasks
- Connecting to any control module that supports KWP1281
- Reading the module's part number + extra fields, coding, WSC
- Recoding
- Performing a login operation
- Reading stored fault codes and their elaboration codes
- Converting fault/elaboration codes to strings (available in a few different languages)
- Clearing stored fault codes
- Reading, testing and saving an adaptation value
- Reading measuring blocks, calculating a measurement's value and providing its units, or displaying text from a table where applicable (available in a few different languages)
- Reading ROM / EEPROM (firmware)
- Performing actuator tests
- Performing basic settings
- Implied multi-instance support for managing multiple K-lines at the same time by using a multitasking-capable platform (ESP32 example included)
Download the latest release (.zip) and add it to your Arduino IDE.
Read the documentation on the wiki! Chapter 3 describes using the demo sketches.
Thanks go out to these people for their efforts:
- Blafusel.de, for the best documentation available for the protocol
- Alexander Grau, for the base code
- Mike Naberezny, for more insight about the commands and parameters
For any inquiries, you can open an issue or contact me at ne555timer@yahoo.com.