[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to simultaneously tx/rx on usrp with OFDM?
From: |
Mattias Kjellsson |
Subject: |
Re: [Discuss-gnuradio] How to simultaneously tx/rx on usrp with OFDM? |
Date: |
Tue, 11 Aug 2009 17:37:40 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090608) |
> There are several problems I am facing now(sorry, I am not a good programmer,
> maybe they are silly questions):
> 1. I am trying to use different threads to receive packets and transmit
> packets. Although I used "global killed" and "sys.exit(1)" to make sure
> threads exit when Ctrl-C pressed, it won't abort to the command line.
>
> 2. As I said I need to combine received packets and locally generated packets
> at transmitting, but I didn't figure out how to achieve that. I am thinking
> of
> make a global variable payload_all[], and just throw every packets into it,
> then use send_pkts to transmit the payload while receiving packets from
> others
> in another thread. Is that possible?
>
> 3. The blocks transmit_path and receive_path I think are both having only 1
> connector in the graph. Is there any easy way to connect these two parts? Or
> is there any other blocks that I can use to make this kind of connection?
>
> Any related suggestion will be appreciated.
>
Hi,
Have you had a look at gr_message_sink/source? I think they might be a
good substitute to the global "payload_all[]".
Just my uninitialized and very quick thoughts...
BR
//Mattias