# Updated 802.11b code

**URL:** <https://www.ruby-forum.com/t/updated-802-11b-code/153490>\
**Category:** GNU Radio\
**Created:** [November 18, 2008, 12:10am UTC](https://www.ruby-forum.com/t/updated-802-11b-code/153490 "2008-11-18T00:10:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgalindo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@dgalindo](https://www.ruby-forum.com/u/dgalindo)\
**Post date:** [November 18, 2008, 12:10am UTC](https://www.ruby-forum.com/t/updated-802-11b-code/153490/1 "2008-11-18T00:10:55Z")

</div>

I’ve finally gotten back around to messing with the 802.11b code - and  
getting it working with hier\_block2. I seem to have gotten stuck with  
an error regarding insufficient output ports, and I’ve forgotten how I  
tracked down the source of this error before. So I’m attaching my  
current code, along with the error in hopes that someone can point me in  
the right direction:  
The error:  
sudo ./bbn\_80211b\_rx.py -f 2412e6 -d 4 -b -v  
Bits Per Encoded Sample = 8  
adc frequency = 64000000  
decimation frequency = 4  
input\_rate = 16000000  
gain = 45.0  
desired freq = 2412000000.0  
Samples per data bit = 8  
CRC Check is True  
Traceback (most recent call last):  
File “./bbn\_80211b\_rx.py”, line 182, in   
main ()  
File “./bbn\_80211b\_rx.py”, line 178, in main  
app.start()  
File  
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/top\_block.py”, line  
45, in start  
self.\_tb.start()  
File  
“/usr/local/lib/python2.5/site-packages/gnuradio/gr/gnuradio\_swig\_py\_runtime.py”,  
line 1461, in start  
return \_gnuradio\_swig\_py\_runtime.gr\_top\_block\_sptr\_start(\*args)  
RuntimeError: bbn\_dpsk\_demod\_cb(5): insufficient connected output ports  
(1 needed, 0 connected)

My version of bbn\_80211b.py is attached, and it uses the UofUtah/SPAN  
firmware to do the despreading in the FPGA (bbn\_80211b\_rx.py is  
essentially unchanged except to use hier\_block2 and gr.topblock).

Any help is appreciated,  
Doug

–  
Doug G.  
Research Assistant  
Communications and Signal Processing Lab  
Oklahoma State University  
[http://cspl.okstate.edu](http://cspl.okstate.edu)  
removed\_email\_address@domain.invalid  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![dgalindo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b38774/32.png) [@dgalindo](https://www.ruby-forum.com/u/dgalindo)\
**Post date:** [November 18, 2008, 1:26am UTC](https://www.ruby-forum.com/t/updated-802-11b-code/153490/2 "2008-11-18T01:26:25Z")

</div>

Douglas G. wrote:

> I’ve finally gotten back around to messing with the 802.11b code - and  
> getting it working with hier\_block2. I seem to have gotten stuck with  
> an error regarding insufficient output ports, and I’ve forgotten how I  
> tracked down the source of this error before. So I’m attaching my  
> current code, along with the error in hopes that someone can point me in  
> the right direction:

Hi all,

Side note, but I added the BBN code to CGRAN if people want to register  
accounts and update the code in a shared repository there. The changes  
can then be pushed in to the GNU Radio repository if the powers to be  
want the code merged in there.

- George
