Commit Graph
73 Commits
Author SHA1 Message Date
Dimitri Stolnikov ce341fe53b cmake: add version module 2013-06-04 20:18:56 +02:00
Dimitri Stolnikov 698a8a152e rtl_tcp: fix printing of if gain values 2013-02-17 17:49:12 +01:00
Dimitri StolnikovandHoernchen 314683a51e librtlsdr: remove unneeded casting
Signed-off-by: Hoernchen <la@tfc-server.de>
2012-12-29 16:06:26 +01:00
Dimitri StolnikovandHoernchen 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
Dimitri Stolnikov 58a53039db configure.ac: fix librt check
Thanks to Pete Zaitcev <zaitcev@kotori.zaitcev.us>
2012-11-07 20:21:58 +01:00
Dimitri Stolnikov 0c7ba8e03e don't install udev rules by default, as it may pollute the system
For cmake call with -DINSTALL_UDEV_RULES=ON for the rules to be
installed during the default install/uninstall stages.

For autotools call "make install-udev-rules" or "make uninstall-udev-

The rules file will be installed to "/etc/udev/rules.d".
2012-09-08 16:37:56 +02:00
Dimitri Stolnikov 0fb8543dde install (and uninstall) udev rules file 2012-09-02 22:15:55 +02:00
Dimitri Stolnikov 22b9d82fb5 implement a more robust cancelation mechanism of async reader 2012-08-08 21:21:46 +02:00
Dimitri Stolnikov b49a8336ee disable e4k enhanced mixer gain as it seems to have no effect 2012-08-05 16:35:47 +02:00
Dimitri Stolnikov 88cd4b33cf return RTLSDR_TUNER_UNKNOWN (0) on failure of rtlsdr_get_tuner_type 2012-08-02 19:32:40 +02:00
Dimitri Stolnikov 42a6592e63 disable sample rate correction until we find a proper solution 2012-07-09 22:22:55 +02:00
Dimitri Stolnikov f9b5d7b0a6 apply frequency correction value on the xtal clock directly
by using this approach both, the tuning frequency and the sample rate
should be corrected at the same time.
2012-07-08 15:52:59 +02:00
Dimitri Stolnikov 6ea029d92c add api function to control the IF gain for E4000 tuners 2012-07-05 00:28:52 +02:00
Dimitri Stolnikov b09628b3e8 fix symbol visibility for automake builds 2012-06-13 01:29:37 +02:00
Dimitri Stolnikov 0d70522eda automake: define pkg-config variables 2012-06-07 22:41:42 +02:00
Dimitri Stolnikov 7bd3933c41 introduce getters for tuner parameters (gain, type) 2012-06-02 01:36:42 +02:00
Dimitri Stolnikov d5bfa3867f print the frequency for which the PLL couldn't lock 2012-06-01 20:53:35 +02:00
Dimitri Stolnikov bcb8f2b28a cache real sample rate with 1Hz resolution instead of the desired rate 2012-05-26 20:09:01 +02:00
Dimitri Stolnikov 932d6a6fb2 autotools: check for pthread library 2012-05-25 22:55:54 +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
Dimitri Stolnikov 505f40d9a0 introduce api function to read usb string descriptors
This API allows to read manufacturer and product names as well as the
serial number advertized by the device on the bus.
2012-05-20 16:41:15 +02:00
Dimitri Stolnikov b345963947 add api version information to the library when building with cmake 2012-05-15 18:14:43 +02:00
Dimitri Stolnikov 3198f14f44 fix a typo in Makefile.am 2012-05-14 20:48:25 +02:00
Dimitri Stolnikov cdfd1cf775 fix a memory leak by unreferencing libusb devices 2012-05-12 15:55:06 +02:00
Dimitri Stolnikov 5371f206f3 install pkg-config file when building with cmake 2012-05-12 12:34:21 +02:00
Dimitri Stolnikov 8402124e6f enable i2c repeater mode before applying filter bandwidth 2012-05-07 23:39:30 +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
Dimitri Stolnikov e9251da6e2 reset internally cached gain/freq values on setter failure 2012-05-05 18:30:13 +02:00
Dimitri Stolnikov eded5bf5c3 tuner_e4k: fix a typo in choose_rf_filter function 2012-05-05 15:09:01 +02:00
Dimitri Stolnikov 259e61fb17 document gain api 2012-05-05 12:33:47 +02:00
Dimitri Stolnikov cec93754a2 use default xtal freq when 0 is given 2012-04-29 19:51:11 +02:00
Dimitri Stolnikov e5e68c6524 compile with warnings enabled 2012-04-25 22:36:56 +02:00
Dimitri Stolnikov bad6fb080b introduce api to configure crystal oscillator frequency
Usually both, the RTL and the tuner ICs use the same clock. Changing the
clock may make sense if you are applying an external clock to the tuner
or to compensate the frequency (and samplerate) error caused by the
original cheap crystal.

