Ver código fonte

2020-02-26 /Kathy Yeh
1. modify StopTransaction sampledValue error
2. modify ChangeConfiguration Error
3. modify Update Firmwave Segmental Error(pointer memory issue)
4. add Configuration Table
5. modify Upload log function via http

Kathy_Yeh 5 anos atrás
pai
commit
a26cfcc53a

Diferenças do arquivo suprimidas por serem muito extensas
+ 1154 - 395
EVSE/Modularization/ocppfiles/MessageHandler.c


+ 1 - 0
EVSE/Modularization/ocppfiles/MessageHandler.h

@@ -20,6 +20,7 @@ struct StructProfile
 // Common routine
 //===============================================
 int initialConfigurationTable(void);
+void StoreConfigurationTable(void);
 
 //==========================================
 // send request routine

+ 6 - 2
EVSE/Modularization/ocppfiles/Module_OcppBackend.c

@@ -686,8 +686,12 @@ if(fgetc(fp)==EOF)
 	//DEBUG_INFO("It is end of file");
 	fclose(fp);
 	memset(rmFileCmd, 0, sizeof rmFileCmd);
-	sprintf(rmFileCmd,"rm -f %s","../Storage/OCPP/TransactionRelatedQueue");
-	system(rmFileCmd);
+	if((access("../Storage/OCPP/TransactionRelatedQueue",F_OK))!=-1)
+	{
+		sprintf(rmFileCmd,"rm -f %s","../Storage/OCPP/TransactionRelatedQueue");
+		system(rmFileCmd);
+	}
+
 	result = FALSE;
 
 	return result;

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff