|
@@ -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
|