discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py
Date: Sat, 20 Jun 2009 22:47:12 -0400
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Jason Uher wrote:
would like to know where is this happening in the code? tb.wait() is called,
but i don't see the code in wait() function which actually senses if a
transmission is being carried out on the specified frequence or not? Can
someone please help me locate the transmission sensing code in
benchmark_rx.py?

tb.wait() only allows the previously defined flowgraphs to do their
work.  You need to look in the tx_path and rx_paths that are built
before tb.wait() is called

Jason

Yes.

In rx_path you will see the demod path. If you follow this down far enough, you'll come to the simple framer block. This pulls in bits and correlates it against the known access code. If the correlation hits, it then goes through and packs together the frame. When the frame is built (it knows this because it gets the frame's length after the access code), it sends it as a message to the callback function defined. The callback function is located in benchmark_rx.

Hope that gets you going.

Tom





reply via email to

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