Skip to content

Arduino / ESP / RPi Pico library integrating the proprietary VAG Key-Word 1281 protocol (KWP1281/KW1281)

License

Notifications You must be signed in to change notification settings

domnulvlad/KLineKWP1281Lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KLineKWP1281Lib

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.

For a library targeted strictly at the ESP32, optimized for the FreeRTOS operating system, check out KLineKWP1281Lib_ESP32.

Supported features:

  • 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

Getting started

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.

Credits

Thanks go out to these people for their efforts:

Contact

For any inquiries, you can open an issue or contact me at [email protected] (but don't include any links in the email, as it will be marked as spam).