gr-osmosdr/lib
Dimitri Stolnikov 3ea0b38810 introduce device discovery api
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-20 12:55:52 +02:00
..
fcd introduce device discovery api 2012-05-20 12:55:52 +02:00
file change gain mode argument to 'automatic' for clarity 2012-05-17 10:35:58 +02:00
osmosdr introduce device discovery api 2012-05-20 12:55:52 +02:00
rtl introduce device discovery api 2012-05-20 12:55:52 +02:00
rtl_tcp change gain mode argument to 'automatic' for clarity 2012-05-17 10:35:58 +02:00
uhd introduce device discovery api 2012-05-20 12:55:52 +02:00
CMakeLists.txt introduce device discovery api 2012-05-20 12:55:52 +02:00
config.h.in rtl_tcp: add initial component files 2012-05-05 23:47:00 +02:00
osmosdr_arg_helpers.h introduce device discovery api 2012-05-20 12:55:52 +02:00
osmosdr_device.cc introduce device discovery api 2012-05-20 12:55:52 +02:00
osmosdr_ranges.cc use well-known operators instead of fancy literary ones 2012-04-06 16:32:33 +02:00
osmosdr_sink_c_impl.cc first working multichannel source 2012-04-28 20:18:14 +02:00
osmosdr_sink_c_impl.h fix copyright notice 2012-04-26 19:28:02 +02:00
osmosdr_source_c_impl.cc introduce device discovery api 2012-05-20 12:55:52 +02:00
osmosdr_source_c_impl.h change gain mode argument to 'automatic' for clarity 2012-05-17 10:35:58 +02:00
osmosdr_src_iface.h change gain mode argument to 'automatic' for clarity 2012-05-17 10:35:58 +02:00