EcoG-io / iso15118

Implementation of the ISO 15118 Communication Protocol (-2, -20, -8)
Apache License 2.0
165 stars 93 forks source link

Wrong Parameters in DC BPT Parameter Set sent by SECC #428

Open AKKA-AntonioAlmeida opened 2 months ago

AKKA-AntonioAlmeida commented 2 months ago

In state ServiceDetails, when executing an EV (following 15118-20 and using DC BPT) against your SECC, the ServiceDetailRes presents parameter sets with the wrong parameters.

The ServiceDetailRes sent is

{
    "ServiceDetailRes": {
        "Header": {
            "SessionID": "594BDDEAA4B9B6D1",
            "TimeStamp": 1724245420
        },
        "ResponseCode": "OK",
        "ServiceID": 6,
        "ServiceParameterList": {
            "ParameterSet": [
                {
                    "ParameterSetID": 1,
                    "Parameter": [
                        {
                            "Name": "Connector",
                            "intValue": 2
                        },
                        {
                            "Name": "EVSENominalVoltage",
                            "intValue": 400
                        },
                        {
                            "Name": "Pricing",
                            "intValue": 0
                        },
                        {
                            "Name": "ControlMode",
                            "intValue": 1
                        },
                        {
                            "Name": "MobilityNeedsMode",
                            "intValue": 1
                        }
                    ]
                },
                {
                    "ParameterSetID": 2,
                    "Parameter": [
                        {
                            "Name": "Connector",
                            "intValue": 2
                        },
                        {
                            "Name": "EVSENominalVoltage",
                            "intValue": 400
                        },
                        {
                            "Name": "Pricing",
                            "intValue": 0
                        },
                        {
                            "Name": "ControlMode",
                            "intValue": 2
                        },
                        {
                            "Name": "MobilityNeedsMode",
                            "intValue": 2
                        }
                    ]
                },
                {
                    "ParameterSetID": 3,
                    "Parameter": [
                        {
                            "Name": "Connector",
                            "intValue": 2
                        },
                        {
                            "Name": "EVSENominalVoltage",
                            "intValue": 400
                        },
                        {
                            "Name": "Pricing",
                            "intValue": 0
                        },
                        {
                            "Name": "ControlMode",
                            "intValue": 2
                        },
                        {
                            "Name": "MobilityNeedsMode",
                            "intValue": 1
                        }
                    ]
                },

            ]
        }
    }
}

when the expected list of parameters is

  1. Connector
  2. ControlMode
  3. MobilityMode
  4. Pricing
  5. BPTChannel
  6. GeneratorMode

If you could solve this as quickly as possible, we would be extremely grateful. Thank you in advance!