| | |
| | | #define MAX_FRAME_LEN 50 |
| | | #define PWTAG_MAXGROUPNUM 20 |
| | | #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 |
| | | { |
| | |
| | | }; |
| | | 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; |
| | | extern struct pwtag_structure pwtag; |
| | | void SendComMap(uint8_t data_length, uint8_t index); |
| | | void SendAnchorState(uint16_t state); |
| | | #endif |
| | | |