yincheng.zhong
2024-03-26 fc785f07b58e88a15cabddef20ba9cfb2d0507c3
Src/application/dw_mbx_tag.c
@@ -291,7 +291,7 @@
uint16_t heatbeat_count = HEATBEAT_UPDATE_TIME-10;
int16_t intheight;
#define LORA_REPORT_MAXANC_NUM  7
u8 tarray[20]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
u8 tarray[20]={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20},test_num;
extern float Height;
void LoraReportPoll(void)
{
@@ -327,6 +327,7 @@
    }
    if(report_ancnum>LORA_REPORT_MAXANC_NUM)    //考虑lora传输时间,最多发送10个基站数据。
        report_ancnum = LORA_REPORT_MAXANC_NUM;
#ifdef USE_GPS
    lora_sendbuffer[MSG_TYPE_IDX] = LORA_MSGTYPE_TAGMSGTOWG_GPS;
    lora_sendbuffer[MSG_LENGTH] = 4*report_ancnum+ANCID_IDX;