19 lines
494 B
Python
Raw Normal View History

from .connector import ConnectorSource
2020-08-16 23:22:46 +02:00
from owrx.command import Flag, Option, Argument
class RtlTcpSource(ConnectorSource):
def getCommandMapper(self):
return (
super()
.getCommandMapper()
.setBase("rtl_tcp_connector")
2021-01-20 17:01:46 +01:00
.setMappings(
{
"bias_tee": Flag("-b"),
"direct_sampling": Option("-e"),
"remote": Argument(),
}
)
)