瀏覽代碼

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 年之前
父節點
當前提交
a26cfcc53a

文件差異過大導致無法顯示
+ 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;

部分文件因文件數量過多而無法顯示