aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fcd
AgeCommit message (Collapse)AuthorFilesLines
2022-06-10switch to gr-funcubeEric Wild3-11/+11
due to deprecation, see https://osmocom.org/issues/5445
2021-01-18Replace boost::shared_ptr with std::shared_ptrClayton Smith1-1/+1
Signed-off-by: Eric Wild <ewild@sysmocom.de>
2020-11-01Replace BOOST_FOREACH with range-based for loopsClayton Smith1-2/+1
Range-based for loops are available since C++11. Using them reduces gr-osmosdr's dependence on Boost. Here I've done the replacement using a global search-and-replace. Signed-off-by: Eric Wild <ewild@sysmocom.de>
2020-08-03cmake: actually make linking workEric Wild1-1/+1
Appending to lists from subdirs does not work as expected, so work around that to allow collecting the necessary libs.
2020-08-03fcd: restore support for FUNcube Dongle and Pro+Clayton Smith3-46/+7
Support for the original FUNcube Dongle used to live in GNU Radio's gr-fcd module, which was removed in version 3.8. As a result, gr-osmosdr lost support for both FUNcube Dongle and FUNcube Dongle Pro+. The gr-fcdproplus out-of-tree module subsequently added support for the original FUNcube Dongle, meaning that it now supports both types. As a result, FUNcube support can easily be restored in gr-osmosdr. The now. Signed-off-by: Eric Wild <ewild@sysmocom.de> XXX
2020-08-02cmake: Go back CMake min ver. 3.8 by removing need for CMP0079Piotr Krysik1-2/+3
CMake 3.13 is not present in older (~2 years old) Linux distributions and GNU Radio requires min CMake version 3.8. All that is needed in order to avoid bumping CMake version is to not use 'target_link_libraries' in subdirectories. Here this is done by creating a list of needed libraries and adding them for linking at the end (like it was done in gr-osmosdr before porting to GNU Radio 3.8). One thing that is lost here is 'PRIVATE' statement in case of FCD libraries linking. Signed-off-by: Eric Wild <ewild@sysmocom.de>
2020-02-16build: Update build system to GR 3.8 standardsSylvain Munaut1-17/+17
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2020-02-16build: Update CMakeLists.txt copyright headerSylvain Munaut1-4/+4
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-07-14fcd: add support for FUNcube Dongle Pro+Dimitri Stolnikov3-38/+257
The gnuradio block https://github.com/dl1ksv/gr-fcdproplus must be installed before building gr-osmosdr. Available named gains: Dongle Classic: LNA: -5 to 30 dB, in 2.5 dB steps MIX: 4 or 12 dB Dongle Pro+: LNA: 0 or 1, meaning off/on only. no information about real values. MIX: 0 or 1, meaning off/on only. no information about real values. BB: 0 to 59 dB, in 1 dB steps This patch also introduces optional "device" and "type" arguments which allow to override the values automatically picked by gr-osmosdr: osmocom_fft -a "fcd,device=hw:2,type=2" The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. Thanks to Alexey Bazhin for the initial patch and Volker Schroer for testing.
2013-05-30introduce osmosdr namespace, remove _c suffixDimitri Stolnikov3-41/+41
- the namespace conversion adopts the common gnuradio coding guidelines - suffix removal is a preparation to support 8/16 bit complex data types
2013-05-29convert to gnuradio 3.7 interfaceDimitri Stolnikov2-11/+11
2013-04-30source/sink: rename antennas to express their functionDimitri Stolnikov1-1/+1
2013-03-12remove APPEND from include_directoriesDimitri Stolnikov1-1/+1
2013-02-16remove unused self()Dimitri Stolnikov2-7/+0
2013-02-16remove gain_mode getter/setter where not usedDimitri Stolnikov2-12/+0
2013-01-01update tuning rangesDimitri Stolnikov1-1/+1
2012-07-01update gain namesDimitri Stolnikov1-1/+1
2012-05-20introduce device discovery apiDimitri Stolnikov1-2/+10
This API allows to acquire a list of devices connected to the host and creates an argument string ready to be passed to a source object for cunstruction. Each device_t entry contains a "label" entry, which holds the generic device name which may be shown to the user for device selection. For certain radio hardware extended entries ("name", "serial", "type") may be available to make bijective device addressing possible. The argument string for target types "rtl_tcp" and "file" might be constructed using the osmosdr::device_t class facilities. Example: #include <osmosdr_device.h> #include <osmosdr_source_c.h> osmosdr::devices_t devs = osmosdr::device::find(); BOOST_FOREACH(osmosdr::device_t &dev, devs) // try to create each dev osmosdr_source_c_sptr src = osmosdr_make_source_c(dev.to_string());
2012-05-17change gain mode argument to 'automatic' for clarityDimitri Stolnikov2-2/+2
2012-05-12uhd: added UHD as dependency for the gr-uhd based moduleDimitri Stolnikov1-1/+4
this may be required for compilation since the gnuradio trunk doesn't provide UHD's include path via pkg-config.
2012-05-12append dependency include dirs when building componentsDimitri Stolnikov1-1/+1
2012-05-05pick first device if no device arguments were specifiedDimitri Stolnikov1-23/+35
2012-05-05add api for manual gain mode controlDimitri Stolnikov2-0/+12
2012-04-28first working multichannel sourceDimitri Stolnikov2-39/+44
2012-04-26fcd: add initial component filesDimitri Stolnikov3-0/+343