From a89755d21f5c57d4f5b96fee03eab246995df341 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期四, 10 二月 2022 15:02:13 +0800 Subject: [PATCH] V2.46 修改丢包问题 --- 源码/核心板/Src/application/serial_at_cmd_app.h | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 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 55ce788..c942256 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" @@ -6,7 +6,15 @@ #define MAX_FRAME_LEN 50 #define PWTAG_MAXGROUPNUM 20 -#define MAX_REGTAGNUM 10 +#define MAX_REGTAGNUM 100 +struct tagpos_structure +{ + + uint16_t tagid,baoxu; + int32_t pos[3]; + +}; +extern struct tagpos_structure tagpos[50]; void UsartParseDataHandler(uint8_t data); struct pwtag_structure { @@ -21,5 +29,6 @@ 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 -- Gitblit v1.9.3