I would like to know the best way to test the benchmark_tx.py and
These files are located in the /usr/share/gnuradio/examples/digital/ofdm
My goal is to transmit a jpg file from one USRP 2 device to another one
and have the jpg file saved on the host computer.
I am using Ubuntu 14.02 with GNUradio.
I run this command on the transmitter:
sudo ./benchmark_tx.py --from-file=F.jpg -f 2.4e6 -m qpsk -a
F.jpg is saved in the /usr/share/gnuradio/examples/digital/ofdm
I also edited line 105 of the benchmark_tx.py from:
data = source_file.read(pkt_size - 2)
data = open(‘F.jpg’).read()
At the receiver I run the following:
sudo ./benchmark_rx.py -A RX2 -f 2.4G -m qpsk -a addr=192.168.10.2
At then run a packet capture
on the host computer that is connected to the receiving USRP and I see
that there are many packets being received, but I never see the file.
Each USRP is connect to a separate computer running Ubuntu. The USRP
devices have the default IP on them of 192.168.10.2
Can someone please tell me the best way to run the benchmark code? Do I
need to do some synchronization? If so how?