commit soapy-uhd for openSUSE:Factory
Hello community, here is the log from the commit of package soapy-uhd for openSUSE:Factory checked in at 2020-09-27 11:48:44 Comparing /work/SRC/openSUSE:Factory/soapy-uhd (Old) and /work/SRC/openSUSE:Factory/.soapy-uhd.new.4249 (New) Package is "soapy-uhd" Sun Sep 27 11:48:44 2020 rev:7 rq:835803 version:0.4.1 Changes: --- /work/SRC/openSUSE:Factory/soapy-uhd/soapy-uhd.changes 2019-06-27 15:26:33.909622790 +0200 +++ /work/SRC/openSUSE:Factory/.soapy-uhd.new.4249/soapy-uhd.changes 2020-09-27 11:48:45.375977499 +0200 @@ -1,0 +2,16 @@ +Mon Sep 21 08:29:11 UTC 2020 - Martin Hauke + +- Update to version 0.4.1 + * Fix for UHD_VERSION define and 4.0 release compilation +- Drop not longer needed patch: + * 0001-Fix-for-UHD_VERSION-check-for-4.0.patch (fixed by upstream) + +--- +Fri Sep 18 07:15:11 UTC 2020 - Martin Hauke + +- Update to version 0.4.0 + * Support for compilation with UHD 4.0 release +- Add patch: + * 0001-Fix-for-UHD_VERSION-check-for-4.0.patch + +--- Old: soapy-uhd-0.3.6.tar.gz New: soapy-uhd-0.4.1.tar.gz Other differences: -- ++ soapy-uhd.spec ++ --- /var/tmp/diff_new_pack.582YyO/_old 2020-09-27 11:48:47.055979309 +0200 +++ /var/tmp/diff_new_pack.582YyO/_new 2020-09-27 11:48:47.059979313 +0200 @@ -1,8 +1,8 @@ # # spec file for package soapy-uhd # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2017, Martin Hauke +# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2017-2020, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -13,19 +13,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define soapy_modver 0.7 %define soapy_modname soapysdr%{soapy_modver}-module-uhd Name: soapy-uhd -Version:0.3.6 +Version:0.4.1 Release:0 Summary:Soapy SDR plugins for UHD supported SDR devices -License:GPL-3.0 +License:GPL-3.0-only Group: Hardware/Other -Url:https://github.com/pothosware/SoapyUHD/wiki +URL:https://github.com/pothosware/SoapyUHD/wiki #Git-Clone: https://github.com/pothosware/SoapyUHD.git Source: https://github.com/pothosware/SoapyUHD/archive/%{name}-%{version}.tar.gz BuildRequires: cmake ++ soapy-uhd-0.3.6.tar.gz -> soapy-uhd-0.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.6/Changelog.txt new/SoapyUHD-soapy-uhd-0.4.1/Changelog.txt --- old/SoapyUHD-soapy-uhd-0.3.6/Changelog.txt 2019-06-22 14:51:56.0 +0200 +++ new/SoapyUHD-soapy-uhd-0.4.1/Changelog.txt 2020-09-21 00:40:10.0 +0200 @@ -1,3 +1,13 @@ +Release 0.4.1 (2020-09-20) +== + +- Fix for UHD_VERSION define and 4.0 release compilation + +Release 0.4.0 (2020-09-17) +== + +- Support for compilation with UHD 4.0 release + Release 0.3.6 (2019-06-22) == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.6/SoapyUHDDevice.cpp new/SoapyUHD-soapy-uhd-0.4.1/SoapyUHDDevice.cpp --- old/SoapyUHD-soapy-uhd-0.3.6/SoapyUHDDevice.cpp 2019-06-22 14:51:56.0 +0200 +++ new/SoapyUHD-soapy-uhd-0.4.1/SoapyUHDDevice.cpp 2020-09-21 00:40:10.0 +0200 @@ -1,4 +1,5 @@ // Copyright (c) 2014-2017 Josh Blum +//2019 Nicholas Corgan // SPDX-License-Identifier: GPL-3.0 /*** @@ -64,7 +65,7 @@ for (size_t i = 0; i < this->getNumChannels(SOAPY_SDR_TX); i++) { const uhd::dict info = _dev->get_usrp_tx_info(i); -BOOST_FOREACH (const std::string &key, info.keys()) +for (const std::string &key : info.keys()) { if (key.size() > 3 and key.substr(0, 3) == "tx_") out[str(boost::format("tx%d_%s") % i % key.substr(3))] = info[key]; @@ -74,7 +75,7 @@ for (size_t i = 0; i < this->getNumChannels(SOAPY_SDR_RX); i++) { const uhd::dict info = _dev->get_usrp_rx_info(i); -BOOST_FOREACH (const std::string &key, info.keys()) +for (const std::string &key : info.keys()) {
commit soapy-uhd for openSUSE:Factory
Hello community, here is the log from the commit of package soapy-uhd for openSUSE:Factory checked in at 2019-06-27 15:26:31 Comparing /work/SRC/openSUSE:Factory/soapy-uhd (Old) and /work/SRC/openSUSE:Factory/.soapy-uhd.new.4615 (New) Package is "soapy-uhd" Thu Jun 27 15:26:31 2019 rev:6 rq:712225 version:0.3.6 Changes: --- /work/SRC/openSUSE:Factory/soapy-uhd/soapy-uhd.changes 2019-03-26 15:44:58.196111306 +0100 +++ /work/SRC/openSUSE:Factory/.soapy-uhd.new.4615/soapy-uhd.changes 2019-06-27 15:26:33.909622790 +0200 @@ -1,0 +2,7 @@ +Wed Jun 26 20:42:43 UTC 2019 - Wojciech Kazubski + +- Update to version 0.3.6 + * Support tuning on boards without a CORDIC in the DSP by +registering a dummy second tuning element + +--- Old: soapy-uhd-0.3.5.tar.gz New: soapy-uhd-0.3.6.tar.gz Other differences: -- ++ soapy-uhd.spec ++ --- /var/tmp/diff_new_pack.fRCGfI/_old 2019-06-27 15:26:34.389623509 +0200 +++ /var/tmp/diff_new_pack.fRCGfI/_new 2019-06-27 15:26:34.389623509 +0200 @@ -20,7 +20,7 @@ %define soapy_modname soapysdr%{soapy_modver}-module-uhd Name: soapy-uhd -Version:0.3.5 +Version:0.3.6 Release:0 Summary:Soapy SDR plugins for UHD supported SDR devices License:GPL-3.0 ++ soapy-uhd-0.3.5.tar.gz -> soapy-uhd-0.3.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.5/CMakeLists.txt new/SoapyUHD-soapy-uhd-0.3.6/CMakeLists.txt --- old/SoapyUHD-soapy-uhd-0.3.5/CMakeLists.txt 2018-12-08 04:14:03.0 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.6/CMakeLists.txt 2019-06-22 14:51:56.0 +0200 @@ -164,6 +164,36 @@ DESTINATION ${UHD_ROOT}/lib${LIB_SUFFIX}/uhd/modules ) +#using C++11 features for this uhd module +set_target_properties(soapySupport PROPERTIES CXX_STANDARD 11) + + +# rpath setup - http://www.cmake.org/Wiki/CMake_RPATH_handling + +# use, i.e. don't skip the full RPATH for the build tree +option(CMAKE_SKIP_BUILD_RPATH "skip rpath build" FALSE) + +# when building, don't use the install RPATH already +# (but later on when installing) +option(CMAKE_BUILD_WITH_INSTALL_RPATH "build with install rpath" FALSE) + +# the RPATH to be used when installing, but only if it's not a system directory +option(CMAKE_AUTOSET_INSTALL_RPATH TRUE) +if(CMAKE_AUTOSET_INSTALL_RPATH) +LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" isSystemDir) +IF("${isSystemDir}" STREQUAL "-1") +SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}") +ENDIF("${isSystemDir}" STREQUAL "-1") +endif(CMAKE_AUTOSET_INSTALL_RPATH) + +# add the automatically determined parts of the RPATH +# which point to directories outside the build tree to the install RPATH +option(CMAKE_INSTALL_RPATH_USE_LINK_PATH "build with automatic rpath" TRUE) + +if(APPLE) +set(CMAKE_MACOSX_RPATH ON) +endif() + # Print Summary diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.5/Changelog.txt new/SoapyUHD-soapy-uhd-0.3.6/Changelog.txt --- old/SoapyUHD-soapy-uhd-0.3.5/Changelog.txt 2018-12-08 04:14:03.0 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.6/Changelog.txt 2019-06-22 14:51:56.0 +0200 @@ -1,3 +1,9 @@ +Release 0.3.6 (2019-06-22) +== + +- Support tuning on boards without a CORDIC in the DSP + by registering a dummy second tuning element + Release 0.3.5 (2018-12-07) == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.5/UHDSoapyDevice.cpp new/SoapyUHD-soapy-uhd-0.3.6/UHDSoapyDevice.cpp --- old/SoapyUHD-soapy-uhd-0.3.5/UHDSoapyDevice.cpp 2018-12-08 04:14:03.0 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.6/UHDSoapyDevice.cpp 2019-06-22 14:51:56.0 +0200 @@ -331,7 +331,7 @@ //names of the tunable components const std::vector comps = _device->listFrequencies(dir, chan); const std::string rfCompName = (comps.size()>0)?comps.at(0):"RF"; -const std::string bbCompName = (comps.size()>1)?comps.at(1):"BB"; +const std::string bbCompName = (comps.size()>1)?comps.at(1):""; //samp rate _tree->create(dsp_path / "rate" / "range") @@ -340,12 +340,21 @@ .publish(boost::bind(&SoapySDR
commit soapy-uhd for openSUSE:Factory
Hello community, here is the log from the commit of package soapy-uhd for openSUSE:Factory checked in at 2019-03-26 15:44:51 Comparing /work/SRC/openSUSE:Factory/soapy-uhd (Old) and /work/SRC/openSUSE:Factory/.soapy-uhd.new.25356 (New) Package is "soapy-uhd" Tue Mar 26 15:44:51 2019 rev:5 rq:688277 version:0.3.5 Changes: --- /work/SRC/openSUSE:Factory/soapy-uhd/soapy-uhd.changes 2018-12-14 20:56:58.948756675 +0100 +++ /work/SRC/openSUSE:Factory/.soapy-uhd.new.25356/soapy-uhd.changes 2019-03-26 15:44:58.196111306 +0100 @@ -1,0 +2,5 @@ +Sun Mar 24 22:17:05 UTC 2019 - Wojciech Kazubski + +- Fix build with Boost 1.69 + +--- Other differences: -- ++ soapy-uhd.spec ++ --- /var/tmp/diff_new_pack.haWVds/_old 2019-03-26 15:44:59.092110256 +0100 +++ /var/tmp/diff_new_pack.haWVds/_new 2019-03-26 15:44:59.096110251 +0100 @@ -33,6 +33,12 @@ BuildRequires: pkg-config BuildRequires: pkgconfig(SoapySDR) BuildRequires: pkgconfig(uhd) +%if 0%{?suse_version} > 1500 +BuildRequires: libboost_chrono-devel +BuildRequires: libboost_date_time-devel +BuildRequires: libboost_system-devel +BuildRequires: libboost_thread-devel +%endif %description Soapy UHD - Soapy SDR devices for UHD.
commit soapy-uhd for openSUSE:Factory
Hello community, here is the log from the commit of package soapy-uhd for openSUSE:Factory checked in at 2018-12-14 20:54:38 Comparing /work/SRC/openSUSE:Factory/soapy-uhd (Old) and /work/SRC/openSUSE:Factory/.soapy-uhd.new.28833 (New) Package is "soapy-uhd" Fri Dec 14 20:54:38 2018 rev:4 rq:657890 version:0.3.5 Changes: --- /work/SRC/openSUSE:Factory/soapy-uhd/soapy-uhd.changes 2018-11-12 09:44:58.384868948 +0100 +++ /work/SRC/openSUSE:Factory/.soapy-uhd.new.28833/soapy-uhd.changes 2018-12-14 20:56:58.948756675 +0100 @@ -1,0 +2,7 @@ +Thu Dec 13 12:27:36 UTC 2018 - Wojciech Kazubski + +- Update to version 0.3.5 + * Create fake channels if the number of TX and RX channels +are not equal to fix segmentation faults in UHD based tools + +--- Old: soapy-uhd-0.3.4.tar.gz New: soapy-uhd-0.3.5.tar.gz Other differences: -- ++ soapy-uhd.spec ++ --- /var/tmp/diff_new_pack.m1pd0t/_old 2018-12-14 20:56:59.416756094 +0100 +++ /var/tmp/diff_new_pack.m1pd0t/_new 2018-12-14 20:56:59.420756089 +0100 @@ -20,7 +20,7 @@ %define soapy_modname soapysdr%{soapy_modver}-module-uhd Name: soapy-uhd -Version:0.3.4 +Version:0.3.5 Release:0 Summary:Soapy SDR plugins for UHD supported SDR devices License:GPL-3.0 ++ soapy-uhd-0.3.4.tar.gz -> soapy-uhd-0.3.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.4/Changelog.txt new/SoapyUHD-soapy-uhd-0.3.5/Changelog.txt --- old/SoapyUHD-soapy-uhd-0.3.4/Changelog.txt 2017-12-15 02:43:42.0 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.5/Changelog.txt 2018-12-08 04:14:03.0 +0100 @@ -1,3 +1,9 @@ +Release 0.3.5 (2018-12-07) +== + +- Create fake channels if the number of TX and RX channels + are not equal to fix segmentation faults in UHD based tools + Release 0.3.4 (2017-12-14) == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.4/UHDSoapyDevice.cpp new/SoapyUHD-soapy-uhd-0.3.5/UHDSoapyDevice.cpp --- old/SoapyUHD-soapy-uhd-0.3.4/UHDSoapyDevice.cpp 2017-12-15 02:43:42.0 +0100 +++ new/SoapyUHD-soapy-uhd-0.3.5/UHDSoapyDevice.cpp 2018-12-08 04:14:03.0 +0100 @@ -1,4 +1,5 @@ // Copyright (c) 2015-2017 Josh Blum +// Copyright (c) 2018 Deepwave Digital, Inc. // SPDX-License-Identifier: GPL-3.0 #ifdef UHD_HAS_SET_PUBLISHER @@ -36,6 +37,8 @@ #include #include +#include + //Report a positive gain step value for UHD's automatic distribution algorithm. //This prevents the gain group rounding algorithm from producing zero values. static const double MIN_GAIN_STEP = 0.1; @@ -151,7 +154,7 @@ if (stream) stream->issue_stream_cmd(cmd); } -void setupChannelHooks(const int dir); +void setupChannelHooks(); void setupChannelHooks(const int dir, const size_t chan, const std::string &dirName, const std::string &chName); void setupFakeChannelHooks(const int dir, const size_t chan, const std::string &dirName, const std::string &chName); @@ -276,8 +279,7 @@ } //setup channel and frontend hooks -this->setupChannelHooks(SOAPY_SDR_RX); -this->setupChannelHooks(SOAPY_SDR_TX); +this->setupChannelHooks(); } UHDSoapyDevice::~UHDSoapyDevice(void) @@ -286,17 +288,31 @@ SoapySDR::Device::unmake(_device); } -void UHDSoapyDevice::setupChannelHooks(const int dir) +void UHDSoapyDevice::setupChannelHooks() { -const std::string dirName((dir==SOAPY_SDR_RX)?"rx":"tx"); -for (size_t ch = 0; ch < _device->getNumChannels(dir); ch++) +static const std::string kRxDirName = "rx"; +static const std::string kTxDirName = "tx"; +const size_t numRxChannels = _device->getNumChannels(SOAPY_SDR_RX); +const size_t numTxChannels = _device->getNumChannels(SOAPY_SDR_TX); + +//We have to build up the same number of TX and RX channels to make UHD +//happy. If there are less channels in one direction than another, we fill +//in the direction with dummy channels. +const size_t numChannels = std::max(numRxChannels, numTxChannels); + +for (size_t ch = 0; ch < numChannels; ch++) { const std::string chName(boost::lexical_cast(ch)); -this->setupChannelHooks(dir, ch, dirName, chName); +if (ch < numRxChannels) +this->setupChannelHooks(SOAPY_SDR_RX, ch, kRxDirName, chName); +else +this->setupFakeChannelHooks(SOAPY_SDR_RX, ch, kRxDirName, chName); + +if (ch < numTxChannels) +this->setupChannelHooks(SOAPY_SDR_T
commit soapy-uhd for openSUSE:Factory
Hello community, here is the log from the commit of package soapy-uhd for openSUSE:Factory checked in at 2018-11-12 09:43:54 Comparing /work/SRC/openSUSE:Factory/soapy-uhd (Old) and /work/SRC/openSUSE:Factory/.soapy-uhd.new (New) Package is "soapy-uhd" Mon Nov 12 09:43:54 2018 rev:3 rq:648166 version:0.3.4 Changes: --- /work/SRC/openSUSE:Factory/soapy-uhd/soapy-uhd.changes 2018-06-19 12:02:26.276762165 +0200 +++ /work/SRC/openSUSE:Factory/.soapy-uhd.new/soapy-uhd.changes 2018-11-12 09:44:58.384868948 +0100 @@ -1,0 +2,5 @@ +Sat Nov 10 13:06:58 UTC 2018 - Wojciech Kazubski + +- Update soapy-module version 0.6 -> 0.7 + +--- Other differences: -- ++ soapy-uhd.spec ++ --- /var/tmp/diff_new_pack.d4N1zd/_old 2018-11-12 09:44:58.884868187 +0100 +++ /var/tmp/diff_new_pack.d4N1zd/_new 2018-11-12 09:44:58.68180 +0100 @@ -16,7 +16,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define soapy_modver 0.6 +%define soapy_modver 0.7 %define soapy_modname soapysdr%{soapy_modver}-module-uhd Name: soapy-uhd @@ -33,7 +33,6 @@ BuildRequires: pkg-config BuildRequires: pkgconfig(SoapySDR) BuildRequires: pkgconfig(uhd) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Soapy UHD - Soapy SDR devices for UHD. @@ -58,8 +57,8 @@ %cmake_install %files -n %{soapy_modname} -%defattr(-,root,root) -%doc COPYING README.md +%license COPYING +%doc Changelog.txt README.md %dir %{_libdir}/SoapySDR %dir %{_libdir}/SoapySDR/modules%{soapy_modver} %{_libdir}/SoapySDR/modules%{soapy_modver}/libuhdSupport.so
commit soapy-uhd for openSUSE:Factory
Hello community, here is the log from the commit of package soapy-uhd for openSUSE:Factory checked in at 2018-06-19 12:02:23 Comparing /work/SRC/openSUSE:Factory/soapy-uhd (Old) and /work/SRC/openSUSE:Factory/.soapy-uhd.new (New) Package is "soapy-uhd" Tue Jun 19 12:02:23 2018 rev:2 rq:616940 version:0.3.4 Changes: --- /work/SRC/openSUSE:Factory/soapy-uhd/soapy-uhd.changes 2017-11-08 15:09:44.170918724 +0100 +++ /work/SRC/openSUSE:Factory/.soapy-uhd.new/soapy-uhd.changes 2018-06-19 12:02:26.276762165 +0200 @@ -1,0 +2,10 @@ +Fri Jun 8 10:45:21 UTC 2018 - w...@ire.pw.edu.pl + +- Update to version 0.3.4 + * Optional check for dsp freq range in property tree + * Tx de/activateStream() return 0 for NOP, not an error + * Support timestamp for deactivateStream() stream command + * Conditional support for new logging API (replaces msg.hpp) + * Tx stream activation hooks based on start and end of burst + +--- Old: soapy-uhd-0.3.3.tar.gz New: soapy-uhd-0.3.4.tar.gz Other differences: -- ++ soapy-uhd.spec ++ --- /var/tmp/diff_new_pack.AGY6Ap/_old 2018-06-19 12:02:26.884739591 +0200 +++ /var/tmp/diff_new_pack.AGY6Ap/_new 2018-06-19 12:02:26.888739443 +0200 @@ -1,6 +1,7 @@ # # spec file for package soapy-uhd # +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -19,7 +20,7 @@ %define soapy_modname soapysdr%{soapy_modver}-module-uhd Name: soapy-uhd -Version:0.3.3 +Version:0.3.4 Release:0 Summary:Soapy SDR plugins for UHD supported SDR devices License:GPL-3.0 ++ soapy-uhd-0.3.3.tar.gz -> soapy-uhd-0.3.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.3/CMakeLists.txt new/SoapyUHD-soapy-uhd-0.3.4/CMakeLists.txt --- old/SoapyUHD-soapy-uhd-0.3.3/CMakeLists.txt 2017-04-30 00:11:21.0 +0200 +++ new/SoapyUHD-soapy-uhd-0.3.4/CMakeLists.txt 2017-12-15 02:43:42.0 +0100 @@ -93,6 +93,13 @@ message(STATUS " has set_publisher() API") endif() +if (EXISTS "${UHD_INCLUDE_DIRS}/uhd/utils/msg.hpp") +add_definitions(-DUHD_HAS_MSG_HPP) +message(STATUS " use msg.hpp for logging") +else() +message(STATUS " use log.hpp for logging") +endif() + # Setup boost diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.3/Changelog.txt new/SoapyUHD-soapy-uhd-0.3.4/Changelog.txt --- old/SoapyUHD-soapy-uhd-0.3.3/Changelog.txt 2017-04-30 00:11:21.0 +0200 +++ new/SoapyUHD-soapy-uhd-0.3.4/Changelog.txt 2017-12-15 02:43:42.0 +0100 @@ -1,3 +1,12 @@ +Release 0.3.4 (2017-12-14) +== + +- Optional check for dsp freq range in property tree +- Tx de/activateStream() return 0 for NOP, not an error +- Support timestamp for deactivateStream() stream command +- Conditional support for new logging API (replaces msg.hpp) +- Tx stream activation hooks based on start and end of burst + Release 0.3.3 (2017-04-29) == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SoapyUHD-soapy-uhd-0.3.3/SoapyUHDDevice.cpp new/SoapyUHD-soapy-uhd-0.3.4/SoapyUHDDevice.cpp --- old/SoapyUHD-soapy-uhd-0.3.3/SoapyUHDDevice.cpp 2017-04-30 00:11:21.0 +0200 +++ new/SoapyUHD-soapy-uhd-0.3.4/SoapyUHDDevice.cpp 2017-12-15 02:43:42.0 +0100 @@ -11,7 +11,11 @@ #include #include #include +#ifdef UHD_HAS_MSG_HPP #include +#else +#include +#endif #include #include #include @@ -236,7 +240,7 @@ int activateStream(SoapySDR::Stream *handle, const int flags, const long long timeNs, const size_t numElems) { SoapyUHDStream *stream = reinterpret_cast(handle); -if (not stream->rx) return SoapySDR::Device::activateStream(handle, flags, timeNs, numElems); +if (not stream->rx) return 0; //NOP, does nothing, but not an error //determine stream mode uhd::stream_cmd_t::stream_mode_t mode; @@ -258,11 +262,15 @@ int deactivateStream(SoapySDR::Stream *handle, const int flags, const long long timeNs) { SoapyUHDStream *stream = reinterpret_cast(handle); -if (not stream->rx) return SoapySDR::Device::deactivateStream(handle, flags, timeNs); -if (flags != 0) return SOAPY_SDR_NOT_SUPPORTED; +if (not strea