// Throw exception
throw new OCPPError(
ErrorType.NOT_IMPLEMENTED,
- `'${commandName}' is not implemented to handle response PDU ${JSON.stringify(
+ `${commandName} is not implemented to handle response PDU ${JSON.stringify(
payload,
undefined,
2
if (chargingStation.isRegistered()) {
chargingStation.emit(ChargingStationEvents.registered)
if (chargingStation.inAcceptedState()) {
- chargingStation.emit(ChargingStationEvents.accepted)
addConfigurationKey(
chargingStation,
OCPP16StandardParametersKey.HeartbeatInterval,
{ visible: false },
{ overwrite: true, save: true }
)
+ chargingStation.emit(ChargingStationEvents.accepted)
}
} else if (chargingStation.inRejectedState()) {
chargingStation.emit(ChargingStationEvents.rejected)
? logger.warn(logMsg)
: logger.info(logMsg)
} else {
+ delete chargingStation.bootNotificationResponse
logger.error(
`${chargingStation.logPrefix()} Charging station boot notification response received: %j with undefined registration status`,
payload
}
if (
connectorStatus?.idTagAuthorized === true &&
+ connectorStatus.authorizeIdTag != null &&
connectorStatus.authorizeIdTag !== requestPayload.idTag
) {
logger.error(
}
if (
connectorStatus?.idTagLocalAuthorized === true &&
+ connectorStatus.localAuthorizeIdTag != null &&
connectorStatus.localAuthorizeIdTag !== requestPayload.idTag
) {
logger.error(