* gnuradio/wip/udp_source_sink:
gnuradio-core: update copyrights
gnuradio-core: allow swig to handle exceptions in UDP source/sink
grc: update UDP source and sink block wrappers
Simplify USE_SELECT usage
Return immediately when using d_residual.
Defend against a peer that sends an invalid message length.
Move initialization of select timeout
Correct update of d_temp_offset (parallel construction)
Identify memory leaks that occur on error conditions
Use -1 as file descriptor "not open" value instead of 0
Add additional conditionalization of networking includes
Flush pending errors in gr_udp_sink on disconnect()
Rework UDP source and sink, with incompatible API changes
Updates to udp source/sink (select(), wait, cleanup)
Discard data in gr_udp_sink until receiver is started.
Use getaddrinfo in gr_udp_{source,sink}
Changes to gr_udp_{source,sink} for MinGW
Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)
Johnathan Corgan [Tue, 18 May 2010 02:33:46 +0000 (19:33 -0700)]
Merge branch 'wip/burx_support'
* wip/burx_support:
-Updated to allow BURX support to be built into standard txrx.bin
Once and for all, here is the properly updated Makefile.am for the apps
Updated db_bitshark_rx.c to the proper version that includes the
Change default bandwidth to 25 MHz to match maximum USRP2 bandwidth
Update incorrectly checked in Makefile.am
usrp: Cleanup for merge of bitshark daughterboard code
Including bitshark_rx.h header file for USRP2 build
Fixed issue with with wrong Makefile.am files being copied
Add support for the Bitshark USRP RX (BURX) daughterboard for the USRP2.
Add support for the Bitshark USRP RX (BURX) daughterboard for the USRP1.
JohnOrlando [Mon, 17 May 2010 21:15:49 +0000 (16:15 -0500)]
-Updated to allow BURX support to be built into standard txrx.bin
image
-Also corrected db_bitshark_rx.c to the current version (previous
git push error) that includes the needed delays after I2C commands
Johnathan Corgan [Fri, 14 May 2010 17:31:19 +0000 (10:31 -0700)]
Merge remote branch 'bitshark/burx_support' into wip/burx_support
* bitshark/burx_support:
Once and for all, here is the properly updated Makefile.am for the apps
Updated db_bitshark_rx.c to the proper version that includes the
Johnathan Corgan [Fri, 14 May 2010 02:20:27 +0000 (19:20 -0700)]
build: force use of ltmain.sh from libtool 2.2.6b
Don Ward:
"The supplied version of ltmain.sh does not handle interlibrary
dependencies on Windows. I have attached a diff file showing
the slight differences between the ltmain.sh in the tarball
(2.2.6b Debian-2.2.6b-2ubuntu1, which fails) and the ltmain.sh
downloaded from packages.debian.org (plain 2.26b). It looks
like it was broken in Ubuntu 2.2.6a-3 (change log says "Don't
pull in depedency libs when linking a binary"). GNU Radio builds
ok if I run ./bootstrap locally."
JMC: This file (ltmain.sh) has not previously been under version
control and would be copied over (or symlinked) by the bootstrap
process. With a version now in the repository, we'll need to
ensure it stays fresh, likely at the same time we check for
updated config.guess and config.sub files.
Johnathan Corgan [Fri, 14 May 2010 02:10:44 +0000 (19:10 -0700)]
gnuradio-core: Disable (temporarily) interpolator tap calculation
There is some breakage with GR_FORTRAN / AC_PROG_F77 when running
bootstrap. The gen_interpolator_taps binary is only needed to
regenerate the MMSE interpolator taps, which hasn't been done for
several years. Disable this until proper fix can be done.
JohnOrlando [Thu, 13 May 2010 23:03:13 +0000 (18:03 -0500)]
Updated db_bitshark_rx.c to the proper version that includes the
delays when sending back-to-back I2C commands, as well as the proper
command when setting the bw (previous blunder with git resulted in
the wrong version on this branch)
Johnathan Corgan [Wed, 12 May 2010 01:00:19 +0000 (18:00 -0700)]
Merge branch 'master' into wip/burx_support
* master: (39 commits)
Add gru.hexshort to deal with short hex constants
Assign USB PID for Hans de Bok
Add missing buffer allocator hint to gr_ofdm_sampler.cc
Really fix the missing include for boost::bind
gr-wxgui: Added additional color table entries
Missed updates for omnithread/mblock removal
Remove omnithreads library.
Remove mblock library. We hardly knew 'ye.
Convert gr-audio-portaudio to Boost via gruel
Further updates for removing omnithreads
Update build configuration for OSX omnithreads changeover
Add missing include file for boost::bind
Convert gcell to use boost::threads instead of omnithread.
Fix sequence error indication after stopping then restarting streaming on USRP2.
initial move from mld_threads to gruel:: namespace threads and such
Initial changes to remove mld_thread and instead use gruel:: namespace classes
Fixing doxygen warnings from arb_resampler. Also, removed set_taps from public
Fixing doxygen warnings from channelizer block.
Fixing documentation to get rid of doxygen warnings.
Adding documentation for fff version of othe PFB clock sync algorithm.
...
Don Ward [Thu, 6 May 2010 14:02:35 +0000 (10:02 -0400)]
Flush pending errors in gr_udp_sink on disconnect()
On some systems (e.g., Debian/lenny) UDP errors are reported on the
following send() or recv() call. To avoid having errors (such as
ECONNREFUSED) from an old connection showing up on the first write
to a new connection, we do a recv() on disconnect() to flush them.
This may not work for all errors on all systems, but it works in
some simple cases of interest.
Don Ward [Tue, 4 May 2010 16:41:52 +0000 (12:41 -0400)]
Rework UDP source and sink, with incompatible API changes
Remove source address specifications for sink; add connect() and
disconnect() to sink; add get_port() to source; add optional EOF
signaling (using zero-length packets) to sink and source; modify
dial_tone, vector, and audio examples to match new code; add qa
test case.
Tom Rondeau [Sun, 2 May 2010 19:00:02 +0000 (15:00 -0400)]
Fixes segfault on close. Using the right objective (d_main_gui) instead of d_object to delete all of the plotting widgets. As far as Valgrind tells me, this cleans up my memory leaks although libqt and libqwt still have some of their own.
This checkin also disables the Waterfall3D plotting. It wasn't working anyway, but was also causing its own segfault upon deletion. Once it's working and deleting nicely, it will be re-enabled.
Tom Rondeau [Sat, 1 May 2010 23:06:13 +0000 (19:06 -0400)]
Fixes the replotting update. It's now based on a QTimer so it's in the event buffer as opposed to a best effort based on a hand-made timer. The interval between GUI updates is settable through the qtsink_X objects with set_update_time(newtime). This update makes the plotting much more stable. It also fixes the time scale of the waterfall plot to actually mean the right thing.
Eric Blossom [Sat, 1 May 2010 01:22:41 +0000 (18:22 -0700)]
Add missing buffer allocator hint to gr_ofdm_sampler.cc
This change was needed because gr_ofdm_sampler derives directly from
gr_block, but functions (from the runtime's point of view) as a
decimator. It takes many items in to produce a single output
item. Without this change, values of fft_size > ~4096 would result
in the scheduler complaining that it could never fullfil the block's
request for samples.
When deriving from gr_sync_interpolator or gr_sync_decimator, their
constructors set the hint automatically.
Tom Rondeau [Wed, 28 Apr 2010 02:05:15 +0000 (22:05 -0400)]
Adding the synthesis filterbank (the opposite of the channelizer). It's ugly right now and uses a lot of memory to handle the buffers for each filter/input stream.
* wip/remove-mld-threads:
Further updates for removing omnithreads
Update build configuration for OSX omnithreads changeover
initial move from mld_threads to gruel:: namespace threads and such
Initial changes to remove mld_thread and instead use gruel:: namespace classes
Tom Rondeau [Sun, 18 Apr 2010 21:51:43 +0000 (17:51 -0400)]
Fixing doxygen warnings from arb_resampler. Also, removed set_taps from public
interface since we don't _really_ suppor this right now. Renamed it and made it private.