[Hamlib-developer] Re: New modes (was: Re: Addiions for the R-8500 and 750PRO )
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: David HM S. <sp...@ze...> - 2001-02-14 17:37:13
|
Stephane wrote... >Well, to be more exact rig_set_passband isn't any more, and rig_set_mode >evolved into a combined function: > >int rig_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width); > > >Anyway, it looks like we still lack some "modes". > * How would you set Synchronous AM (detection only), aka S-AM ? > * How would you set reverse sideband modes, like CW-R and RTTY-R ? > >To my mind, these modes belong to rig_set_mode. However, I'm wondering >if we should create new RIG_MODEs or not. >Ideas anyone? One of the problems with having to pass the passband info in rig_set_mode (as opposed to creating a new mode) implies that we know what those values are for all possible modes as defaults (i.e., set mode to FM and passband to X == FM-N for rig model Y ). This command is good for modifying the functionality once in a mode, but I think we would have to add new modes so that the rig-specific back-ends can invoke the appropriate interface commands to set the mode (which would get the passband and other settings for free). It doesn't seem there's a down side for adding more modes, it just implies that there will be modes that are not applicable to every rig (which is the case right now...) and don't show up in their mask of supported modes. In any event, as above, the back-end for a given rig will have to invoke the rig-specific op-codes to set the rig to the given mode anyway. regards, David -------------------------------------------------------------------------------- David HM Spector Network Design & Infrastructure Security sp...@ze... -or- sp...@sp... voice: +1 631.261.5013 Fax: +1 631.262.7497 Amateur Radio: W2DHM (ARRL life member) GridSquare: FN30hv (40.52'45"N 73.21'21"W) -.-. --- -. -. . -.-. - .-- .. - .... .- -- .- - . ..- .-. .-. .- -.. .. --- Those who will not reason, are bigots, those who cannot, are fools, and those who dare not, are slaves. -George Gordon Noel Byron [a.k.a Lord Byron](1788-1824) |