summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-01-16lib: enable standby mode of e4k and r820t on exitSteve Markgraf
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 Markgraf
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 Markgraf
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 Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-07add getters for direct sampling and offset tuning modeSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-07tuner_r820t: improve tuning accuracy, allow freq correctionSteve Markgraf
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 Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-20tuner_fc0013: fix and improve manual LNA gainSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-16disable second ADC in IF mode, make input selectable in DS-modeSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-13add support for direct sampling modeSteve Markgraf
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 Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-08add initial support for the R820T tunerSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-08-02return RTLSDR_TUNER_UNKNOWN (0) on failure of rtlsdr_get_tuner_typeDimitri Stolnikov
2012-07-30tuner_e4k: update license in headerSteve Markgraf
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 Stolnikov
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 Markgraf
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 Stolnikov
2012-06-02introduce getters for tuner parameters (gain, type)Dimitri Stolnikov
2012-05-29tuner_fc0012: use new cleaned-up driverSteve Markgraf
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 Markgraf
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 Markgraf
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 Stolnikov
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 Markgraf
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 Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-06consolidate program argumentsDimitri Stolnikov
2012-05-05reset internally cached gain/freq values on setter failureDimitri Stolnikov
2012-05-05document gain apiDimitri Stolnikov
2012-05-04use new E4000 tuner driver, allow manual gainSteve Markgraf
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 Stolnikov
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 Stolnikov
2012-04-22rtlsdr_read_async: buffer length must be multiple of 512Dimitri Stolnikov
2012-04-08new api: rtlsdr_read_async function allows to specify buffer sizeDimitri Stolnikov
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 Markgraf
Silences a clang warning. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03adjust project sloganDimitri Stolnikov
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03add copyright noticesDimitri Stolnikov
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-03use unique libusb context per rtlDimitri Stolnikov
device this commit breaks rtlsdr_open() interface
2012-04-02introduce asynchronous streaming interfaceDimitri Stolnikov
this is an experimental feature
2012-04-02cmake & autotools fixes from previous commitDimitri Stolnikov
2012-04-02add win32 compatibilityHoernchen
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01consolidated function defs and implsDimitri Stolnikov
2012-04-01fix type definition in libraryDimitri Stolnikov
interface sorry mom! :P
2012-04-01add FCI FC2580 tuner supportSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01add preliminary cmake build systemDimitri Stolnikov
2012-04-01handle init/exit functions callingDimitri Stolnikov
automatically inside the library
2012-04-01rework on autotools handling ofDimitri Stolnikov
private headers
2012-04-01add FC0012 driverSteve Markgraf
Thanks to David Badsen! Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-01add skeleton routines for setting tuner gainDimitri Stolnikov
2012-03-31add support for autoprobing the tunersSteve Markgraf
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-03-27add autotools based build systemDimitri Stolnikov