add direct_sampling mapping for rtl_sdr
This commit is contained in:
parent
78704885d7
commit
70ba0cd618
@ -14,6 +14,7 @@
|
||||
- FiFi SDR: prevent arecord from shutting down after 2GB of data has been sent
|
||||
- Added support for bias tee control on rtl_sdr devices
|
||||
- All connector driven SDRs now support `"rf_gain": "auto"` to enable AGC
|
||||
- `rtl_sdr` type now also supports the `direct_sampling` option
|
||||
|
||||
**0.18.0**
|
||||
- Support for SoapyRemote
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -18,6 +18,7 @@ openwebrx (0.19.0) UNRELEASED; urgency=low
|
||||
sent
|
||||
* Added support for bias tee control on rtl_sdr devices
|
||||
* All connector driven SDRs now support `"rf_gain": "auto"` to enable AGC
|
||||
* `rtl_sdr` type now also supports the `direct_sampling` option
|
||||
|
||||
-- Jakob Ketterl <jakob.ketterl@gmx.de> Thu, 20 Feb 2020 21:01:00 +0000
|
||||
|
||||
|
@ -1,14 +1,15 @@
|
||||
from .connector import ConnectorSource
|
||||
from owrx.command import Flag
|
||||
from owrx.command import Flag, Option
|
||||
|
||||
|
||||
class RtlSdrSource(ConnectorSource):
|
||||
def getCommandMapper(self):
|
||||
return super().getCommandMapper().setBase("rtl_connector").setMappings(
|
||||
{
|
||||
"bias_tee": Flag("-b")
|
||||
}
|
||||
return (
|
||||
super()
|
||||
.getCommandMapper()
|
||||
.setBase("rtl_connector")
|
||||
.setMappings({"bias_tee": Flag("-b"), "direct_sampling": Option("-e")})
|
||||
)
|
||||
|
||||
def getEventNames(self):
|
||||
return super().getEventNames() + ["bias_tee"]
|
||||
return super().getEventNames() + ["bias_tee", "direct_sampling"]
|
||||
|
Loading…
Reference in New Issue
Block a user