From a14e9f3212743f0cc688099fd3d21636eade089d Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期四, 02 三月 2023 15:17:28 +0800 Subject: [PATCH] 1 --- 源码/核心板/Src/application/serial_at_cmd_app.h | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 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 c9fed24..bd89a48 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,12 +6,21 @@ #define MAX_FRAME_LEN 50 #define PWTAG_MAXGROUPNUM 20 +#define MAX_REGTAGNUM 10 void UsartParseDataHandler(uint8_t data); struct pwtag_structure { uint8_t groupnum,remain_time,index; uint16_t groupid[PWTAG_MAXGROUPNUM][2],group_interval[PWTAG_MAXGROUPNUM]; -} ; +}; +struct regtag_structure +{ + 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