From 6ffdec7d475d885ecefbc2e9683ed6cedd6686f1 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期三, 20 四月 2022 15:01:57 +0800 Subject: [PATCH] 1 --- 源码/核心板/Src/application/serial_at_cmd_app.h | 12 ++++++++++-- 1 files changed, 10 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 a27c273..c18b902 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,15 @@ #define MAX_FRAME_LEN 50 #define PWTAG_MAXGROUPNUM 20 -#define MAX_REGTAGNUM 100 +#define MAX_REGTAGNUM 10 +struct tagpos_structure +{ + + uint16_t tagid; + uint8_t datalen,data[30]; + +}; +extern struct tagpos_structure tagpos[10]; void UsartParseDataHandler(uint8_t data); struct pwtag_structure { @@ -15,7 +23,7 @@ }; struct regtag_structure { - uint8_t index,remain_time[PWTAG_MAXGROUPNUM]; + uint8_t index,remain_time[MAX_REGTAGNUM]; uint16_t tagid[MAX_REGTAGNUM],tag_frequency[MAX_REGTAGNUM],tag_slotpos[MAX_REGTAGNUM]; }; extern struct regtag_structure regtag_map; -- Gitblit v1.9.3