SigDigger icon indicating copy to clipboard operation
SigDigger copied to clipboard

Add GUI options for setting soapy remote configuration

Open jedi7 opened this issue 3 years ago • 1 comments

Actually is possible to connect to SoapyRemote only by editing the suscan config files. Example (file: ~/.suscan/config/sources.xml) <suscan:object name="sdr_args"> <suscan:field name="driver" value="remote" /> <suscan:field name="soapy" value="0" /> <suscan:field name="remote" value="tcp://myremotesdr:55132" /> </suscan:object>

Goal is to add possibility to change these parameters in GUI

jedi7 avatar Jul 01 '21 07:07 jedi7

This is definitely a necessity, do you think you can make it? Btw a good place to edit this would be the configuration dialog (ConfigDialog.cpp, Config.ui), you'd basically have to edit the profile params using getParam / setParam, but I believe neither I provided anything to enumerate parameters (like a _walk method) nor a way to effectively remove parameters. Since profiles are actually handled in suscan (see analyzer/source.[ch]) you may also have to expose an API there (in C) to handle enumeration and removal.

PS, some thoughts before coding this: have in mind that there are two different objects with very similar parameters. The suscan_source_device_t has soapy_args with defaults that overwrite the soapy_args in suscan_source_config_t as soon as you set the device to the latter. Do we want to keep user-defined parameters set after the device is changed, or do we want to treat them separately?

BatchDrake avatar Jul 01 '21 07:07 BatchDrake