openwebrx-clone/owrx/source/rtl_tcp.py
2020-08-16 21:49:52 +02:00

13 lines
353 B
Python

from .connector import ConnectorSource
from owrx.command import Flag, Option
class RtlTcpSource(ConnectorSource):
def getCommandMapper(self):
return (
super()
.getCommandMapper()
.setBase("rtl_tcp_connector")
.setMappings({"bias_tee": Flag("-b"), "direct_sampling": Option("-e")})
)