chen
2024-12-16 e9628df331488a100bb4134469a3a0ce7f321625
keil/uwb_app.c
@@ -312,9 +312,9 @@
                 temp_count= phy_timer_count_get();
        memcpy(&rx_rpt, rx_report, sizeof(struct MAC_HW_REPORT_T));
        rx_length = 0;
            OpenUWB();//再次开启UWB接收
    }
   OpenUWB();//再次开启UWB接收
   //OpenUWB();//再次开启UWB接收
}
/* TX done process handler. */
@@ -329,6 +329,7 @@
        temp_count= phy_timer_count_get();
        temp_internal=temp_count;
        resp_tx_num++;
            OpenUWB();//再次开启UWB接收
        //LOG_INFO(TRACE_MODULE_APP, "poll_rx_num is %d,resp_tx_num is %d\r\n",poll_rx_num,resp_tx_num);
    }
}
@@ -628,7 +629,10 @@
                seize_anchor=1;   //抢占anchor
                Anchor_RecNearPoll(i);
            }
            }else{
            OpenUWB();//接收到不是自己的包再次开启UWB接收
            }
}
int UwbRange(void)
{