From d97b9d1feb9f59b7b5508fe2d0fb2c94767204a2 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期一, 21 九月 2020 12:23:25 +0800 Subject: [PATCH] 增加批量修改标签参数功能 --- 源码/核心板/Src/application/serial_at_cmd_app.h | 10 +++++++--- 1 files changed, 7 insertions(+), 3 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 83635fd..c9fed24 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" @@ -5,9 +5,13 @@ #include "stm32f10x.h" #define MAX_FRAME_LEN 50 - +#define PWTAG_MAXGROUPNUM 20 void UsartParseDataHandler(uint8_t data); - - +struct pwtag_structure +{ + uint8_t groupnum,remain_time,index; + uint16_t groupid[PWTAG_MAXGROUPNUM][2],group_interval[PWTAG_MAXGROUPNUM]; +} ; +extern struct pwtag_structure pwtag; #endif -- Gitblit v1.9.3