aboutsummaryrefslogtreecommitdiffstats
path: root/lib/osmosdr_arg_helpers.h
AgeCommit message (Collapse)AuthorFilesLines
2012-05-20introduce device discovery apiDimitri Stolnikov1-4/+4
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-04-28first working multichannel sourceDimitri Stolnikov1-4/+73
2012-04-26fix copyright noticeDimitri Stolnikov1-0/+84
Remove FSF line, since we do not have any agreements with them.