From 974181bcefe299fbed4c1dcd6d39be3e9f674c0e Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期五, 13 六月 2025 18:04:16 +0800
Subject: [PATCH] 成功增加sscom03shell配置指令功能,但是需要输入3次才能进入函数处理未解决

---
 keil/include/drivers/global_param.h |   42 ++++++++++++++++++++++++++++++++++--------
 1 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h
index 3c8d5fa..5f6c0ec 100644
--- a/keil/include/drivers/global_param.h
+++ b/keil/include/drivers/global_param.h
@@ -28,17 +28,25 @@
 #define		PAIR_ID							0xD		//小于多少距离报警
 
 #define		HEARTBEAT       		0xE
-#define     SEND_4G_SECOND  0xE		//4G上报频率
+
 #define		MODBUS_MODE		   		0xF
 #define 	QUIT_SLOT_TIME          10
 
 #define    MOTOR_ONTIME_INDEX                0x10
 
-#define     TCP_IP_0                        0x11
-#define     TCP_IP_1                        0x12
-#define     TCP_IP_2                        0x13
-#define     TCP_IP_3                        0x14
-#define     TCP_PORT                        ALARM_DISTANCE3
+//#define     TCP_IP_0                        0x11
+//#define     TCP_IP_1                        0x12
+//#define     TCP_IP_2                        0x13
+//#define     TCP_IP_3                        0x14
+//#define     TCP_PORT                        ALARM_DISTANCE3
+//yuan
+
+//#define     TCP_IP_0                        0x39
+//#define     TCP_IP_1                        0x3a
+//#define     TCP_IP_2                        0x3b
+//#define     TCP_IP_3                        0x3c
+#define     TCP_PORT                        0x3d
+
 
 #define      NEARBASE_ID1                    0x11
 #define      NEARBASE_ID2                    0x12
@@ -53,12 +61,16 @@
 #define      LOG_4G_ENABLE                   0x19
 #define      NEARBASE_ID10                   0x1a
 
-#define 	POWER           		0x1B
-#define		IMU_THRES				   	0x1C
+
+#define     SEND_4G_SECOND  								 0x1B		//4G上报频率
+#define 		POWER           		0x1B
+#define			IMU_THRES				   	0x1C
 #define     NOMOVESLEEP_TIME    0x1D
 #define     MOTOR_ENABLE        0x1E
 #define     IMU_ENABLE          0x1F
 #define 	REMOTEPARA_STATE  	0x20
+#define   GPS_REFRESH_WAIT_COUNT					 0x20
+
 #define 	IMU_DUARTION			 	0x21
 #define 	ACTIVE_INDEX 				0x22
 #define 	UWB_ACTIVE_FLAG_IDX 				0x23
@@ -70,6 +82,20 @@
 
 
 
+#define     IP_0                        0x33
+#define     IP_1                        0x34
+#define     IP_2                        0x35
+#define     IP_3                        0x36
+#define     PORT                        0x37
+#define     GPS_HZ                      0x38
+
+#define     QXWZ_APPKEY_INDEX       0x100
+#define     QXWZ_APPSECRET_INDEX    0x110
+#define     QXWZ_DEVTYPE_INDEX      0x120
+#define     QXWZ_DEVID_INDEX        0x130
+
+
+
 /*------------END Map Definition-------------------*/
 
 

--
Gitblit v1.9.3