| | |
| | | |
| | | #define MAX_FRAME_LEN 50 |
| | | #define PWTAG_MAXGROUPNUM 20 |
| | | #define MAX_REGTAGNUM 100 |
| | | 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 |
| | | |