From: Jérôme Benoit Date: Tue, 24 Nov 2020 13:18:41 +0000 (+0100) Subject: Add ClearCache command support. X-Git-Tag: v1.0.1-0~179 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a410f7c20845e369236b9a10d29df8d5680cd8b6;p=e-mobility-charging-stations-simulator.git Add ClearCache command support. Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index af0a3f0f..59d360b5 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -1238,6 +1238,10 @@ export default class ChargingStation { return Constants.OCPP_RESPONSE_ACCEPTED; } + handleRequestClearCache(): DefaultRequestResponse { + return Constants.OCPP_RESPONSE_ACCEPTED; + } + async handleRequestUnlockConnector(commandPayload): Promise { const connectorId = Utils.convertToInt(commandPayload.connectorId); if (connectorId === 0) {