add "remote" mapping

This commit is contained in:
Jakob Ketterl 2020-08-16 23:22:46 +02:00
parent b158e0d17d
commit 23c69fb5a3

View File

@ -1,5 +1,5 @@
from .connector import ConnectorSource
from owrx.command import Flag, Option
from owrx.command import Flag, Option, Argument
class RtlTcpSource(ConnectorSource):
@ -8,5 +8,9 @@ class RtlTcpSource(ConnectorSource):
super()
.getCommandMapper()
.setBase("rtl_tcp_connector")
.setMappings({"bias_tee": Flag("-b"), "direct_sampling": Option("-e")})
.setMappings({
"bias_tee": Flag("-b"),
"direct_sampling": Option("-e"),
"remote": Argument(),
})
)