mirror of https://github.com/drowe67/librtlsdr.git
replaced all 'R820T' by 'R820T/2'
this is to indicate, they are not distinguishable in software Signed-off-by: hayati ayguen <h_ayguen@web.de>development
parent
756d05cf2d
commit
dc1e5a1618
|
@ -209,7 +209,7 @@ enum rtlsdr_tuner {
|
||||||
RTLSDR_TUNER_FC0012,
|
RTLSDR_TUNER_FC0012,
|
||||||
RTLSDR_TUNER_FC0013,
|
RTLSDR_TUNER_FC0013,
|
||||||
RTLSDR_TUNER_FC2580,
|
RTLSDR_TUNER_FC2580,
|
||||||
RTLSDR_TUNER_R820T,
|
RTLSDR_TUNER_R820T, /* or R820T2 - R820T and R820T2 is not disdinguishable */
|
||||||
RTLSDR_TUNER_R828D
|
RTLSDR_TUNER_R828D
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ RTLSDR_API int rtlsdr_set_tuner_sideband(rtlsdr_dev_t *dev, int sideband);
|
||||||
RTLSDR_API int rtlsdr_get_tuner_gain(rtlsdr_dev_t *dev);
|
RTLSDR_API int rtlsdr_get_tuner_gain(rtlsdr_dev_t *dev);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Set LNA / Mixer / VGA Device Gain for R820T device is configured to.
|
* Set LNA / Mixer / VGA Device Gain for R820T/2 device is configured to.
|
||||||
*
|
*
|
||||||
* \param dev the device handle given by rtlsdr_open()
|
* \param dev the device handle given by rtlsdr_open()
|
||||||
* \param lna_gain index in 0 .. 15: 0 == min; see tuner_r82xx.c table r82xx_lna_gain_steps[]
|
* \param lna_gain index in 0 .. 15: 0 == min; see tuner_r82xx.c table r82xx_lna_gain_steps[]
|
||||||
|
|
|
@ -31,7 +31,7 @@ The dongle_info consists of 3 fields:
|
||||||
with length 4 bytes.
|
with length 4 bytes.
|
||||||
|
|
||||||
2- tuner type: identifies the tuner chip built in the controlled RTL-SDR model,
|
2- tuner type: identifies the tuner chip built in the controlled RTL-SDR model,
|
||||||
e.g. E4000 or R820T.
|
e.g. E4000 or R820T or R820T2.
|
||||||
This element is an unsigned 32 bit integer, starting at offset 4
|
This element is an unsigned 32 bit integer, starting at offset 4
|
||||||
with length: 4 bytes.
|
with length: 4 bytes.
|
||||||
|
|
||||||
|
|
|
@ -2914,7 +2914,7 @@ int rtlsdr_open(rtlsdr_dev_t **out_dev, uint32_t index)
|
||||||
|
|
||||||
reg = rtlsdr_i2c_read_reg(dev, R820T_I2C_ADDR, R82XX_CHECK_ADDR);
|
reg = rtlsdr_i2c_read_reg(dev, R820T_I2C_ADDR, R82XX_CHECK_ADDR);
|
||||||
if (reg == R82XX_CHECK_VAL) {
|
if (reg == R82XX_CHECK_VAL) {
|
||||||
fprintf(stderr, "Found Rafael Micro R820T tuner\n");
|
fprintf(stderr, "Found Rafael Micro R820T/2 tuner\n");
|
||||||
dev->tuner_type = RTLSDR_TUNER_R820T;
|
dev->tuner_type = RTLSDR_TUNER_R820T;
|
||||||
goto found;
|
goto found;
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,7 +123,7 @@ void usage(void)
|
||||||
"\t[-b number of buffers (default: 15, set by library)]\n"
|
"\t[-b number of buffers (default: 15, set by library)]\n"
|
||||||
"\t[-l length of single buffer in units of 512 samples (default: 32 was 256)]\n"
|
"\t[-l length of single buffer in units of 512 samples (default: 32 was 256)]\n"
|
||||||
"\t[-n max number of linked list buffers to keep (default: 500)]\n"
|
"\t[-n max number of linked list buffers to keep (default: 500)]\n"
|
||||||
"\t[-w rtlsdr tuner bandwidth [Hz] (for R820T and E4000 tuners)]\n"
|
"\t[-w rtlsdr tuner bandwidth [Hz] (for R820T/2 and E4000 tuners)]\n"
|
||||||
"\t[-d device index or serial (default: 0)]\n"
|
"\t[-d device index or serial (default: 0)]\n"
|
||||||
"\t[-P ppm_error (default: 0)]\n"
|
"\t[-P ppm_error (default: 0)]\n"
|
||||||
"%s"
|
"%s"
|
||||||
|
|
|
@ -119,7 +119,7 @@ void usage(void)
|
||||||
"\t[-b number of buffers (default: 15, set by library)]\n"
|
"\t[-b number of buffers (default: 15, set by library)]\n"
|
||||||
"\t[-l length of single buffer in units of 512 samples (default: 32 was 256)]\n"
|
"\t[-l length of single buffer in units of 512 samples (default: 32 was 256)]\n"
|
||||||
"\t[-n max number of linked list buffers to keep (default: 500)]\n"
|
"\t[-n max number of linked list buffers to keep (default: 500)]\n"
|
||||||
"\t[-w rtlsdr tuner bandwidth [Hz] (for R820T and E4000 tuners)]\n"
|
"\t[-w rtlsdr tuner bandwidth [Hz] (for R820T/2 and E4000 tuners)]\n"
|
||||||
"\t[-d device index or serial (default: 0)]\n"
|
"\t[-d device index or serial (default: 0)]\n"
|
||||||
"\t[-P ppm_error (default: 0)]\n"
|
"\t[-P ppm_error (default: 0)]\n"
|
||||||
"%s"
|
"%s"
|
||||||
|
|
Loading…
Reference in New Issue