Browse Source

[Workaround][DM30][DW30][network] Sometime, if use the "ifmetric" system command to setup network priority will return "invalid argument", and the target network will be shutdown, need to find the root cause.

2020.08.18 / TC Hsu

Actions: mark the CheckEthernetUsage() function in main.c for workaround.

Image version    : N/A
Image checksum   : N/A

Hardware PWB P/N : N/A
Hardware Version : N/A

Files:

	modified:   EVSE/Projects/DM30/Apps/main.c
	modified:   EVSE/Projects/DW30/Apps/main.c
TC_Hsu 4 years ago
parent
commit
b970ae5695
2 changed files with 2 additions and 2 deletions
  1. 1 1
      EVSE/Projects/DM30/Apps/main.c
  2. 1 1
      EVSE/Projects/DW30/Apps/main.c

+ 1 - 1
EVSE/Projects/DM30/Apps/main.c

@@ -4957,7 +4957,7 @@ int main(void)
         if ((GetTimeoutValue(_cmdMainPriority_time) / 1000) > 5000)
         {
             CheckTask();
-            CheckEthernetUsage();
+            //CheckEthernetUsage();
             for (byte _index = 0; _index < ShmSysConfigAndInfo->SysConfig.TotalConnectorCount; _index++)
             {
                 if (chargingInfo[_index]->SystemStatus == S_CHARGING)

+ 1 - 1
EVSE/Projects/DW30/Apps/main.c

@@ -4957,7 +4957,7 @@ int main(void)
         if ((GetTimeoutValue(_cmdMainPriority_time) / 1000) > 5000)
         {
             CheckTask();
-            CheckEthernetUsage();
+            //CheckEthernetUsage();
             for (byte _index = 0; _index < ShmSysConfigAndInfo->SysConfig.TotalConnectorCount; _index++)
             {
                 if (chargingInfo[_index]->SystemStatus == S_CHARGING)