send bias tee configs for rtl_sdr
This commit is contained in:
@ -1,6 +1,14 @@
|
|||||||
from .connector import ConnectorSource
|
from .connector import ConnectorSource
|
||||||
|
from owrx.command import Flag
|
||||||
|
|
||||||
|
|
||||||
class RtlSdrSource(ConnectorSource):
|
class RtlSdrSource(ConnectorSource):
|
||||||
def getCommandMapper(self):
|
def getCommandMapper(self):
|
||||||
return super().getCommandMapper().setBase("rtl_connector")
|
return super().getCommandMapper().setBase("rtl_connector").setMappings(
|
||||||
|
{
|
||||||
|
"bias_tee": Flag("-b")
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
def getEventNames(self):
|
||||||
|
return super().getEventNames() + ["bias_tee"]
|
||||||
|
Reference in New Issue
Block a user