From 9c28e7574073507108daa81009443bd4963ca380 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期五, 03 十二月 2021 15:04:00 +0800 Subject: [PATCH] 修改注册标签记录容量 --- 源码/核心板/Src/application/serial_at_cmd_app.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.h" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.h" index 2419b40..a27c273 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.h" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/application/serial_at_cmd_app.h" @@ -6,7 +6,7 @@ #define MAX_FRAME_LEN 50 #define PWTAG_MAXGROUPNUM 20 -#define MAX_REGTAGNUM 10 +#define MAX_REGTAGNUM 100 void UsartParseDataHandler(uint8_t data); struct pwtag_structure { @@ -15,11 +15,12 @@ }; struct regtag_structure { - uint8_t index; + uint8_t index,remain_time[PWTAG_MAXGROUPNUM]; uint16_t tagid[MAX_REGTAGNUM],tag_frequency[MAX_REGTAGNUM],tag_slotpos[MAX_REGTAGNUM]; }; extern struct regtag_structure regtag_map; extern struct pwtag_structure pwtag; void SendComMap(uint8_t data_length, uint8_t index); +void SendAnchorState(uint16_t state); #endif -- Gitblit v1.9.3