Problem with the bbn code on GNU Radio

Hi,

I test the bbn 802.11 code, run the bbn_80211b_test.py

but error occur:

gr_fir_ccf: using SSE
Traceback (most recent call last):
File “./bbn_80211b_test.py”, line 122, in
main()
File “./bbn_80211b_test.py”, line 103, in main
fg = my_graph(rx_callback, options.spb, options.alpha, options.snr)
File “./bbn_80211b_test.py”, line 54, in init
gain=1)
File
“/home/pl506/gnuradio/adroitgrdevel/gr-bbn/src/examples/bbn_80211b_pkt.py”,
line 70, in init
self.xpsk_mod = bbn_80211b.bbn_80211b_mod(fg, *args, **kwargs)
File
“/home/pl506/gnuradio/adroitgrdevel/gr-bbn/src/examples/bbn_80211b.py”,
line
107, in init
gr.hier_block2.init(self, fg, self.scrambler, self.tx_filter)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/hier_block2.py”,
line 42, in init
self._hb = hier_block2_swig(name, input_signature, output_signature)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py”,
line 971, in hier_block2_swig
return _gnuradio_swig_py_runtime.hier_block2_swig(*args, **kwargs)

TypeError: in method ‘hier_block2_swig’, argument 1 of type ‘std::string
const’

Does anyone meet this problem? Thank you very much

Chen

I think this version of bbn that you have lots of errors in it. I too
faced
a lot and had to correct the code at many places. Try the other latest
versions. You can download them from the CGRAN website. Download
douggeiger
and the uspr versions. I personally installed the douggeiger version on
my
computer. I am not sending the link as the cgran’s website seems to be
down.
Google it and you will find it.

CGRAN is kind of up…

https://128.2.212.19/

our CS department got a new building, and our machines got re-assigned
IP addresses when the machines were moved. I’ve asked Eric to update
the DNS record for cgran.org, hopefully this goes through soon!

  • George

Thank you. I have downloaded the douggeiger branch of the bbn802.11, but
it still does not work on my gnuradio.

I change blks->blks2, Numeric->numpy,

flow_graph->top_block , that the error occur,

Then another error comes:

Traceback (most recent call last):
File “./bbn_80211b_test.py”, line 124, in
main()
File “./bbn_80211b_test.py”, line 105, in main

fg = my_graph(rx_callback, options.spb, options.alpha, options.snr)

File “./bbn_80211b_test.py”, line 56, in init
gain=1)
File “/home/pl506/bbn_80211/
douggeiger/src/examples/bbn_80211b_pkt.py”, line 68, in init
self.pkt_input = gr.message_source(gr.sizeof_char, msgq_limit)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_io.py”,
line 1099, in message_source
return _gnuradio_swig_py_io.message_source(*args)
NotImplementedError: Wrong number of arguments for overloaded function
‘message_source’.
Possible C/C++ prototypes are:
gr_make_message_source(size_t,int)
gr_make_message_source(size_t,gr_msg_queue_sptr)

Is this the bbn80211 code not compatible with the gnuradio? Thank you

George N. wrote:

CGRAN is kind of up…

https://128.2.212.19/

our CS department got a new building, and our machines got re-assigned
IP addresses when the machines were moved. I’ve asked Eric to update
the DNS record for cgran.org, hopefully this goes through soon!

  • George

Thank you. I have downloaded the douggeiger branch of the bbn802.11, but
it
still does not work on my gnuradio.

I change blks->blks2, Numeric->numpy,

flow_graph->top_block , that the error occur,

Then another error comes:

Traceback (most recent call last):
File “./bbn_80211b_test.py”, line 124, in
main()
File “./bbn_80211b_test.py”, line 105, in main
fg = my_graph(rx_callback, options.spb, options.alpha, options.snr)
File “./bbn_80211b_test.py”, line 56, in init
gain=1)
File
“/home/pl506/bbn_80211/douggeiger/src/examples/bbn_80211b_pkt.py”,
line 68, in init
self.pkt_input = gr.message_source(gr.sizeof_char, msgq_limit)
File
“/usr/local/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_io.py”,
line 1099, in message_source
return _gnuradio_swig_py_io.message_source(*args)
NotImplementedError: Wrong number of arguments for overloaded function
‘message_source’.
Possible C/C++ prototypes are:
gr_make_message_source(size_t,int)
gr_make_message_source(size_t,gr_msg_queue_sptr)

Is this the bbn80211 code not compatible with the gnuradio? Thank you

Chen