From cfa98f1edb2bb2d95b7323f7c5e7637f91aa4d66 Mon Sep 17 00:00:00 2001
From: zhyinch <zhyinch@gmail.com>
Date: 星期四, 29 四月 2021 10:13:23 +0800
Subject: [PATCH] 青岛第一次测试,有bug

---
 Src/application/dw_app.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Src/application/dw_app.h b/Src/application/dw_app.h
index b137eee..1576820 100644
--- a/Src/application/dw_app.h
+++ b/Src/application/dw_app.h
@@ -42,6 +42,7 @@
 #define NEAR_POLL   					0x06
 #define NEAR_RESPONSE   			0x07
 #define NEAR_FINAL   					0x08
+#define SPOLL     							0x09
 
 #define REG_POLL   						0x10   //
 #define REG_RESPONSE   				0x11   //
@@ -62,7 +63,8 @@
 #define ANCTIMEUS             16
 #define TAGSLOTPOS						7
 #define MOTORSTATE_INDEX      19
-#define REMOTEPARA_INDEX      20
+#define NR_NEARSWITCH_DISTANCE 20
+#define REMOTEPARA_INDEX      22
 //Final
 #define TAGCONFIGSUCCESS_INDEX 7
 #define FINAL_MSG_POLL_TX_TS_IDX 10
@@ -96,6 +98,7 @@
 #define SEQUENCE_IDX					3
 #define BATTARY_IDX						4
 #define BUTTON_IDX						7
+#define SEQUENCEH_IDX					8
 
 #define DW_CTRL_GPIO					GPIOA
 #define DW_ENABLE   HAL_GPIO_WritePin(DW_CTRL_GPIO, DW_CTRL_Pin, GPIO_PIN_RESET)

--
Gitblit v1.9.3