From 23c69fb5a3529069109ed1b52410d90fb9f61af9 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 16 Aug 2020 23:22:46 +0200 Subject: [PATCH] add "remote" mapping --- owrx/source/rtl_tcp.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/owrx/source/rtl_tcp.py b/owrx/source/rtl_tcp.py index fcf719e..03c3109 100644 --- a/owrx/source/rtl_tcp.py +++ b/owrx/source/rtl_tcp.py @@ -1,5 +1,5 @@ from .connector import ConnectorSource -from owrx.command import Flag, Option +from owrx.command import Flag, Option, Argument class RtlTcpSource(ConnectorSource): @@ -8,5 +8,9 @@ class RtlTcpSource(ConnectorSource): super() .getCommandMapper() .setBase("rtl_tcp_connector") - .setMappings({"bias_tee": Flag("-b"), "direct_sampling": Option("-e")}) + .setMappings({ + "bias_tee": Flag("-b"), + "direct_sampling": Option("-e"), + "remote": Argument(), + }) )