|
@@ -2,7 +2,7 @@
|
|
|
* Module_Wifi.c
|
|
|
*
|
|
|
* Created on: 2020-01-14
|
|
|
- * Update on: 2020-11-19
|
|
|
+ * Update on: 2022-02-09
|
|
|
* Author: Jerry Wang, Eason Yang, Folus Wen
|
|
|
* Version: V0.14
|
|
|
*
|
|
@@ -259,8 +259,8 @@ 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.22","2021-10-15"};
|
|
|
+char *valid_Internet[3] = {"8.8.8.8", "180.76.76.76", "192.168.10.10"};
|
|
|
+char *Version_And_Date[2] = {"V0.23","2022-02-09"};
|
|
|
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)) && !(ShmSysConfigAndInfo->SysConfig.isEnableLocalPowerSharging && (isConnectAP() == PASS)))
|
|
|
+ if(((!ShmSysConfigAndInfo->SysInfo.OcppConnStatus && (strcmp((char *)&ShmSysConfigAndInfo->SysConfig.OcppServerURL,"") != 0)) || (strcmp((char *)&ShmSysConfigAndInfo->SysConfig.OcppServerURL,"") == 0)))
|
|
|
{
|
|
|
ShmSysConfigAndInfo->SysConfig.AthInterface.WifiNetworkConn=0;
|
|
|
cnt_pingDNS_Fail = 0;
|