rtl: add R828D tuner

Signed-off-by: Steve Markgraf <steve@steve-m.de>
wip-signat
Steve Markgraf 9 years ago
parent e1b699fda0
commit 1aa67f08bc
  1. 2
      lib/rtl/rtl_source_c.cc
  2. 4
      lib/rtl_tcp/rtl_tcp_source_c.cc
  3. 3
      lib/rtl_tcp/rtl_tcp_source_f.h

@ -464,6 +464,8 @@ osmosdr::freq_range_t rtl_source_c::get_freq_range( size_t chan )
range += osmosdr::range_t( 438e6, 924e6 );
} else if ( tuner == RTLSDR_TUNER_R820T ) {
range += osmosdr::range_t( 24e6, 1766e6 );
} else if ( tuner == RTLSDR_TUNER_R828D ) {
range += osmosdr::range_t( 24e6, 1766e6 );
}
}

@ -47,6 +47,8 @@ static std::string get_tuner_name( enum rtlsdr_tuner tuner_type )
return "FC2580";
else if ( RTLSDR_TUNER_R820T == tuner_type )
return "R820T";
else if ( RTLSDR_TUNER_R828D == tuner_type )
return "R828D";
else
return "Unknown";
}
@ -222,6 +224,8 @@ osmosdr::freq_range_t rtl_tcp_source_c::get_freq_range( size_t chan )
range += osmosdr::range_t( 438e6, 924e6 );
} else if ( tuner == RTLSDR_TUNER_R820T ) {
range += osmosdr::range_t( 24e6, 1766e6 );
} else if ( tuner == RTLSDR_TUNER_R828D ) {
range += osmosdr::range_t( 24e6, 1766e6 );
} else {
range += osmosdr::range_t( 52e6, 2.2e9 ); // assume E4000 tuner
}

@ -51,7 +51,8 @@ enum rtlsdr_tuner {
RTLSDR_TUNER_FC0012,
RTLSDR_TUNER_FC0013,
RTLSDR_TUNER_FC2580,
RTLSDR_TUNER_R820T
RTLSDR_TUNER_R820T,
RTLSDR_TUNER_R828D
};
class rtl_tcp_source_f;

Loading…
Cancel
Save