|
@@ -1933,6 +1933,13 @@ void ClearAbnormalStatus_CCS(byte gun_index)
|
|
|
memcpy(_chargingData[gun_index]->EvConnAlarmCode, "", 6);
|
|
|
isCleanCheck = true;
|
|
|
}
|
|
|
+ else if (strncmp((char *)_chargingData[gun_index]->EvConnAlarmCode, "023850", 6) == EQUAL &&
|
|
|
+ ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccTimeoutV2GPreChargePerformaceTime == YES)
|
|
|
+ {
|
|
|
+ memcpy(code, "023850", 6);
|
|
|
+ memcpy(_chargingData[gun_index]->EvConnAlarmCode, "", 6);
|
|
|
+ isCleanCheck = true;
|
|
|
+ }
|
|
|
else if (strncmp((char *)_chargingData[gun_index]->EvConnAlarmCode, "023855", 6) == EQUAL &&
|
|
|
ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsTP_GET_EV_TARGET_INFO == YES)
|
|
|
{
|
|
@@ -2185,6 +2192,20 @@ void ClearAbnormalStatus_CCS(byte gun_index)
|
|
|
memcpy(_chargingData[gun_index]->EvConnAlarmCode, "", 6);
|
|
|
isCleanCheck = true;
|
|
|
}
|
|
|
+ else if (strncmp((char *)_chargingData[gun_index]->EvConnAlarmCode, "023891", 6) == EQUAL &&
|
|
|
+ ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccNotReadyForCharging == YES)
|
|
|
+ {
|
|
|
+ memcpy(code, "023891", 6);
|
|
|
+ memcpy(_chargingData[gun_index]->EvConnAlarmCode, "", 6);
|
|
|
+ isCleanCheck = true;
|
|
|
+ }
|
|
|
+ else if (strncmp((char *)_chargingData[gun_index]->EvConnAlarmCode, "023892", 6) == EQUAL &&
|
|
|
+ ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccTimeoutQCA7000Comm == YES)
|
|
|
+ {
|
|
|
+ memcpy(code, "023892", 6);
|
|
|
+ memcpy(_chargingData[gun_index]->EvConnAlarmCode, "", 6);
|
|
|
+ isCleanCheck = true;
|
|
|
+ }
|
|
|
|
|
|
if (isCleanCheck)
|
|
|
{
|
|
@@ -2294,6 +2315,7 @@ void ClearAbnormalStatus_CCS(byte gun_index)
|
|
|
if (strncmp(code, "023847", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsCableCheck_Performance_Time = NO;
|
|
|
if (strncmp(code, "023848", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsCPState_Detection_Time = NO;
|
|
|
if (strncmp(code, "023849", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsCPOscillator_Retain_Time = NO;
|
|
|
+ if (strncmp(code, "023850", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccTimeoutV2GPreChargePerformaceTime = NO;
|
|
|
if (strncmp(code, "023855", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsTP_GET_EV_TARGET_INFO = NO;
|
|
|
if (strncmp(code, "023856", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsTT_GET_EV_TARGET_INFO = NO;
|
|
|
if (strncmp(code, "023857", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsTP_GET_EV_BATTERY_INFO = NO;
|
|
@@ -2330,6 +2352,8 @@ void ClearAbnormalStatus_CCS(byte gun_index)
|
|
|
if (strncmp(code, "023888", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsISO2_Msg_Encode_Error = NO;
|
|
|
if (strncmp(code, "023889", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsCpStatus_Error = NO;
|
|
|
if (strncmp(code, "023890", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsUnexpectVolBeforeCharing_Error = NO;
|
|
|
+ if (strncmp(code, "023891", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccNotReadyForCharging = NO;
|
|
|
+ if (strncmp(code, "023892", 6) == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccTimeoutQCA7000Comm = NO;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -2483,6 +2507,7 @@ void AbnormalStopAnalysis(byte gun_index, byte *errCode)
|
|
|
if (strcmp(string, "023847") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsCableCheck_Performance_Time = YES;
|
|
|
if (strcmp(string, "023848") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsCPState_Detection_Time = YES;
|
|
|
if (strcmp(string, "023849") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsCPOscillator_Retain_Time = YES;
|
|
|
+ if (strcmp(string, "023850") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccTimeoutV2GPreChargePerformaceTime = YES;
|
|
|
if (strcmp(string, "023855") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsTP_GET_EV_TARGET_INFO = YES;
|
|
|
if (strcmp(string, "023856") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsTT_GET_EV_TARGET_INFO = YES;
|
|
|
if (strcmp(string, "023857") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsTP_GET_EV_BATTERY_INFO = YES;
|
|
@@ -2519,6 +2544,8 @@ void AbnormalStopAnalysis(byte gun_index, byte *errCode)
|
|
|
if (strcmp(string, "023888") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsISO2_Msg_Encode_Error = YES;
|
|
|
if (strcmp(string, "023889") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsCpStatus_Error = YES;
|
|
|
if (strcmp(string, "023890") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsUnexpectVolBeforeCharing_Error = YES;
|
|
|
+ if (strcmp(string, "023891") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccNotReadyForCharging = YES;
|
|
|
+ if (strcmp(string, "023892") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.CcsSeccTimeoutQCA7000Comm = YES;
|
|
|
|
|
|
if (strcmp(string, "023702") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.GbEvCommFail = YES;
|
|
|
if (strcmp(string, "023900") == EQUAL) ShmStatusCodeData->InfoCode.InfoEvents.bits.ERROR_CODE_GBT_LOS_CC1 = YES;
|