add a new source for rtl_tcp and rtl_tcp_connector
This commit is contained in:
12
owrx/source/rtl_tcp.py
Normal file
12
owrx/source/rtl_tcp.py
Normal 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")})
|
||||
)
|
Reference in New Issue
Block a user