This commit covers all tuner drivers except of the Fitipower FC2580
2012-04-25 22:32:51 +02:00
Dimitri Stolnikov 5f70efd8d1 return frequency and sample rate as unsigned integers 2012-04-24 20:02:53 +02:00
Dimitri Stolnikov 680fe5de03 add rtl_tcp utility to gitignore
thanks to Michal Demin for reporting this
2012-04-24 19:14:54 +02:00
Dimitri Stolnikov e4fef23874 rtlsdr_read_async: buffer length must be multiple of 512 2012-04-22 21:47:00 +02:00
Dimitri Stolnikov 7ba990981b add a note with patch submission information 2012-04-21 21:38:37 +02:00
Dimitri Stolnikov dd68eb2d22 use fixed (smallest possible) bandwidth for FCI tuners
also fixes c&p error pointed out by j-pi@seznam.cz
2012-04-19 23:02:53 +02:00
Dimitri Stolnikov 7651ff1940 change async cancellation mechnism to make it more reliable
- fixes crashes on windows platform while calling rtlsdr_close()
- makes it possible to restart async reads after cancellation
2012-04-11 00:27:49 +02:00
Dimitri Stolnikov f5f92ae3fa exit gracefully on SIGPIPE
this will properly free all the used memory when working with a pipe and
closing the other end (think of GRC)
2012-04-09 18:14:39 +02:00
Dimitri Stolnikov 20313516cc disable bulk read timeouts
ideally, we should calculate them depending on the configured sample
rate
2012-04-09 00:27:15 +02:00
Dimitri Stolnikov 1eb1c3e191 new api: rtlsdr_read_async function allows to specify buffer size
this commit deprecates rtlsdr_wait_async function
various small fixes are included in this commit
2012-04-08 23:02:42 +02:00
Dimitri Stolnikov 554e1b62f2 fix mailing list address 2012-04-08 13:24:12 +02:00
Dimitri Stolnikov 2b0d5963b7 print out exact sample rate only if needed 2012-04-07 00:04:15 +02:00
Dimitri Stolnikov df4991bc19 do not use NULL usb contexts to make libusb-pbatard work on windows 2012-04-06 13:47:45 +02:00
Dimitri StolnikovandSteve Markgraf d2355cfd91 install utility as well
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:24 +02:00
Dimitri StolnikovandSteve Markgraf f13cf0e56c adjust project slogan
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:20 +02:00
Dimitri StolnikovandSteve Markgraf 9773ac0b83 define LIBUSB_CALL if not available with old libusb
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:15 +02:00
Dimitri StolnikovandSteve Markgraf b38414c15a add copyright notices
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03 20:18:08 +02:00
Dimitri Stolnikov 9a4f4991a0 force same library filename for static and
shared variants of the library on !WIN32
platforms
2012-04-03 00:51:15 +02:00
Dimitri Stolnikov 01775f0e85 use unique libusb context per rtl
device

this commit breaks rtlsdr_open()
interface
2012-04-03 00:50:47 +02:00
Dimitri Stolnikov 2115949bb3 use different library names for
static/shared variants
2012-04-02 23:23:51 +02:00
Dimitri Stolnikov 39482fee74 introduce asynchronous streaming interface
this is an experimental feature
2012-04-02 23:09:14 +02:00
Dimitri Stolnikov 030c787cfa cmake & autotools fixes from previous commit 2012-04-02 21:42:24 +02:00
Dimitri Stolnikov 4c3a5f7397 consolidated function defs and impls 2012-04-01 22:44:07 +02:00
Dimitri Stolnikov e22c8a8378 fix type definition in library
interface

sorry mom! :P
2012-04-01 22:35:52 +02:00
Dimitri Stolnikov 6322c9343d add preliminary cmake build system 2012-04-01 16:52:41 +02:00
Dimitri Stolnikov c5a6fe2452 add Terratec NOXON rev 2 support 2012-04-01 15:35:06 +02:00
Dimitri Stolnikov 9d15dc565a handle init/exit functions calling
automatically inside the library
2012-04-01 13:06:22 +02:00
Dimitri Stolnikov 46acfaebd2 rework on autotools handling of
private headers
2012-04-01 12:40:51 +02:00
Dimitri Stolnikov 4ad93906a4 add skeleton routines for setting tuner gain 2012-04-01 01:36:49 +02:00
Dimitri Stolnikov 2f20f6fe9e add argument check for device handle
also outputs all text to stderr
implement rate and frequency read functions
2012-04-01 01:15:05 +02:00
Dimitri Stolnikov c09fbb7c57 fix reading from usb by resetting the
buffers as required
2012-03-31 16:20:38 +02:00
Dimitri Stolnikov 542533c229 ignore autotools generated files 2012-03-27 22:14:23 +02:00
Dimitri Stolnikov 001bfb96ef add autotools based build system 2012-03-27 20:53:49 +02:00
Dimitri Stolnikov 37bb5ca069 add .gitignore 2012-03-27 19:50:05 +02:00
Dimitri Stolnikov d8da91cbc2 rework towards a library interface 2012-03-27 19:49:44 +02:00
Dimitri Stolnikov 40669a5a0a add udev rule for the Twintech UT-40 2012-03-24 22:23:04 +01:00
Dimitri Stolnikov 9657dc1203 add udev rules for known devices 2012-03-24 19:47:16 +01:00