Open mvglasow opened 1 year ago
Yes, this file is a implementation of VAG KW1281. It is not part of the app, but is contained in the generic java library There is a JRE GUI application in the repo (com/fr3ts0n/ecu/gui/application/VagTestFrame.java) which actually uses it. It can be used with a USB KKL adapter. I used it to diagnose my old Skoda Fabia.
Such a gem hidden deep down in the code :-) There didn’t seem to be a build recipe, so I pieced together a POM, based on https://github.com/fr3ts0n/AndrOBD/blob/master/library/build.gradle. A few fixes were needed:
SerialConfigPanel
(which got removed in 59795d6d).SerialConfigPanel
, import java.util.logging.Logger
, fix the calls to getLogger
(the JDK version takes a class name as a string, but not a class) and change warn
to warning
. (This code was written for Log4J, 59795d6d removed the import but left the method calls in place).@SuppressWarnings("unchecked")
in PvTreeNode#findChild(Object)
no longer works as expected, so I had to change a few PvTreeNode
declarations to TreeNode
and add typecasts where PvTreeNode
is needed.This has eliminated all of the build errors.
...however, I am getting an UnsatisfiedLinkError
because SerialExt.java
tries to load a native library named SerialExt
. Is that part of your code? Is it anywhere to be found in this repository?
Oh yes, there was a lib to it to allow communication on odd baud rates like 10400 ... I'll have a look to find it again ...
According to the FAQ, non-OBD protocols are not supported for valid reasons.
However, there is this file in the source code: https://github.com/fr3ts0n/AndrOBD/blob/master/library/src/main/java/com/fr3ts0n/ecu/prot/vag/Kw1281Prot.java
This looks like an implementation of the Volkswagen Group’s KW1281 protocol, although after a quick glimpse it does not appear to be used anywhere in the app.
How mature is this code? Does it work with an ELM327 adapter (if not, what type of adapter was it written for)?
(Not a feature request, but if this code works, I would like to build on it for my own project.)