Sagaert Johan | 21 Jul 2012 00:45
Picon

rig_set_mode : it sets both the mode and the filter

Hi
 
Speaking in the context of usage with Kenwood TS-950
 
I was using this to set the mode but it also sets the filter.
The TS-950  (and maybe others too)  remembers what filter was used in a specific mode, so there is no need to re-select the filters when changing mode.
(for the 950 this are 2 commands anyway)
 
My suggestion could be to allow -1 for the width param of the set_rig_mode function so that the filter setting command is not send to the TS-950.
 in kenwood_set_filter 
   if (width <0)
      return RIG_OK; 
 
This change would not break any existing code..
 
 
73's Johan on5di
 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Hamlib-developer mailing list
Hamlib-developer <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer

Gmane