Dimitri Stolnikov
a43fef00a7
rtl: wait for worker thread to complete without a timeout
11 years ago
Dimitri Stolnikov
fe8984dfa5
osmosdr: wait for worker thread to complete without a timeout
11 years ago
Dimitri Stolnikov
e3bea99310
rtl: check for NULL buffers
11 years ago
Dimitri Stolnikov
f0b3de4d54
osmosdr: check for NULL buffers
11 years ago
Christian Gagneraud
6a1600eb93
Add swig hint for devices_t objects
...
Signed-off-by: Christian Gagneraud <chris@techworks.ie>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
11 years ago
Dimitri Stolnikov
69a74abc78
add swig hints for range and device objects
...
Use case:
print "\nSupported rates:"
for rate in self.osmosdr_source_c_0.get_sample_rates():
print rate.start()
print "\nSupported gains:"
for gain in self.osmosdr_source_c_0.get_gain_range():
print gain.start()
11 years ago
Dimitri Stolnikov
bb0adf48e5
preset default if gain value in GRC to the one used outside of GRC
11 years ago
Dimitri Stolnikov
3a624df99b
add boost-system library to dependency list
...
this seems to be required on OSX with boost 1.50+
11 years ago
Dimitri Stolnikov
f32eb2657c
update GRC documentation
11 years ago
Dimitri Stolnikov
ff6615e08f
rtl: explicitly set agc mode (off by default)
11 years ago
Dimitri Stolnikov
ae3f9b6ce6
update GRC files with the new if gain API
11 years ago
Dimitri Stolnikov
86ec5d3b73
add if gain setter API for rtl-sdr
...
and OsmoSDR devices
Observations lead to an useful gain
range from 15 to 30dB, a value of
24dB is used by default.
11 years ago
Dimitri Stolnikov
0b5f48eb07
osmosdr: automatically increase if gain when required
11 years ago
Dimitri Stolnikov
f9acc7edf6
rtl: automatically increase if gain when required
11 years ago
Dimitri Stolnikov
10f0d89348
update gain names
11 years ago
Dimitri Stolnikov
604a9d79b0
use clip method provided by range class to pick gain values
11 years ago
Dimitri Stolnikov
1ea5a90b19
rtl: add sample rate 250k
11 years ago
Dimitri Stolnikov
8fc150c64d
fix frequency range definition for e4k based devices
11 years ago
Dimitri Stolnikov
c92822469c
use endianness provided by boost
11 years ago
Dimitri Stolnikov
9c8f240a63
remove annoyingly hubristic source name
11 years ago
Dimitri Stolnikov
b7c06541c3
add virtual rtlsdr source and move both to 'Sources' category in GRC
11 years ago
Dimitri Stolnikov
fd83f5f33f
osmosdr: include serial in label property
11 years ago
Dimitri Stolnikov
38811fb853
uhd: remove the equal character from uhd argument
11 years ago
Dimitri Stolnikov
3c3bdc15cf
uhd: include type, name (if available) and serial in label property
11 years ago
Dimitri Stolnikov
8099f783c0
osmosdr: use sample rate API
11 years ago
Dimitri Stolnikov
d56e18a1d9
cmake: fix search hints
11 years ago
Dimitri Stolnikov
842e48d101
osmosdr: implement setting of sample rate
11 years ago
Dimitri Stolnikov
c6fa979160
osmosdr: disable IQ swapping feature
11 years ago
Dimitri Stolnikov
05700e6092
rtl, osmosdr: reorder buffer allocation to prevent memory leak
...
the leak would occur if the requested device could not be opened
11 years ago
Dimitri Stolnikov
237385a0c3
respect the signedness
...
thanks to Hoernchen <la@tfc-server.de>
11 years ago
Dimitri Stolnikov
9ec656dc05
make it play nice with windows
...
thanks to Hoernchen <la@tfc-server.de>
11 years ago
Dimitri Stolnikov
a8625f0290
fix copy & paste errors
11 years ago
Dimitri Stolnikov
869ed6df15
print information about supported components
11 years ago
Dimitri Stolnikov
27dff71304
rtl: read out gain values via library api
11 years ago
Dimitri Stolnikov
cd1db62699
osmosdr: read out gain values via library api
11 years ago
Dimitri Stolnikov
b2128bc864
fix escape sequence for uhd device arguments example
11 years ago
Dimitri Stolnikov
7ef9ebc7bb
cleanup: make _samp_avail signed integer
11 years ago
Dimitri Stolnikov
6194958d71
rtl: clean up work function
11 years ago
Dimitri Stolnikov
674e084bdf
rtl_tcp: remove unused variables
11 years ago
Dimitri Stolnikov
4b6018b68c
remove OSMOSDR_API usage where appropriate
11 years ago
Dimitri Stolnikov
9a5e93cf0d
osmosdr: change implementation to use libosmosdr
11 years ago
Dimitri Stolnikov
f4f5918c25
osmosdr_device: change cast to make it compile with clang
11 years ago
Dimitri Stolnikov
625c8b8e8e
add Steve and Hoernchen to AUTHORS file
11 years ago
Dimitri Stolnikov
e26074615b
osmosdr_device: make it compile with boost 1.46.1
11 years ago
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());
11 years ago
Dimitri Stolnikov
e256bf332e
reapply previous gain value when switched to manual gain mode
11 years ago
Dimitri Stolnikov
8c0be96215
grc: change gain_mode type to int to allow switching at runtime
11 years ago
Dimitri Stolnikov
6bef750ac9
change gain mode argument to 'automatic' for clarity
11 years ago
Dimitri Stolnikov
8748ee2b56
update GRC examples
11 years ago
Dimitri Stolnikov
c9637fc181
remove handmade python flowgraph that is not needed anymore
11 years ago