Prechádzať zdrojové kódy

[Improve] [Modularization] [Module_4g.c]
2023-03-06 / EASON YANG
Action:
1. Improve: Reduce the request frequency to every two minutes, when 4g module is connected to the internet.

File:
1. Module_4g
Action 1

FIRMWARE VERSION FOR 4G MODULE: V0.18

8009 2 rokov pred
rodič
commit
5cd7cb31da
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 4 4
      EVSE/Modularization/Module_4g.c

+ 4 - 4
EVSE/Modularization/Module_4g.c

@@ -2,9 +2,9 @@
  *  Module_4g.c
  *
  *  Created on: 2019-11-29
- *  Update on: 2023-02-01
+ *  Update on: 2023-03-06
  *  Author: Eason Yang / Folus Wen
- *  Version: V0.17
+ *  Version: V0.18
  */
 
 #include    <sys/types.h>
@@ -86,7 +86,7 @@ enum NETWORK_MODE
 #define CheckSimInterval			30 	// Seconds
 #define CheckModemInfoInterval		30	// Seconds
 #define CheckConnectionInterval		60 	// Seconds
-#define CheckInternetInterval		30	// Seconds
+#define CheckInternetInterval		120	// Seconds
 #define DisconnInterval				60 	// Seconds
 
 // Define Telecom mode
@@ -112,7 +112,7 @@ void substr(char *dest, const char* src, unsigned int start, unsigned int cnt);
 
 char *portName[3] 				= {"/dev/ttyUSB2", "/dev/ttyACM2", "/dev/ttyACM2"};
 char *valid_Internet[2] 		= {"8.8.8.8", "180.76.76.76"};
-char *Version_And_Date[2]		= {"V0.17","2023-02-01"};
+char *Version_And_Date[2]		= {"V0.18","2023-03-06"};
 pid_t	pid;
 
 struct dongle_info