add a new source for rtl_tcp and rtl_tcp_connector

This commit is contained in:
Jakob Ketterl
2020-08-16 21:49:52 +02:00
parent bc000451cc
commit c9dd33ba57
4 changed files with 25 additions and 1 deletions

12
owrx/source/rtl_tcp.py Normal file
View File

@ -0,0 +1,12 @@
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")})
)