Skip to content

Wrong decoding on WPT Messages #26

Open
@famnz

Description

@famnz

Hello, for security reasons I can not uplad whole pcap files but I will try to give you as much context as I can, we use the wireshark plugin https://github.com/dspace-group/dsV2Gshark that base their decoding in cbexigen.
I,ve noticed that the message WPT_FinePositioningSetup when there is no SpecificDataContainer or LF_SystemSetupData is being decoded as ServiceSelectionRes

Image

I've traced this issue because while encoding our message since there are no DataContainers after the NaturalOffset element we set the eventCode as 2 which means end element. But while decoding it treats it as EXI_ERROR__UNKNOWN_EVENT_CODE

https://raw.githubusercontent.com/dspace-group/dsV2Gshark/refs/heads/main/V2G_Libraries/Third_Party/cbv2g/iso-20/iso20_WPT_Decoder.c Line 21129

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions