Saving current config via browser
Context: I'm connecting to a kiwi via a Pi 3B with a USB sound card attached. I am piping the audio out, to the audio in, and using QRSSPiG to demodulate the QRSS pictograms.
Status: This is all working ok.
Question: I am trying to capture the fussy level of settings needed for the demodulation to happen successfully. These include manual AF gain , manual RF gain and probably other things I haven't yet discovered
While I see that cookies store all the things I know I need so far (the above) I'd like to capture that in a URL and store a bookmark so that I can immediately return to the needed configuration. I know I can set AF gain (&vol=xxx) but I don't see manual/AGC settings in the example? Can I do this, and if so what is the syntax ? I don't see AGC/RF gain listed in the list of arguments you can pass via the URL.
Thanks for any help.
John
Comments
since you're already using linux in the RPi, you might consider using the kiwiclient tools rather than a browser. kiwi_nc.py, for example, give these options
Usage: kiwi_nc.py [options]
Options:
-h, --help show this help message and exit
--log=LOG_LEVEL, --log-level=LOG_LEVEL, --log_level=LOG_LEVEL
Log level: debug|info|warn(default)|error|critical
--progress Print progress messages instead of output of binary
data
-k SOCKET_TIMEOUT, --socket-timeout=SOCKET_TIMEOUT, --socket_timeout=SOCKET_TIMEOUT
Timeout(sec) for sockets
-s SERVER_HOST, --server-host=SERVER_HOST
Server host (can be a comma-delimited list)
-p SERVER_PORT, --server-port=SERVER_PORT
Server port, default 8073 (can be a comma delimited
list)
--pw=PASSWORD, --password=PASSWORD
Kiwi login password (if required, can be a comma
delimited list)
--tlimit-pw=TLIMIT_PASSWORD, --tlimit-password=TLIMIT_PASSWORD
Connect time limit exemption password (if required,
can be a comma-separated list)
-u USER, --user=USER Kiwi connection user name
--launch-delay=LAUNCH_DELAY, --launch_delay=LAUNCH_DELAY
Delay (secs) in launching multiple connections
-f FREQUENCY, --freq=FREQUENCY
Frequency to tune to, in kHz (can be a comma-separated
list). For sideband modes (lsb/lsn/usb/usn/cw/cwn)
this is the carrier frequency. See --pbc option below.
--pbc, --freq-pbc For sideband modes (lsb/lsn/usb/usn/cw/cwn) interpret
-f/--freq frequency as the passband center frequency.
-m MODULATION, --modulation=MODULATION
Modulation; one of am/amn, sam/sau/sal/sas/qam,
lsb/lsn, usb/usn, cw/cwn, nbfm, iq (default passband
if -L/-H not specified)
--ncomp, --no_compression
Don't use audio compression (IQ mode never uses
compression)
-L LP_CUT, --lp-cutoff=LP_CUT
Low-pass cutoff frequency, in Hz
-H HP_CUT, --hp-cutoff=HP_CUT
Low-pass cutoff frequency, in Hz
--tlimit=TLIMIT, --time-limit=TLIMIT
Record time limit in seconds
-T THRESH, --squelch-threshold=THRESH
Squelch threshold, in dB.
--squelch-tail=SQUELCH_TAIL
Time for which the squelch remains open after the
signal is below threshold.
-g AGC_GAIN, --agc-gain=AGC_GAIN
AGC gain; if set, AGC is turned off (can be a comma-
separated list)
--agc-decay=AGC_DECAY
AGC decay (msec); if set, AGC is turned on
--agc-yaml=AGC_YAML_FILE
AGC options provided in a YAML-formatted file
--de-emp Enable de-emphasis.
--wf, --waterfall Process waterfall data instead of audio
Hmmm. Something else I don't know how to do, but seems interesting. I'll do some searching on the forum to see how one uses kiwiclient. Being a Linux noob, everything is challenging, but the good news is I don't know what I don't know. :-)
Thanks!