From 43d055054fc3eee6d0c63f429a14ce74712626c1 Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期四, 22 五月 2025 18:08:48 +0800
Subject: [PATCH] 初步写好MK与蓝牙的传输交互函数未测试

---
 keil/include/drivers/global_param.h |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/keil/include/drivers/global_param.h b/keil/include/drivers/global_param.h
index 87b4b75..fc22ed5 100644
--- a/keil/include/drivers/global_param.h
+++ b/keil/include/drivers/global_param.h
@@ -17,6 +17,7 @@
 #define 	MAX_REPORT_ANC_NUM		0x4		//单次通讯基站上限
 #define 	GROUP_ID		0x5		//单次通讯基站下限
 #define 	DIST_OFFSET						0x6	
+#define		LORA_POWER				  0x6
 #define 	DEV_ROLE							0x7		//该设备是anchor还是tag	
 #define 	ANC_POLL							0x8		//基站主动测距
 
@@ -30,6 +31,13 @@
 
 #define      MOTOR_ONTIME_INDEX                    0x10
 #define 	 MOTORBEEPER_INDEX 				    0x11
+
+#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      NEARBASE_ID1                    0x11
 #define      NEARBASE_ID2                    0x12
 #define      NEARBASE_ID3                    0x13
@@ -39,6 +47,7 @@
 #define      NEARBASE_ID7                    0x17
 #define      NEARBASE_ID8                    0x18
 #define      NEARBASE_ID9                    0x19
+#define      LOG_4G_ENABLE                   0x19
 #define      NEARBASE_ID10                   0x1a
 
 #define 	POWER           		0x1B

--
Gitblit v1.9.3