Thanks for your reading in advance.
I met a problem when I attempt to use USRP as a transciever node.
I try to realize a transceiver by constructing two python threadings,
“sender” and the other one is “listener”.
The sender is responsible for sending packets to USRP for transmission
the air, after ensuring the medium is idle.
The listener is to receive packets from USRP.
However, when “the sender” tried to run continuous “carrier sense” until
busy medium becomes idle, I discovered that the “listener” couldn’t work
receive the packets that should arrive during the period of carrier
In the meanwhile, the listener was not conscious of any packet arrival,
My preliminary conjecture is the “sender” occupies all of the resources,
the listener is unable to perform packet reception.
p.s. My pseudo code to implement continuous carrier sense:
print “carrier sensed”
sleep for a period of time, “DIFS”
From the condition I described above, I want to ask:
- I guess the problem results from a bad scheduling between listener
sender threadings. Is there any other possibility to cause the problem ?
yes, what is it?
- Does anyone know some other way to implement a transceiver on USRP?
yes, please briefly describe it.
My operation environments:
- Ubuntu 9.04
- Gnuradio 3.2.0
- USRP1 + XCVR2450
Thank you again!