From a410f7c20845e369236b9a10d29df8d5680cd8b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 24 Nov 2020 14:18:41 +0100 Subject: [PATCH] Add ClearCache command support. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.34.1