Decode Error in ChargeParamDisRes if #ConsumptionCost == 3
- Dominant language
- Python
- Stars
- 69
- Forks
- 36
- Avg merge
- 3h 30m
- Merged PRs (30d)
- 1
Description
### Describe the bug
Hi,
I encountered a decode error (-110, EXI_ERROR__ARRAY_OUT_OF_BOUNDS) in a ChargeParameterDiscoveryResponse (ISO-2).
I figured out that it depends on the number of ConsumptionCost elements. If there are 3 of them in the message (the maximum permitted by the specification), I get this error. I'm pretty sure this didn't happen a few months ago. Maybe one of the last PRs is responsible for that?
I have not investigated this problem any further yet.
### To Reproduce
Example Message:
EXI `8098022AAAAAAAAAAAAAAA90A000001200003403C18501E088000454D85B195CC815185C9A5999880D4D400C0D8040141185014000CC18830A02A00051418501600024A4A000010081861E80608284C3A81081209C0018000008000200C0000430441380`
XML
```
AAAAAAAAAAAAAAAA
OK
Finished
10
0
2000
3
W
30
1
Sales Tariff 55
3
600
20
3
W
20
relativePricePercentage
51
0
3
W
21
relativePricePercentage
10
3
W
22
relativePricePercentage
9
0
None
No_IMD
EVSE_Ready
0
A
500
1
W
15000
-1
V
10000
-3
A
0
-3
V
0
-3
A
0
-1
Wh
5000
```
### Anything else?
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.