Reply To: How to use my RSPduo w/ Rpi-3 & command line?

SDRPlay Independent Community Forum Forums General How to use my RSPduo w/ Rpi-3 & command line? Reply To: How to use my RSPduo w/ Rpi-3 & command line?

#1725
Anonymous

    If you look into sdrTest – main you can see the current list –

    A quick summary of the options-

    -debug – turn on debug print out
    -am – set mode to am
    -fm – set mode of fm
    -nbfm – set mode to narrow band fm
    -usb – set mode to upper sideband
    -lsd – set mode to lower sideband
    -gain 1.0 – set audio gain to maximum gain
    -fc 1e6 – set center frequency to 1 MHZ
    -f 0.76e6 – set receive frequency to 760,000 HZ abs(f-fc) needs to less that 0.5*samplerate;

    -device 0 – select SDR device 0

    -audiodevice 1 – select audio output device 1

    -timeout 10 – play for 10 seconds then quit the program.

    -samplerate 10e6 – set sample rate to 10 MHZ

    -faudio 48000 – this is the default audio rate and you normally do not change it, expect when you are writing to a file

    -antenna “Tuner 1 50 ohm”

    In you case
    Rx antennas:
    Tuner 1 50 ohm
    Tuner 1 Hi-Z
    Tuner 2 50 ohm

    -set rfnotch_ctrl true – turn on the notch filter (i.e. kill AM and FM bands)
    -set dabnotch_ctrl true – turn on the dabnotch filter (i.e. kill dab bands)
    -set biasT_ctrl true – turn on voltage to power external antenna device

    in you case the set options are, but I not sure what the rest of them are for –

    Setting Info:
    key rfgain_sel value 4 read 4 type 3 min 0 max 0 step 1.17877e-310
    key iqcorr_ctrl value true read true type 0 min 0 max 0 step 1.09123e+265
    key agc_setpoint value -30 read -30 type 1 min -60 max 0 step 0
    key extref_ctrl value true read false type 0 min 0 max 0 step 1.15312e-271
    key biasT_ctrl value true read false type 0 min 0 max 0 step 4.97896e-313
    key rfnotch_ctrl value true read false type 0 min 0 max 0 step 1.09123e+265
    key dabnotch_ctrl value true read false type 0 min 0 max 0 step 1.17877e-310

    -dumpbyminute – dumps I/Q files every minute
    -file fileout – writes the audio output to file out
    -PPM -0.380 – does not seem work

    What is missing is the control for the gains –

    In you case –

    Gain range RX min 0 max 48

    Gains:
    0 IFGR range max 59 min 20
    1 RFGR range max 9 min 0

    It only another 20 lines of code, but I have not gotten around to it yet since the defaults usually work OK.