|
@@ -260,7 +260,7 @@ int isValidCheckSum(uint8_t *message);
|
|
|
char *Support_InterfaceSTA[2] = {"mlan0", "wlan0"};
|
|
|
char *Support_InterfaceAP[1] = {"uap0"};
|
|
|
char *valid_Internet[2] = {"8.8.8.8", "180.76.76.76"};
|
|
|
-char *Version_And_Date[2] = {"V0.21","2021-10-14"};
|
|
|
+char *Version_And_Date[2] = {"V0.22","2021-10-15"};
|
|
|
int protocol_Version [] = {0,7,0};
|
|
|
|
|
|
int StoreLogMsg(const char *fmt, ...)
|
|
@@ -4551,7 +4551,7 @@ void proc_sta()
|
|
|
{
|
|
|
ShmStatusCodeData->InfoCode.InfoEvents.bits.InternetDisconnectViaWiFi=1;
|
|
|
|
|
|
- if((!ShmSysConfigAndInfo->SysInfo.OcppConnStatus && (strcmp((char *)&ShmSysConfigAndInfo->SysConfig.OcppServerURL,"") != 0)) && !(ShmSysConfigAndInfo->SysConfig.isEnableLocalPowerSharging && (isConnectAP() == PASS)))
|
|
|
+ if((!ShmSysConfigAndInfo->SysInfo.OcppConnStatus && (((strcmp((char *)&ShmSysConfigAndInfo->SysConfig.OcppServerURL,"") != 0)) || ShmSysConfigAndInfo->SysConfig.isEnableLocalPowerSharging)) && !(ShmSysConfigAndInfo->SysConfig.isEnableLocalPowerSharging && (isConnectAP() == PASS)))
|
|
|
{
|
|
|
ShmSysConfigAndInfo->SysConfig.AthInterface.WifiNetworkConn=0;
|
|
|
cnt_pingDNS_Fail = 0;
|