yincheng.zhong
2023-03-02 0a7ffb3c159918e1df3e0a2ab59c48e00cc48272
源码/核心板/Src/application/serial_at_cmd_app.h
@@ -4,9 +4,17 @@
#include "stm32f10x.h"
#define MAX_FRAME_LEN      50
#define MAX_FRAME_LEN      55
#define PWTAG_MAXGROUPNUM  20
#define MAX_REGTAGNUM  10
struct tagpos_structure
{
    uint16_t tagid;
     uint8_t datalen,data[MAX_FRAME_LEN];
};
extern struct tagpos_structure tagpos[30];
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;