|
@@ -217,7 +217,7 @@ bool isModelNameMatch = true;
|
|
|
|
|
|
int rfidFd = -1;
|
|
|
char* rfidPortName = "/dev/ttyS2";
|
|
|
-char* fwVersion = "V2.05.00.0000.00";
|
|
|
+char* fwVersion = "V2.06.00.0000.00";
|
|
|
|
|
|
sqlite3 *localDb;
|
|
|
bool isDb_ready;
|
|
@@ -1549,7 +1549,7 @@ void InitEthernet()
|
|
|
system("killall udhcpc");
|
|
|
system("rm -rf /etc/resolv.conf");
|
|
|
system("echo nameserver 8.8.8.8 > /etc/resolv.conf");
|
|
|
- system("echo nameserver 180.76.76.76 > /etc/resolv.conf");
|
|
|
+ system("echo nameserver 180.76.76.76 >> /etc/resolv.conf");
|
|
|
|
|
|
|
|
|
if(ShmSysConfigAndInfo->SysConfig.Eth0Interface.EthDhcpClient == 0)
|
|
@@ -3785,8 +3785,10 @@ void ScannerCardProcess()
|
|
|
else
|
|
|
{
|
|
|
|
|
|
+ PRINTF_FUNC("_LCM_AUTHORIZ_FAIL \n");
|
|
|
ShmSysConfigAndInfo->SysInfo.SystemPage = _LCM_AUTHORIZ_FAIL;
|
|
|
strcpy((char *)ShmSysConfigAndInfo->SysConfig.UserId, "");
|
|
|
+ ShmDcCommonData->_CcidAuthProcessStep = _CCID_NONE;
|
|
|
}
|
|
|
ClearAuthorizedFlag();
|
|
|
}
|
|
@@ -8674,6 +8676,8 @@ void RecordGfdResult(byte index)
|
|
|
{
|
|
|
|
|
|
RecordAlarmCode(index, "012234");
|
|
|
+ ocpp_set_stopReason_by_cmd(index, "Other");
|
|
|
+ ChargingAlarmProcess(index);
|
|
|
}
|
|
|
else if (chargingInfo[index]->GroundFaultStatus == GFD_WARNING)
|
|
|
{
|
|
@@ -8687,6 +8691,8 @@ void RecordGfdResult(byte index)
|
|
|
{
|
|
|
|
|
|
RecordAlarmCode(index, "012236");
|
|
|
+ ocpp_set_stopReason_by_cmd ( index, "Other" );
|
|
|
+ ChargingAlarmProcess ( index );
|
|
|
}
|
|
|
else if (chargingInfo[index]->GroundFaultStatus == GFD_WARNING)
|
|
|
{
|
|
@@ -8700,6 +8706,8 @@ void RecordGfdResult(byte index)
|
|
|
{
|
|
|
|
|
|
RecordAlarmCode(index, "012235");
|
|
|
+ ocpp_set_stopReason_by_cmd(index, "Other");
|
|
|
+ ChargingAlarmProcess ( index );
|
|
|
}
|
|
|
else if (chargingInfo[index]->GroundFaultStatus == GFD_WARNING)
|
|
|
{
|