Git Product home page Git Product logo

Comments (8)

ardevd avatar ardevd commented on August 17, 2024

Hey!

The API does expose a few software version numbers, primarily related to the TCU. Look at the TU_STATUS_SW_VERSION_MAIN status value for example. It correlates to a TCU software version. I've created a mapping between known values and the readable equivalents (14.2, 16.2, etc) and implemented them in WattCat. However, from my experience it doesnt seem like all cars actually provide updated version info through the API. My car still returns the equivalent of 14.2 even though I'm on 18.2.

from jlrpy.

ismarslomic avatar ismarslomic commented on August 17, 2024

Right, I have seen the version data for TU_STATUS_SW_VERSION_MAIN (which is the only software version field), which for my car is L8B2-70712-AX. How does this map to the readable equivalents you are referring to (what is the mapping logic)?

from jlrpy.

ardevd avatar ardevd commented on August 17, 2024

I havent seen that value before I'm afraid. Its also region specific so I only have the most common ones nailed down tbh.

 @Nullable
     public static String getAlternateTcuVersion(String tcuVersion) {
         switch (tcuVersion) {
             case "J8A2-70712-AS":
                 return "14.2";
             case "J8A2-70712-AT":
             case "J9C3-70712-AT":
                 return "15.2";
             case "J8A2-70712-AV":
             case "J9C3-70712-AV":
                 return "16.2";
             case "J8A2-70712-AX":
                 return "17.2";
             case "J8A2-70712-AY":
             case "J9C3-70712-AY":
                 return "18.2";
             case "J8A2-70712-AZ":
                 return "19.2";
             default:
                 return null;
         }
}

from jlrpy.

ismarslomic avatar ismarslomic commented on August 17, 2024

Anywhere I can find these translations documented?

from jlrpy.

ardevd avatar ardevd commented on August 17, 2024

What do you mean exactly?

from jlrpy.

ismarslomic avatar ismarslomic commented on August 17, 2024

How did you find out that for instance J8A2-70712-AS maps to 14.2? Where these mapping rules documented somewhere?

from jlrpy.

ardevd avatar ardevd commented on August 17, 2024

The mapping rules are the result of surveys I did on various owner forums, so it's not based on any official documentation (there is no such thing) but rather community reported data.

from jlrpy.

ardevd avatar ardevd commented on August 17, 2024

I'll close this for now. Feel free to open a new one if you have more questions.

Cheers

from jlrpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.