GithubHelp home page GithubHelp logo

Comments (3)

pedrorivera avatar pedrorivera commented on July 29, 2024

Hi,

I have the exact same question. @bonjour81 did you figure it out?

Some other docs say FORWARDING_STA can be ignored if the RESP_TYPE field is 0x0. However, the table from the standard you reference is saying it's should be fixed to 0x1. My assumption right now is the creators of this SLAC demo code decided to leave out that part, which is fine for this purpose because they could have also chosen to ignore it on the opposite end (i.e. pev.c).

Would a real ECU require RESP_TYPE to be 0x1?

from open-plc-utils.

pedrorivera avatar pedrorivera commented on July 29, 2024

For completeness, I have tested a real ECU and it did require FORWARDING_STA to be the EV host address and RESP_TYPE to be '1'. Achieving this behavior was trivial, only involved introducing the following code below line 107 in evse_cm_slac_param.c:

memcpy (session->FORWARDING_STA, request->ethernet.OSA, sizeof (session->FORWARDING_STA));

And obviously change the response type to '1' in the evse.ini file.

from open-plc-utils.

n1000 avatar n1000 commented on July 29, 2024

Fixed by pull request #134

from open-plc-utils.

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.