Esempio n. 1
0
 def getCommandMapper(self):
     return super().getCommandMapper().setBase("arecord").setMappings({
         "device":
         Option("-D"),
         "samp_rate":
         Option("-r")
     }).setStatic("-f S16_LE -c2 -")
Esempio n. 2
0
 def getCommandMapper(self):
     return (
         super().getCommandMapper().setBase("soapy_connector").setMappings({
             "antenna":
             Option("-a"),
             "soapy_settings":
             Option("-t"),
         }))
Esempio n. 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-")
Esempio n. 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"),
         }))
Esempio n. 5
0
 def getCommandMapper(self):
     return (super().getCommandMapper().setBase(
         "rtl_tcp_connector").setMappings({
             "bias_tee": Flag("-b"),
             "direct_sampling": Option("-e"),
             "remote": Argument(),
         }))
Esempio n. 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"),
             }
         )
     )
Esempio n. 7
0
 def getCommandMapper(self):
     return (
         super().getCommandMapper().setBase("runds_connector").setMappings({
             "long":
             Flag("-l"),
             "remote":
             Argument(),
             "protocol":
             Option("-m"),
         }))
Esempio n. 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"),
             }
         )
     )
Esempio n. 9
0
 def getCommandMapper(self):
     return super().getCommandMapper().setMappings(
         {"direct_sampling": Option("-t direct_samp").setSpacer("=")})