add "remote" mapping
This commit is contained in:
parent
b158e0d17d
commit
23c69fb5a3
@ -1,5 +1,5 @@
|
|||||||
from .connector import ConnectorSource
|
from .connector import ConnectorSource
|
||||||
from owrx.command import Flag, Option
|
from owrx.command import Flag, Option, Argument
|
||||||
|
|
||||||
|
|
||||||
class RtlTcpSource(ConnectorSource):
|
class RtlTcpSource(ConnectorSource):
|
||||||
@ -8,5 +8,9 @@ class RtlTcpSource(ConnectorSource):
|
|||||||
super()
|
super()
|
||||||
.getCommandMapper()
|
.getCommandMapper()
|
||||||
.setBase("rtl_tcp_connector")
|
.setBase("rtl_tcp_connector")
|
||||||
.setMappings({"bias_tee": Flag("-b"), "direct_sampling": Option("-e")})
|
.setMappings({
|
||||||
|
"bias_tee": Flag("-b"),
|
||||||
|
"direct_sampling": Option("-e"),
|
||||||
|
"remote": Argument(),
|
||||||
|
})
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user