]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(ocpp2.0): guard BroadcastChannel MeterValues for both VERSION_20 and VERSION_201
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 20 Mar 2026 19:10:38 +0000 (20:10 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 20 Mar 2026 19:10:38 +0000 (20:10 +0100)
commit9c0fcfda63dbbf24bbb240f2d4ba45667fbd9c9a
treefbc394f01bd360da283b21ab0bf6ec1d27c3bc31
parentdcfc120c6562e7d20830629a067a3224d5bc37ca
fix(ocpp2.0): guard BroadcastChannel MeterValues for both VERSION_20 and VERSION_201

The early return in handleMeterValues only checked VERSION_201, missing
VERSION_20. A station configured with ocppVersion '2.0' would fall
through to the OCPP 1.6 path and call convertToInt on a UUID string.
src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts