Re: [Hamlib-developer] Re: RIG_SCAN_RESUME_ON/OFF
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Stephane F. <f4...@fr...> - 2002-03-05 00:54:43
|
On Sat, Mar 02, 2002, Francois Retief wrote: > > > > Francois, don't you think it should be RIG_FUNC_RESUME instead ? > > > > I am not sure. The routine that uses this constant is rig_scan(..) > But this routine has no extra variable to switch on/off the resume > function. That is why I added the constants as it is above. > > Maybe we should change it to a function, ie. RIG_FUNC_SCAN_RESUME. > Then we can use rig_set_func(..) to enable/disable the scan resume > function. RIG_FUNC_SCAN_RESUME or RIG_FUNC_RESUME is fine with me. > Quote from the manual: > > "Scan resume ON/OFF > You can select the scan to resume or cancel when re- > ceiving a signal, in the scan set mode. Scan resume > ON/OFF must be set before operating a scan." > > What do you think? I'm asking myself the following question: Is it a setting or is it an action? If it's a setting, then it should be set through rig_set_func. If it's an action, it pertains to rig_scan. So I think rig_set_func/rig_get_func looks more appropriate. Cheers, Stephane |