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
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio