From 65db82b9f94bf0ae240aa6548752ea50f95532c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 29 Mar 2026 03:04:50 +0200 Subject: [PATCH] fix: harmonize idToken type to ISO14443 between Authorize and TransactionEvent Started The Authorize request already used ISO14443 for RFID tag identifiers, but startTransactionOnConnector hardcoded Central (now Local after previous commit). Align both to ISO14443 for consistency. --- src/charging-station/ocpp/OCPPServiceUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charging-station/ocpp/OCPPServiceUtils.ts b/src/charging-station/ocpp/OCPPServiceUtils.ts index 68eb372c..e915b320 100644 --- a/src/charging-station/ocpp/OCPPServiceUtils.ts +++ b/src/charging-station/ocpp/OCPPServiceUtils.ts @@ -452,7 +452,7 @@ export const startTransactionOnConnector = async ( transactionId, { idToken: - idTag != null ? { idToken: idTag, type: OCPP20IdTokenEnumType.Local } : undefined, + idTag != null ? { idToken: idTag, type: OCPP20IdTokenEnumType.ISO14443 } : undefined, ...(startedMeterValues.length > 0 && { meterValue: startedMeterValues }), } ) -- 2.53.0