I would like to send a MAC layer control packet every 4 ms from computer
to computer B to tell B when to send data using USRP and GNU Radio. It
like TDMA and a frame is 4 ms. I am trying to do this work by modifying
tunnel.py in the gnuradio-example folder. I removed the carry sensing
and added the control packet in the tunnel.py.
I enabled the real-time scheduling. I set nice= -18, fusb_block_size =
fusb_nblocks = 2, modulation=gmsk, and bitrate =1Mb/sec.
CPU: 2.8 GHz
Gnuradio: (latest development code 3.2.X)
I used two computers and ran the modified tunnel.py on each computer.
the test, in the main_loop (main loop for MAC) of tunnel.py I generated
byte payload ( I sent the one byte payload chr(0x00) for 10 times) to
the tx time on one computer and rx time on anther computer. I used
to make two computers have the same system time. The tx time (at
â€“ rx time (at computer B) of the payload is about 5ms. I am wondering
takes so long to send one byte payload and to decode the one byte
Through the test, I think I cannot implement a TDMA that a frame is 4
have tried what I can do to reduce the (tx time â€“ rx time) value.
no luck. Could anyone please give me some hints? Should I just give up
way and try to use the in-band singalling? Any suggestions will be