EVerest / libiso15118

ISO 15118 library suite
Apache License 2.0
8 stars 5 forks source link

Compilation doubt #34

Closed mskumar18 closed 1 month ago

mskumar18 commented 2 months ago

I have built the libiso15118 and all tests are passed a build directory was created in in my libiso15118 project. What do I need to do next to see any output please help me

kwoyhope commented 2 months ago

As I know the libiso15118 is an EXI Codec for handling DIN/ISO 15118-2/20 V2G Communication messages, so there's nothing much to do without application(ex, SECC), I think you'd better to follow(start from) 'README.md'(https://github.com/EVerest/libiso15118).

SebaLukas commented 2 months ago

Hi :)

libiso15118 is a PoC library that maps ISO15118-20 for the SECC side. This includes an ISO15118-20 DC/DC_BPT state machine, exi handling by libcbv2g, network handling (SDP + TCP/TLS), etc.

This library is not an exi codec. To encode and decode the exi messages this lib uses libcbv2g.

This lib can theoretically be used standalone. To do this, a TbdController object must be created and the loop() must be called. But I would advise against this. It is of course easier to run EVerest with libiso15118. There is a D20 module in beta state for this: https://github.com/EVerest/everest-core/tree/testing/iso15118-20/modules/EvseD20

Please note, as already pointed out in the last months, this library is under heavy development and API or other changes may occur at any time.

mskumar18 commented 1 month ago

can I see handshake and data exchange between EVCC and SECC in this libiso15118 ?.... like how I saw in iso15118 Josev when I built and run

SebaLukas commented 1 month ago

As already written, the libiso15118 currently only contains the SECC ISO15118-20 state machine.

To exchange messages, the lib needs an EVCC. The easiest way to do this at the moment is via the EVerest SIL. Or you can build your own small secc application with the lib and communicate with an external EVCC ISO-20 application.