[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] [Douglas Geiger BBN 802.11b] Porting code on USR
Tiago Rogério Mück
Re: [Discuss-gnuradio] [Douglas Geiger BBN 802.11b] Porting code on USRP2 problems
Thu, 2 Apr 2009 18:23:02 -0300
I'm trying to port the tx code to the usrp2 based on Colby's branch and i'm having some problems. The program freezes when the 3rd packet is being sent.
The program uses a gr.message_source to buffer the packets and convert them into a data flow to the modulator, and the problem is that, for some reason, the data flow isn't flowing and the packets are accumulating in the msg_source. Since the msg_source's queue size is 2, the method to add the 3rd packet to the queue blocks because the queue is full.
I didn't figured out whats the problem with my code. The bbn80211b_test.py woks, so the problem is probably related to the connection of the modulator block with the usrp2 sink or to the configuration of the usrp2.
I'm sending the files i have modified.
2009/3/31 Colby Boyer <address@hidden>
I created a branch on the cgran server for the usrp2 code. If anyone is interested in still using the usrp with the hier_block2, just dont use the rx/tx.py files. The rest of the files should work with the usrp1.
On Mon, Mar 30, 2009 at 3:58 PM, George Nychis <address@hidden>
CGRAN's trac has a core dumping issue that I still have not figured out how to address yet. So, if you're using the wiki and get blank pages or a 500 internal server error, sorry. I've been trying to sort it out, but no luck yet:
It should not affect the svn server though.
2009/3/30 Colby Boyer <address@hidden>
The cgran server seems to be down. I'll let you know when I am able to get an account.
On Mon, Mar 30, 2009 at 8:36 AM, Colby Boyer <address@hidden>
Sure. I will try to get a cgran account and upload my code to their SVN. It would then be easy to see the changes I made.
On Mon, Mar 30, 2009 at 2:21 AM, Costantini, Andrea <address@hidden>
I am glad that I am not the only one trying to port the code.
I guess you are in a more advanced state. I wasn't even able to run the test.py. ;-)
Would you like to share your modified code (even if it is not finished)? so that I try to understand your modifications.
P.S. For the USRP2 api, I usually compare the USRP2 and USRP swig code (e.g. usrp2.py and usrp_swig.py).
Colby Boyer wrote:
I am also working to port the 802.11b code to the USRP2. I have finished converting the code to hier_block2, and the bbn_80211b_test.py script works correctly and it can send packets in simulation. I am currently working on modifying the rx, and tx files to connect to the USRP2, but been struggling to make progress. I have not had much luck finding any documentation for the USRP2 function calls, so I am sorta lost on what to change in rx, tx and tx transmit path files. Does anyone have any links to the usrp2 api?
I would be more than happy to share the modifications I made (built largly upon Douglas's work) with rest of the GNU radio community.
Discuss-gnuradio mailing list
Description: Text Data
Description: Text Data
- Re: [Discuss-gnuradio] [Douglas Geiger BBN 802.11b] Porting code on USRP2 problems,
Tiago Rogério Mück <=