aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2014-01-05lib: check for validity of sample ratesSteve Markgraf1-1/+11
Thanks to Joris van Rantwijk for finding what seems to be a hardware limitation/bug (bit 28 of the rsamp register being forced to the value of bit 27). Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04build: make build with automake work againSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04remove e4k-specific I2C functions from librarySteve Markgraf1-3/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04add support for R828D tunerSteve Markgraf2-5/+9
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04use new driver for R8XX tunersSteve Markgraf2-196/+116
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-16lib: enable standby mode of e4k and r820t on exitSteve Markgraf1-0/+1
Since the R820T is a power hog and gets quite hot, this makes sense, especially when being battery- powered. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-11-04lib: add rtlsdr_get_index_by_serial()Steve Markgraf1-0/+11
This allows to open a device by a name (serial number string) that has been programmed with rtl_eeprom -s. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-11-02add library support for EEPROM access and tool for modificationSteve Markgraf1-0/+32
rtl_eeprom can be used to modify the USB descriptor strings etc. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-19tuner_r820t: add manual RF gain settingSteve Markgraf1-1/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-07add getters for direct sampling and offset tuning modeSteve Markgraf1-0/+17
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-07tuner_r820t: improve tuning accuracy, allow freq correctionSteve Markgraf1-0/+1
We now use Hz instead of KHz for calculating the PLL parameters, and use the actual crystal frequency in Hz, which allows to correct the frequency error in ppm. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-06add function for offset tuning with zero-IF tunersSteve Markgraf1-0/+10
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-20tuner_fc0013: fix and improve manual LNA gainSteve Markgraf1-1/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-16disable second ADC in IF mode, make input selectable in DS-modeSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-13add support for direct sampling modeSteve Markgraf2-0/+14
This commit adds the function rtlsdr_set_direct_sampling() which can be used to enable/disable a mode where the RTL2832 acts as a direct sampling receiver. This mode disables the tuner, and by attaching a long wire, or better, a 50Ω to 200Ω transformer and a lowpass- filter to the In-phase ADC input (pin 1 or 2 of the RTL2832, whereas pin 1 is at the molded dot) it is possible to listen to shortwave radio stations. The coupling capacitors can be left in place, but for better results they should be removed. Tuning in this mode is done with the DDC, and since the ADC samples with 28.8 MHz, tuning is possible from 0 to 28.8 MHz. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-08autotools: add missing headerSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-08add initial support for the R820T tunerSteve Markgraf2-1/+194
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-08-02return RTLSDR_TUNER_UNKNOWN (0) on failure of rtlsdr_get_tuner_typeDimitri Stolnikov1-1/+1
2012-07-30tuner_e4k: update license in headerSteve Markgraf1-2/+7
Changing the license of the header as well, which had been forgotten in commit 6aec27c6d0830459e13f8781ad32a9c8345dcd5e - "tuner_e4k: relicense driver under GPLv2+" Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-08apply frequency correction value on the xtal clock directlyDimitri Stolnikov1-2/+15
by using this approach both, the tuning frequency and the sample rate should be corrected at the same time.
2012-07-07disable DAGC by default, add control functionSteve Markgraf1-0/+9
This adds rtlsdr_set_agc_mode() to enable/disable it. Thanks to Leif Asbrink for finding this setting. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-05add api function to control the IF gain for E4000 tunersDimitri Stolnikov1-0/+10
2012-06-02introduce getters for tuner parameters (gain, type)Dimitri Stolnikov1-0/+30
2012-05-29tuner_fc0012: use new cleaned-up driverSteve Markgraf1-17/+28
The driver was taken from http://git.linuxtv.org/ and adapted for librtlsdr. Manual gain will be added in a follow-up commit. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-27tuner_fc0013: improve tuning resolutionSteve Markgraf1-1/+1
We now use Hz instead of kHz for the internal calculations, and thus improve the tuning resolution to ~50 Hz (tested with DAB). Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-25tuner_fc0013: use new cleaned-up driverSteve Markgraf1-152/+29
The driver was taken from http://git.linuxtv.org/ and adapted for librtlsdr. Also, fc0013_set_gain() was added. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-20introduce api function to read usb string descriptorsDimitri Stolnikov1-0/+30
This API allows to read manufacturer and product names as well as the serial number advertized by the device on the bus.
2012-05-17add an initial version of rtl_testSteve Markgraf1-0/+10
This tool allows to check for lost samples (and thus check the USB connection), as well as benchmark the Elonics E4000 tunable range. (-t switch) Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-10tuner_e4k: allow frequencies above INT_MAXSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-06consolidate program argumentsDimitri Stolnikov1-1/+1
2012-05-05reset internally cached gain/freq values on setter failureDimitri Stolnikov1-1/+1
2012-05-05document gain apiDimitri Stolnikov1-0/+26
2012-05-04use new E4000 tuner driver, allow manual gainSteve Markgraf5-130/+282
Many thanks to Hoernchen for making the driver work properly and adding manual gain! Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-25introduce api to configure crystal oscillator frequencyDimitri Stolnikov2-4/+33
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-24return frequency and sample rate as unsigned integersDimitri Stolnikov1-2/+14
2012-04-22rtlsdr_read_async: buffer length must be multiple of 512Dimitri Stolnikov1-2/+2
2012-04-08new api: rtlsdr_read_async function allows to specify buffer sizeDimitri Stolnikov1-2/+38
this commit deprecates rtlsdr_wait_async function various small fixes are included in this commit
2012-04-04rtlsdr_callback: use correct pointer type for bufferSteve Markgraf1-1/+1
Silences a clang warning. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03adjust project sloganDimitri Stolnikov2-2/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03add copyright noticesDimitri Stolnikov2-1/+20
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03use unique libusb context per rtlDimitri Stolnikov1-3/+3
device this commit breaks rtlsdr_open() interface
2012-04-02introduce asynchronous streaming interfaceDimitri Stolnikov1-0/+6
this is an experimental feature
2012-04-02cmake & autotools fixes from previous commitDimitri Stolnikov3-17/+17
2012-04-02add win32 compatibilityHoernchen3-14/+45
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01consolidated function defs and implsDimitri Stolnikov1-1/+1
2012-04-01fix type definition in libraryDimitri Stolnikov2-2/+2
interface sorry mom! :P
2012-04-01add FCI FC2580 tuner supportSteve Markgraf2-1/+128
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01add preliminary cmake build systemDimitri Stolnikov1-0/+26
2012-04-01handle init/exit functions callingDimitri Stolnikov1-10/+0
automatically inside the library
2012-04-01rework on autotools handling ofDimitri Stolnikov2-1/+1
private headers