Эх сурвалжийг харах

2023-03-08/Jerry Wang
[OCPP 1.6]
Action:
1. Modify configuration key 'ConnectionTimeout' lower threshold limit to 30.

File:
1. EVSE/Modularization/ocppfiles/MessageHandler.c
--> Action 1

Jerry Wang 2 жил өмнө
parent
commit
fa3ae3ad30

+ 1 - 1
EVSE/Modularization/ocppfiles/MessageHandler.c

@@ -20860,7 +20860,7 @@ int setKeyValue(char *key, char *value)
     		}
     		else
     		{
-    			if((atoi(value) >= 10) && (atoi(value) <= 3600))
+    			if((atoi(value) >= 30) && (atoi(value) <= 3600))
     			{
     				//Charger.ConnectionTimeOut = Integer.parseInt(value)*1000;
 					sprintf((char *)ShmOCPP16Data->ConfigurationTable.CoreProfile[ConnectionTimeOut].ItemData, "%d", atoi(value));