Przeglądaj źródła

2020-04-14 /Kathy Yeh
1. modify Key MinimumStatusDuration value

Kathy_Yeh 5 lat temu
rodzic
commit
f93fbe2599
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      EVSE/Modularization/ocppfiles/MessageHandler.c

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

@@ -38,6 +38,8 @@
 #include	"TransactionQueue.h"
 
 
+
+
 #define PASS				1
 #define FAIL				-1
 
@@ -11413,7 +11415,7 @@ int initialConfigurationTable(void)
 		// MinimumStatusDuration
 		ShmOCPP16Data->ConfigurationTable.CoreProfile[MinimumStatusDuration].ItemAccessibility = 1;
 		strcpy((char *)ShmOCPP16Data->ConfigurationTable.CoreProfile[MinimumStatusDuration].ItemName, "MinimumStatusDuration");
-		strcpy((char *)ShmOCPP16Data->ConfigurationTable.CoreProfile[MinimumStatusDuration].ItemData, "0" );
+		strcpy((char *)ShmOCPP16Data->ConfigurationTable.CoreProfile[MinimumStatusDuration].ItemData, "120" );
 		server_cycle_Status = 120; //StatusNotification cycle
 		fprintf(outfile,"{\"key\":\"%s\",\"readonly\":%s,\"value\":\"%s\"}\n","MinimumStatusDuration", "false", "120");