SwitchEV / RISE-V2G

The only fully-featured reference implementation of the Vehicle-2-Grid communication interface ISO 15118
MIT License
219 stars 92 forks source link

EXI decoding instruction missing #25

Closed basilfx closed 5 years ago

basilfx commented 6 years ago

I'm playing with the EXI examples, using Exificient-Gui, but no matter what I try, I cannot convert it to XML. Either the resulting file is empty, or it throws an exception.

Can you provide the instructions on how to decode an EXI message, if possible for EXIficient-Gui?

I have been using the schema's, and I have converted the hex-encoded example to a binary using cat input.hex | xxd -r -p > output.bin. Then I selected 'EXI to XML' in the program, and played with the settings to match this source file. I am doing this to understand how EXI works in the context of 15118, and get a feeling for how it works.

MarcMueltin commented 6 years ago

Hello there, a shorts heads-up: I am currently on vacation but I'll look into it at the latest once I am back at work. Will be beginning of September.

basilfx commented 6 years ago

@MarcMueltin, any update on this? Thanks!

MarcMueltin commented 6 years ago

I'm sorry, I didn't have time yet to look into it. But it's on top of my todo-list. This week and the coming week are full with business travels, but I'll do my best to find a solution for you this week. Sorry for the delay.

MarcMueltin commented 6 years ago

I tried to decode some EXI examples using Exificient-GUI myself, but I also was not successful in decoding that EXI into XML documents. I'm afraid I can't help you much right now. I never used Exificient-GUI myself. You would have to contact the creator of Exificient-GUI and see if he or she can help you out.

I'll keep this issue open until we find a solution. This week and the coming week I probably won't find time as I am on business travels, but the week after I have a bit more time.

remcotjeerdsma commented 6 years ago

Hi Marc,

Thank you for trying!

I think I read or heard you say once which library you used to generate these examples, but I cannot recall. I see three different codecs in the repository. Can you help me out? We will try and get in touch with the Exificient library maintainers to find out about the cause of this.

Thanks!

Regards, Remco

MarcMueltin commented 6 years ago

Hi Remco,

I used RISE V2G to generate those examples. It doesn't make a difference if you use Exificient or OpenEXI as the EXI codec. They both produce the same results in RISE V2G. What is the third codec you are talking about? There is no third EXI codec used in RISE V2G.