rtlsdrblog
9d3d8a5faf
direct sampling added to rtl_tcp
2019-10-11 13:23:38 +01:00
Stephen Blinick
da0c8ea073
Clean out stale data in ring buffer when client disconnects.
2019-02-10 15:23:42 -07:00
Stephen Blinick
d0e7dcde04
Perf: Replace rtl_tcp linked list with ring buffer
...
Removed the linked list structure, locking, and malloc/free on each USB callback.
Replaced it with a non blocking ring buffer for performance. This resulted
in a large performance improvement when using an Raspberry Pi or Raspberry Pi Zero W
as a rtl_tcp server. The sample rate could be doubled and instead of wired ethernet
wifi could be used. Frequnecy change lag was reduced greatly also.
Signed-off-by: Stephen Blinick <stephen@stesoft.com>
2019-02-10 10:20:48 -07:00
hayati ayguen
18bf26989c
Add option '-T' for activating bias-T in rtl_(adsb|fm|power|tcp)
...
* added debug output when activating
Signed-off-by: hayati ayguen <h_ayguen@web.de>
* fixed options argument
Signed-off-by: Fabian P. Schmidt <kerel-fs@gmx.de>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2017-06-13 01:20:32 +02:00
Dimitri Stolnikov
fa3a113b77
rtl_tcp: add command for bias tee control
2017-06-12 00:04:05 +02:00
Steve Markgraf
6ee5573606
rtl_tcp: make all global variables static
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-02-10 23:59:21 +01:00
Steve Markgraf
89f73b183f
lib: change default number of transfers to 15
...
So far we had 32 * 256KB which was a bit overkill,
15 are more than enough.
15 was chosen instead of 16 because at least on Linux
there seems to be a system-wide limit of 63 transfers
(when they are 256KB large), so 4 dongles can be used
on a single machine without lowering the default transfer
number.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-02-10 23:57:19 +01:00
Steve Markgraf
c25f9cbc38
rtl_tcp: fix warning
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-24 14:35:22 +01:00
Kyle Keen
27c0929939
utils: convenience functions
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-23 23:21:23 +01:00
Hoernchen
7855c7c876
rtl_tcp: clean up error handling
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-12-27 00:22:30 +01:00
Hoernchen
dbede4e3c0
tools: play nice with mingw/cygwin
2013-10-25 01:11:44 +02:00
Dimitri Stolnikov
698a8a152e
rtl_tcp: fix printing of if gain values
2013-02-17 17:49:12 +01:00
Hoernchen
1cde8634ca
rtl_tcp: add option to tame the linked list
2013-01-10 00:01:28 +01:00
Dimitri Stolnikov
e82a07e67a
rtl_tcp: add support for tuner caps discovery
...
Signed-off-by: Hoernchen <la@tfc-server.de>
2012-12-29 16:06:26 +01:00
edy555
aa60c2aaed
fix segv on reconnect
...
Signed-off-by: Hoernchen <la@tfc-server.de>
improve staibility (for sdr#)
Signed-off-by: Hoernchen <la@tfc-server.de>
2012-12-28 18:59:41 +01:00
Hoernchen
aabd42dd05
rtl_tcp: increase the timeout in worker thread
...
the reset takes ages on windows
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-18 01:33:21 +02:00
Steve Markgraf
7ff4abd378
rtl_tcp: allow to set xtal frequencies
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-14 20:39:09 +02:00
Steve Markgraf
4c58bf8b1a
rtl_tcp: make more functions of librtlsdr accessible via tcp
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-06 19:47:36 +02:00
Steve Markgraf
3838df8669
rtl_tcp: ignore SIGPIPE
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-05 18:04:10 +02:00
Steve Markgraf
92d936568c
rtl_tcp: add parameter for changing number of buffers
...
This is useful for devices with low memory, e.g.
routers with OpenWRT (decrease to 8 for example).
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 02:40:49 +02:00
Steve Markgraf
d08c4770ab
add local copy of getopt() for win32 build
...
Now all commandline utilities have a platform-independent
syntax.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 02:13:18 +02:00
Steve Markgraf
bc2c445055
rtl_tcp: fix includes
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-29 00:32:12 +02:00
Christian Vogel
f3a6302866
rtl_tcp: silence warning about socklen_t/int sign.
...
rtl_tcp.c:457:57: warning: pointer types point to integer types
with different sign passing 'int *', expected
'socklen_t *' [-Wpointer-sign]
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-25 20:54:03 +02:00
Dimitri Stolnikov
b5beddca4f
fix gain setting and update usage information for CLI tools
2012-05-25 20:45:47 +02:00
Dimitri Stolnikov
6328438479
add help message to rtl_tcp spectrum server
2012-05-23 22:19:01 +02:00
Christian Vogel
73f54be2ed
#include <math.h> was not needed.
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-17 21:59:01 +02:00
Steve Markgraf
8dda694101
rtl_tcp: convert command parameters from network to host byteorder
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-13 23:04:09 +02:00
Dimitri Stolnikov
e042c36cb5
rtl_sdr, rtl_tcp: cleaned up gain handling
2012-05-07 22:59:34 +02:00
Dimitri Stolnikov
b290116ac7
rtl_tcp: add handler for freq correction command
2012-05-07 22:38:25 +02:00
Dimitri Stolnikov
e5adc9a3ad
rtl_tcp: add handlers for sample rate and gain mode commands
2012-05-06 19:39:39 +02:00
Dimitri Stolnikov
9167a01248
consolidate program arguments
2012-05-06 00:34:13 +02:00
Steve Markgraf
86c34428aa
use new E4000 tuner driver, allow manual gain
...
Many thanks to Hoernchen for making the driver work properly
and adding manual gain!
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-04 23:02:29 +02:00
Hoernchen
eb9a437de7
rtl_tcp: proper linux support
...
as well as some cosmetic fixes
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-24 18:04:46 +02:00
Hoernchen
d55b491c43
add initial version of tcp server
2012-04-19 17:51:39 +02:00