ChargePoint / wireshark-v2g

Dissector for the V2G Protocols
Other
48 stars 19 forks source link

Decoding errors, e.g. in PaymentServiceSelectionReq #26

Closed adoebber closed 1 year ago

adoebber commented 1 year ago

For some messages the decoding does not work quite well. E.g.: image

This is the xml representation of the message:

<?xml version="1.0" ?>
<ns6:V2G_Message xmlns:ns6="urn:iso:15118:2:2013:MsgDef" xmlns:ns5="http://www.w3.org/2000/09/xmldsig#" xmlns:ns7="urn:iso:15118:2:2013:MsgBody" xmlns:ns2="urn:iso:15118:2:2010:AppProtocol" xmlns:ns4="urn:iso:15118:2:2013:MsgDataTypes" xmlns:ns3="urn:iso:15118:2:2013:MsgHeader">
    <ns6:Header>
        <ns3:SessionID>945494987B6863AD</ns3:SessionID>
    </ns6:Header>
    <ns6:Body>
        <ns7:PaymentServiceSelectionReq>
            <ns7:SelectedPaymentOption>ExternalPayment</ns7:SelectedPaymentOption>
            <ns7:SelectedServiceList>
                <ns4:SelectedService>
                    <ns4:ServiceID>1</ns4:ServiceID>
                </ns4:SelectedService>
            </ns7:SelectedServiceList>
        </ns7:PaymentServiceSelectionReq>
    </ns6:Body>
</ns6:V2G_Message>

See attachment for a minimal pcap file. PaymentServiceSelectionReq.zip