discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-ieee-80211: UDP Warning and another error


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] gr-ieee-80211: UDP Warning and another error
Date: Thu, 27 Jun 2019 13:31:16 -0400
User-agent: Cyrus-JMAP/3.1.6-730-g63f2c3b-fmstable-20190622v1

Hmmm ... well the current UHD API for "set_auto_dc_offset" is "(bool, size_t)". Looks like the generated Python from gr-ieee-80211 is "set_auto_dc_offset("", 0)", which isn't compatible with the current UHD API for this method.

Hmmm ... here's my best bet: gr-ieee802-11 uses the GR-provided GRC blocks (whether XML or YML). Guessing you're using some reasonably recently (e.g., 2019) GR 3.8-tech-preview commit. If that's the case, then here's what seems to be the issue ... In this commit https://github.com/gnuradio/gnuradio/commit/4804d1fdb6950d2b2ec5707cd8a362f01ed2cf90 >, then file "gr-uhd/grc/gen_uhd_usrp_blocks.py" was dramatically changed to generate the YML required by the 3.8 GRC. The API for "set_auto_dc_offset" was removed entirely ... not sure why ... but somehow GRC when "compiling" the flowgraph from YML into Python generates that command improperly.

You said you used PyBOMBS to install everything ... yes? The UHD is the current GIT master, so bleeding edge LOL.

Any way you can figure out which commit of GNU Radio and gr-ieee-80211 were used? The latter was recently updated such that the GIT master corresponds to GR 3.8, while "main-3.7" is for the current GR "maint-3.7" branch ... - MLD

On Thu, Jun 27, 2019, at 12:59 PM, sumit kumar wrote:
Sure I will try that, meanwhile any tip on the other issue, i.e., 

TypeError: in method 'usrp_source_sptr_set_auto_dc_offset', argument 2 of type 'bool'

Regards
Sumit 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]