User Activity

  • Modified ticket #29 on OpenV2G

    corruption unless complete zero-ize of struct iso1EXIDocument output

  • Posted a comment on ticket #29 on OpenV2G

    Since I have not received any feedback, I assume that the answer was/is satisfactory. In summary, it is simply the case that arrays (for character strings, bytes, etc.) must be initialized manually. However, this is also standard practice in C.

  • Posted a comment on ticket #29 on OpenV2G

    Hi, I checked your code and I think there is one missing piece. OpenV2G does not (properly?) initialize datastructures for bytes and string (internal struct in struct) and expects the user to set the data. Hence according to my testing memset(&exiOut, 0, sizeof(exiOut)); is not needed. Remving it does not show any problem with your code. IF you initialize byte and string arrays.. like you do in exiOut.V2G_Message.Header.SessionID.bytesLen = 8; memset(exiOut.V2G_Message.Header.SessionID.bytes, 0xA5,...

  • Posted a comment on ticket #29 on OpenV2G

    Hi, Thank you for reporting the problem. For now I did not have more time than running your demo. I can't really understand why the init_ methods don't work as expected for union. I'll have to take a closer look at the code. for example https://sourceforge.net/p/openv2g/code/HEAD/tree/trunk/src/iso1/iso1EXIDatatypes.c#l44 sets the XXX_isUsed to zero which should prevent to run into other union memory parts. 🤔 Mhhh, I hope I can find time to look into soon... unless you beat me with the explanation....

  • Committed [r126] on Code

    refactor: add tag 0.9..6

  • Committed [r125] on Code

    refactor: iso90

  • Committed [r124] on Code

    docs: update docs for version 0.9.6

  • Committed [r123] on Code

    fix: overflow when decoding large integer numbers

View All

Personal Data

Username:
daniel_peintner
Joined:
2008-07-23 09:30:03

Projects

This is a list of open source software projects that Daniel Peintner is associated with:

Personal Tools

MongoDB Logo MongoDB