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

2021-03-26/Alston Lin

Actinos
1. Add CCS full charging code

Files
1. As follow commit histoty
Alston 4 жил өмнө
parent
commit
6398cdffb1

+ 7 - 5
EVSE/Projects/define.h

@@ -548,7 +548,7 @@ struct ChargingInfoData
 	unsigned char 		isRemoteStart;
 	struct Schedule		schedule;						// Schedule
 	int 				EvBatteryStartSoc;				// 0~100%
-	unsigned char 		UnKnowStopChargeFlag;			// for EV board
+	unsigned char 		NormalStopChargeFlag;			// for EV board
 	ChargingStop        ChargingStopFlag;
 };
 
@@ -1628,11 +1628,11 @@ char InfoStatusCode[384][6]=
 	"023976",	//GBT: ERROR_CODE_BSM_ISOLATE
 	"023977",	//GBT: ERROR_CODE_BSM_OUTPUT_CONNECTOR
 	"023978",	// Reserved
-	"023979",	// Reserved
+	"023979",	// EV_Full_charging
 	"023980",	// ERROR_CODE_CHADEMO_BMS_CHARGE_ALLOW_ERROR
 	"023981",	// ERROR_CODE_CHADEMO_OUTPUT_VOLTAGE_MORE_THEN_10_PERCENT
 	"023982",	// ERROR_CODE_CHADEMO_ADC_LESS_THAN_10V
-	"023983",	// Reserved
+	"023983",	// Stop_By_EV_With_Unknow_Reason
 	"023984",	// Reserved
 	"023985",	// Reserved
 	"023986",	// Reserved
@@ -1972,12 +1972,14 @@ struct InfoCodeData
 			unsigned char ERROR_CODE_BSM_TEMPERATURE :1;			//bit 3
 			unsigned char ERROR_CODE_BSM_ISOLATE :1;				//bit 4
 			unsigned char ERROR_CODE_BSM_OUTPUT_CONNECTOR :1;		//bit 5
-			unsigned char :2;										//bit 6 ~ 7	reserved
+			unsigned char :1;										//bit 6 reserved
+			unsigned char EV_Full_Charging:1;							//bit 7
 			//InfoVal[39]
 			unsigned char CHADEMO_BMS_CHARGE_ALLOW_ERROR:1;			//bit 0
 			unsigned char CHADEMO_OUTPUT_VOLTAGE_MORE_THEN_10_PERCENT:1; //bit 1
 			unsigned char CHADEMO_ADC_LESS_THAN_10V:1;				//bit 2
-			unsigned char :5;										//bit 3 ~ 7	reserved
+			unsigned char Stop_by_EV_with_unknow_reason:1;			//bit 3
+			unsigned char :4;										//bit 4 ~ 7	reserved
 			//InfoVal[40]
 			unsigned char BackendDisconnectedViaEthernet:1;			//bit 0
 			unsigned char BackendDisconnectViaWiFi:1;				//bit 1