]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix: improve OCPP 2.0.1 TransactionEvent spec compliance
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 29 Mar 2026 00:45:59 +0000 (01:45 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 29 Mar 2026 00:45:59 +0000 (01:45 +0100)
commit1ce9deebbd681c05059abda20d7658a37d418992
tree31a9f466dee08a578b0248850e0c485f88b8047a
parent86460e0921262c4034ed5da7cbe9d960c70df483
fix: improve OCPP 2.0.1 TransactionEvent spec compliance

- Auto-derive chargingState in buildTransactionEvent when not explicitly
  provided (E02.FR.13: Started always has chargingState)
- Use idToken type Local instead of hardcoded Central in
  startTransactionOnConnector for ATG local tag consistency (E02.FR.01)
- Add TimeLimitReached mapping in mapStopReasonToOCPP20 for stations
  that need to report time-limited transaction stops
src/charging-station/ocpp/2.0/OCPP20ServiceUtils.ts
src/charging-station/ocpp/OCPPServiceUtils.ts