Forráskód Böngészése

2020/08/24 Eason Yang
Action
1. Added : Added 3 seconds delay into Terminating mode and Complete mode for ocpp system status.
2. Rename : Version.

File
1.main.c
Action 1
Action 2

Version : V0.55.XX.XXXX.XX

8009 4 éve
szülő
commit
273ccfc24c

+ 4 - 1
EVSE/Projects/AW-Regular/Apps/main.c

@@ -1249,7 +1249,7 @@ void get_firmware_version(unsigned char gun_index)
 	strcpy((char*)ShmSysConfigAndInfo->SysInfo.CsuPrimFwRev, ShmCharger->gun_info[gun_index].ver.Version_FW);
 
 	// Get CSU root file system version
-	sprintf((char*)ShmSysConfigAndInfo->SysInfo.CsuRootFsFwRev, "V0.54.00.0000.00");
+	sprintf((char*)ShmSysConfigAndInfo->SysInfo.CsuRootFsFwRev, "V0.55.00.0000.00");
 
 	// Get AC connector type from model name
 	for(uint8_t idx=0;idx<3;idx++)
@@ -3043,6 +3043,8 @@ int main(void)
 
 						getDateTimeString((char*)ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].StopDateTime);
 						startTime[gun_index][TMR_IDX_AUTH].time -= TIMEOUT_SPEC_AUTH;
+						
+						sleep(3);
 					}
 
 					// End authorize pass
@@ -3249,6 +3251,7 @@ int main(void)
 					if(isModeChange(gun_index))
 					{
 						setLedMotion(gun_index, LED_ACTION_STOP);
+						sleep(3);
 					}
 
 					if(ShmOCPP16Data->MsMsg.bits.ResetReq)

BIN
EVSE/Projects/AW-Regular/Images/FactoryDefaultConfig.bin


BIN
EVSE/Projects/AW-Regular/Images/ramdisk.gz