discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] problem with carrier sense in USRP


From: adib_sairi
Subject: Re: [Discuss-gnuradio] problem with carrier sense in USRP
Date: Thu, 1 Jan 2009 20:28:24 -0800 (PST)

hi,
  i also try to search for send_pkt() function..could any one tell me where
to find this function in GNU radio package? i think it is on C++ code isn't
it?but when i search in the CLASS list on
http://gnuradio.org/trac/browser/gnuradio/trunk i couldn't find any..or
maybe i miss it? please help me.. thank you.

adib sairi


Hi,
I am testing the carrier sense mechanism on USRP based on code from
benchmark_tx.py and tunnel.py. My scenario is to receive packets from two
distinctive nodes simultaneously at the third node. I am prefixing the
payload with sender node name to identify the sender.

When I am trying to send the packets from two nodes simultaneously, the
packets are still colliding, though I have incorporated carrier sense
mechanism in to my code. Please help me in this respect and if possible
suggest me a solution.

I think, packets are being sent by the lower level C++ processing blocks and
send_pkt() just enqueues the packets. So rather than holding sending of
packet, this code is just holding the packet from getting enqueued in
message queue. Which is not really the holding of packet till carrier is
free. Once packets are in message queue, they are transmitted irrespective
of carrier availability. So there is still possibility of packet collision.
Am I correct in my understanding of this real-time scenario?


-- 
View this message in context: 
http://www.nabble.com/problem-with-carrier-sense-in-USRP-tp20492283p21247975.html
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]