| | |
| | | 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) |
| | | { |
| | |
| | | } |
| | | 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; |