Josh Blum
9ceadfb645
rtl_tcp: fix ssize_t definition for MSVC
...
This was actually causing a cryptic compile error because of the define.
The fix was to typedef ssize_t as ptrdiff_t, the same as bladerf_common.h
2015-12-06 15:49:44 -08:00
Dimitri Stolnikov
16cd02de84
cmake: update from gnuradio master
...
- Update the GrXXX modules from the GNURadio master
- Force 3.7.3 since previous FindGnuradio was broken
2014-08-26 00:09:15 +02:00
Jeremy Visser
58d95b5164
Allows connecting to IPv6 hosts if an AAAA record is present
...
and /etc/gai.conf is not configured to prefer IPv4 hosts.
The current logic handling the output of getaddrinfo() is
flawed in that it only ever attempts to connect() to the
first address returned.
This is a problem for both round-robin and dual-stack hosts.
Furthermore, rtl_tcp_source_c::rtl_tcp_source_c() assumes a colon
in the device string is a port number. This prevents the use
of raw IPv6 addresses. The function will need to be taught how
to handle IPv6 addresses contained within square brackets, e.g.
"rtl_tcp=[2001:db8::1]:1234".
Therefore further work is required to improve the handling of
multiple addresses, and also device strings containing raw IPv6
addresses.
Signed-off-by: Jeremy Visser <jeremy@visser.name>
2014-08-14 23:44:46 +02:00
Dimitri Stolnikov
5410ee53b2
device: implement "nofake" hint to exclude dummy devices from discovery
...
usage example:
osmosdr::device_t hint( "nofake" );
osmosdr::devices_t devs = osmosdr::device::find( hint );
2013-12-10 16:59:01 +01:00
Steve Markgraf
8cbde92c94
rtl/rtl_tcp: add 2.56e6 as 'good' sample rate
...
Several tests have shown that this is the
highest sample rate where no samples
are being dropped on rtl devices.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-05 00:12:27 +01:00
Steve Markgraf
1aa67f08bc
rtl: add R828D tuner
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:00:08 +01:00
Dimitri Stolnikov
c744a7b35a
remove unused variables
2013-10-25 23:32:13 +02:00
Dimitri Stolnikov
0edfcfcba0
rtl: remove residue DC component introduced by RTL chip
...
received from Juha Vierinen:
A student here noticed that there is dc bias even with the rafael tuner.
We looked into this issue and found that using 127.4f instead of 127.5f
removes this bias. I assume this is associated with a bug in the digital
downconversion of the RTL chip. This change fixes the problem.
2013-07-16 23:31:29 +02:00
Dimitri Stolnikov
7e55cb9224
introduce osmosdr namespace, remove _c suffix
...
- the namespace conversion adopts the common gnuradio coding guidelines
- suffix removal is a preparation to support 8/16 bit complex data types
2013-05-30 16:14:22 +02:00
Dimitri Stolnikov
3e6a24e5d9
convert to gnuradio 3.7 interface
2013-05-29 22:34:40 +02:00
Dimitri Stolnikov
a0c50c2df1
source/sink: rename antennas to express their function
2013-04-30 21:44:31 +02:00
Dimitri Stolnikov
901dca8135
remove APPEND from include_directories
2013-03-12 20:17:24 +01:00
Dimitri Stolnikov
ede9c80455
rtl_tcp: add direct_samp and offset_tune args like used in rtl= target
2013-02-18 20:43:35 +01:00
Dimitri Stolnikov
faa5123186
rtl_tcp: update rtl agc mode as well when switching tuner agc on/off
2013-02-18 20:11:54 +01:00
Dimitri Stolnikov
2ca2d8cd4d
rtl_tcp: add named gain stage "IF"
2013-02-17 17:59:49 +01:00
Dimitri Stolnikov
d4de9d18c1
remove unused self()
2013-02-16 12:44:38 +01:00
Dimitri Stolnikov
887dbb1457
rtl_tcp: add get_devices member which returns a default device
2013-01-10 20:27:56 +01:00
Dimitri Stolnikov
6ad2043130
rtl_tcp: use gnuradio convention for indent
2013-01-02 00:29:07 +01:00
Dimitri Stolnikov
6ae9c1b4dc
update tuning ranges
2013-01-01 23:03:31 +01:00
Dimitri Stolnikov
43a6afdf28
rtl_tcp: add support for tuner caps discovery
2012-12-29 17:01:33 +01:00
Dimitri Stolnikov
2193c32ae0
rtl, rtl_tcp: enable 250k rate as it has been verified for gmr and tetra
2012-11-28 22:40:28 +01:00
Dimitri Stolnikov
dee9d3e696
update available samplerates for rtl devices
...
250k didn't work for TETRA and GMR, 2M has.
2012-09-30 20:58:21 +02:00
Dimitri Stolnikov
10f0d89348
update gain names
2012-07-01 12:43:22 +02:00
Dimitri Stolnikov
604a9d79b0
use clip method provided by range class to pick gain values
2012-07-01 11:38:46 +02:00
Dimitri Stolnikov
1ea5a90b19
rtl: add sample rate 250k
2012-07-01 11:20:40 +02:00
Dimitri Stolnikov
8fc150c64d
fix frequency range definition for e4k based devices
2012-07-01 11:18:29 +02:00
Dimitri Stolnikov
27dff71304
rtl: read out gain values via library api
2012-06-02 01:18:07 +02:00
Dimitri Stolnikov
674e084bdf
rtl_tcp: remove unused variables
2012-05-27 14:02:50 +02:00
Dimitri Stolnikov
4b6018b68c
remove OSMOSDR_API usage where appropriate
2012-05-27 13:50:58 +02:00
Dimitri Stolnikov
6bef750ac9
change gain mode argument to 'automatic' for clarity
2012-05-17 10:35:58 +02:00
Steve Markgraf
7f796fe1b2
rtl_tcp_source: convert commands from host to network byteorder
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-13 23:06:09 +02:00
Dimitri Stolnikov
8e82b44bff
rtl_tcp: change device argument syntax to host[:port]
...
without any arguments the code will try to connect to localhost:1234
2012-05-13 19:49:07 +02:00
Dimitri Stolnikov
9b9c5bfcf4
rtl_tcp: implement frequency correction control
2012-05-07 23:02:36 +02:00
Dimitri Stolnikov
e38dc2f427
rtl_tcp: implement sample rate and gain control
2012-05-06 19:42:27 +02:00
Dimitri Stolnikov
f94d8da48e
rtl_tcp: add initial component files
...
For use with the rtl_tcp utility acting as a spectrum server.
The "empty" rtl_tcp= device hint might be used to connect to rtl_tcp
running on local machine.
2012-05-05 23:47:00 +02:00