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

2009-07-15 Thread ali siddiqi
Hi, I am working on a cognitive radio system. the transmitter side senses the spectrum and then transmits on a carrier frequency which it finds free. The receiver should be kept synchronized with the transmitter. The transmitter is for now tx_voice.py and receiver is rx_voice.py. *Assumptions:* Th

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

2009-06-26 Thread Jason Uher
> I tried to locate the simple framer, but not able to find it. Greping for it > takes me to the c code of gr_simple_framer but I am not able to make much > sense of it. Can you please elaborate a bit more...? Where does the > correlations takes place within the python code. The framer sink is a b

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

2009-06-26 Thread ali siddiqi
> 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 buil

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

2009-06-20 Thread Tom Rondeau
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 cod

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

2009-06-20 Thread Jason Uher
> 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 > bench

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

2009-06-20 Thread ali siddiqi
On Sat, Jun 20, 2009 at 2:42 PM, ali siddiqi wrote: > > > On Thu, Jun 18, 2009 at 6:29 PM, Tom Rondeau wrote: > >> >> The first thing that comes to mind is to use threads and a join with a >> timeout or a condition with a wait or a timer object. >> See: http://docs.python.org/library/threading.ht

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

2009-06-20 Thread ali siddiqi
On Thu, Jun 18, 2009 at 6:29 PM, Tom Rondeau wrote: > > The first thing that comes to mind is to use threads and a join with a > timeout or a condition with a wait or a timer object. > See: http://docs.python.org/library/threading.html > > You would implement this in benchmark_rx.py. > > Tom > B

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

2009-06-18 Thread Tom Rondeau
On Thu, Jun 18, 2009 at 12:50 AM, ali siddiqi wrote: > Hi, > > As far as I could understand, rx_callback  function in benchmark_rx.py > executes only when a packet is received. > If the tranmitted freq is 460e6 while the reciever is set at 459e6, no > packet would be received. I want this 'no packe

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

2009-06-17 Thread ali siddiqi
Hi, As far as I could understand, rx_callback function in benchmark_rx.py executes only when a packet is received. If the tranmitted freq is 460e6 while the reciever is set at 459e6, no packet would be received. I want this 'no packet being received for a certain amount of time' as an indication