切换目录
bash
cd /usr/local/lib/uhd/examples
发射
bash
./benchmark_rate \
--args "addr=192.168.10.2,master_clock_rate=245.76e6" \
--tx_rate 30.72e6 \
--duration 60 \
--channels 0 \
--ref internal \
--pps internal \
--priority high
接收
bash
./benchmark_rate \
--args "addr=192.168.10.2,master_clock_rate=245.76e6" \
--rx_rate 30.72e6 \
--duration 120 \
--channels 0 \
--ref internal \
--pps internal \
--priority high \
--rx_spb 15360 \
--rx_spp 15360
收发测速
bash
./benchmark_rate \
--args "addr=192.168.10.2,master_clock_rate=245.76e6" \
--rx_rate 30.72e6 \
--tx_rate 30.72e6 \
--duration 60 \
--channels 0 \
--ref internal \
--pps internal \
--priority high