Commit Graph

15 Commits (07370a3a2234e4a29df9f9e943dbbf9da75bfd47)

Author SHA1 Message Date
hayati ayguen bc15b17dd0 rtlsdr_set_tuner_agc_mode() -> rtlsdr_set_tuner_if_mode() and simplified
* renamed API
* renamed TCP command enum to SET_TUNER_IF_MODE
* simplified interface
* if_mode/gain is now applied independent of AGC

Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-08-18 22:39:56 +00:00
hayati ayguen 22a920d0a6 merge of great additions, e.g. rtlsdr_set_tuner_sideband()
* rtlsdr_set_tuner_sideband():
- "HF-Hase" Bernhard Kistinger (DB9PP) found out,
that one of the undocumented I2C register bits of R820T tuner
controls the used tuner/mixer lower or supper sideband.
That was by testing/playing with a special QIRX version,
showing and allowing change of all I2C registers.
- previous additions in rtl_tcp allowed control of I2C registers;
in addition register contents can be transmitted periodically (to QIRX)
- "Oldenburger" developed a first version controlling the sideband bit,
and additional spectral flipping (spectrum inversion) in the RTL2832
- i've merged Oldenburger's changes with my rtlsdr_set_tuner_band_center()
=> altogether, there's no spectrum inversion, the band center stays,
just the IF filters (steep lowpass and not-so-steep highpass) switch positions

* Oldenburger's changes for FC0012 tuner
* Oldenburger added description of R820T's I2C registers
* rtl_tcp's new response channel now occupies an additional port,
usally 1235, which is +1 of default control port.
this can be deactivated by command line

Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-07-28 01:31:03 +02:00
hayati ayguen d6d3be3952 added API rtlsdr_set_tuner_agc_mode(), updated r82xx_set_bandwidth()
* added TCP/UDP command SET_TUNER_AGC_VARIANT = 0x46
* updated r82xx_set_bandwidth()
* added several commands to UDP control server:
  f: set RF center frequency
  b: set tuner bandwidth
  c: set tuner bandwidth center in output
  a: set tuner AGC variant
  m: set manual tuner gain
  M: set gainMode
  h: print help

Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-07-20 00:37:03 +02:00
hayati ayguen cfc56ba7e6 add API rtlsdr_set_tuner_band_center() +rtl_tcp +rtl_udp
* use rtlsdr_get_opt_help() in usage of tools

Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-06-19 03:30:00 +02:00
hayati ayguen d6e2a8a719 udp server now optional, default:off. +fixe data/mask-order
* fix function parameter order mask/data
* add control for register 30 = 0x1e
2019-06-19 03:12:36 +02:00
hayati ayguen ce12ac0fd9 further changes/additions for udp server
* added API rtlsdr_set_tuner_i2c_override() to keep register contents
* added SET_I2C_TUNER_REGISTER and SET_I2C_TUNER_OVERRIDE commands
 to rtl_tcp for the R820T tuner
* moved udp server variables into struct rtlsdr_dev
* added hexadecimal and binary format at input for udp server
* start udp server optionally at rtlsdr_set_opt_string()
 with option '-O port='

Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-05-05 19:27:10 +02:00
hayati ayguen 35bfcd6956 applied changes from https://github.com/gat3way/r820tweak
* with kind permission of Milen Rangelov <gat3way@gmail.com>,
necessary caused by modified GPLv3 license
* unfortunately this revision doesn't compile

Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-04-28 22:41:33 +02:00
hayati ayguen 00fe84cac1 more register hacking - with environment variables
Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-04-20 16:15:50 +02:00
hayati ayguen dd313f8d15 expose/permit hacking of Tuner-specific I2C registers
implemented for R820T tuner

Signed-off-by: hayati ayguen <h_ayguen@web.de>
2019-04-20 15:31:53 +02:00
Hayati Ayguen af20337c93 added rtlsdr_set_and_get_tuner_bandwidth() to RTLSDR_API
this allows to return the configured/applied bandwidth to the caller
this also allows pre-determining all possible bandwidth values (with apply_bw=0)
  see rtl_fm with verbose flag, when using -w option
API does only work for R820T tuner. other tuner always return 0 (=unknown) bandwidth

Signed-off-by: Lucas Teske <lucas@teske.net.br>
2016-03-20 12:48:21 -03:00
Joseph Poirier 38312eac03 minor formatting 2016-03-06 12:08:27 -06:00
Lucas Teske 25d0e8e673 Ported SDR# R820T Manual Gain Settings Plugin
*	Ported Manual Gain Settings for R820T from http://sourceforge.net/projects/sdrr820tmanualgainsettings/
2016-01-31 16:05:12 -02:00
Jiří Pinkava d892279085 Allow setting bandwidth for R820T
This improves SDR performence for nearby channel interference.
As a sideeffect also improves dynamic range becase ADC is not overloaded
by onwanted singlas.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2015-05-16 00:37:17 +02:00
Steve Markgraf e61731d230 add support for R828D tuner
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:51:35 +01:00
Steve Markgraf 230930e975 use new driver for R8XX tuners
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 21:50:02 +01:00