zhyinch
2022-05-12 97ae3565c364be9df5c9d15257461b981f077126
源码/核心板/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;