From: Jérôme Benoit Date: Sat, 8 Jun 2024 14:39:02 +0000 (+0200) Subject: fix: fix start transaction response handling with authorize X-Git-Tag: v1.3.5~7 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=ae8fb16df7c98a9238e61b1b358f8fbe2aee7a74;p=e-mobility-charging-stations-simulator.git fix: fix start transaction response handling with authorize Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts index aec5d65f..df837421 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts @@ -650,6 +650,7 @@ export class OCPP16ResponseService extends OCPPResponseService { } if ( connectorStatus?.idTagAuthorized === true && + connectorStatus.authorizeIdTag != null && connectorStatus.authorizeIdTag !== requestPayload.idTag ) { logger.error( @@ -664,6 +665,7 @@ export class OCPP16ResponseService extends OCPPResponseService { } if ( connectorStatus?.idTagLocalAuthorized === true && + connectorStatus.localAuthorizeIdTag != null && connectorStatus.localAuthorizeIdTag !== requestPayload.idTag ) { logger.error(