Example #1
0
 def getCommandMapper(self):
     return super().getCommandMapper().setBase("arecord").setMappings({
         "device":
         Option("-D"),
         "samp_rate":
         Option("-r")
     }).setStatic("-f S16_LE -c2 -")
Example #2
0
 def getCommandMapper(self):
     return (
         super().getCommandMapper().setBase("soapy_connector").setMappings({
             "antenna":
             Option("-a"),
             "soapy_settings":
             Option("-t"),
         }))
Example #3
0
 def getCommandMapper(self):
     return super().getCommandMapper().setBase(
         "hackrf_transfer").setMappings({
             "samp_rate": Option("-s"),
             "tuner_freq": Option("-f"),
             "rf_gain": Option("-g"),
             "lna_gain": Option("-l"),
             "rf_amp": Option("-a"),
         }).setStatic("-r-")
Example #4
0
 def getCommandMapper(self):
     return (
         super().getCommandMapper().setBase("hpsdrconnector").setMappings({
             "tuner_freq":
             Option("--frequency"),
             "samp_rate":
             Option("--samplerate"),
             "remote":
             Option("--radio"),
             "rf_gain":
             Option("--gain"),
         }))
Example #5
0
 def getCommandMapper(self):
     return (super().getCommandMapper().setBase(
         "rtl_tcp_connector").setMappings({
             "bias_tee": Flag("-b"),
             "direct_sampling": Option("-e"),
             "remote": Argument(),
         }))
Example #6
0
 def getCommandMapper(self):
     return (
         super()
         .getCommandMapper()
         .setBase("perseustest -p -d -1 -a -t 0 -o -  ")
         .setMappings(
             {
                 "samp_rate": Option("-s"),
                 "tuner_freq": Option("-f"),
                 "attenuator": Option("-u"),
                 "adc_preamp": Flag("-m"),
                 "adc_dither": Flag("-x"),
                 "wideband": Flag("-w"),
             }
         )
     )
Example #7
0
 def getCommandMapper(self):
     return (
         super().getCommandMapper().setBase("runds_connector").setMappings({
             "long":
             Flag("-l"),
             "remote":
             Argument(),
             "protocol":
             Option("-m"),
         }))
Example #8
0
 def getCommandMapper(self):
     return (
         super()
         .getCommandMapper()
         .setMappings(
             {
                 "samp_rate": Option("-s"),
                 "tuner_freq": Option("-f"),
                 "port": Option("-p"),
                 "controlPort": Option("-c"),
                 "device": Option("-d"),
                 "iqswap": Flag("-i"),
                 "rtltcp_compat": Option("-r"),
                 "ppm": Option("-P"),
                 "rf_gain": Option("-g"),
             }
         )
     )
Example #9
0
 def getCommandMapper(self):
     return super().getCommandMapper().setMappings(
         {"direct_sampling": Option("-t direct_samp").setSpacer("=")})