Wykres commitów

15 Commity (16692258a1adab993308620dcf42d67643a39c1c)

Autor SHA1 Wiadomość Data
Michael Black 9e3f29447d
Clean up cppcheck warnings in c++ 2019-12-06 16:22:16 -06:00
Michael Black 73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end 2019-08-17 23:20:48 -05:00
Bill Somerville 21c346453a Implement combined split VFO frequency and mode setting.
CAT protocols that don't allow  direct addressing of VFOs require that
the  "other" VFO  be queried  or set  via a  select then  get/set then
select back  to original or  swap then  get/set then swap  again. When
both frequncy and  mode need to be set the  sequences can be optimized
if a single funciton is avaiable.

This enhancement adds those single functions rig_set_split_freq_mode()
and  rig_get_split_freq_mode()  with  a default  impelementation  that
calls the individual rig_{get,set}_split_{freq,mode}() functions. Back
ends  can choose  to  implement  an optimized  version  which is  used
instead of the default if present.

Using these  functions when  an optimized implementation  is available
allows the TX VFO's frequency and mode to be set in a single operation
with  only  one   VFO  exchange  or  selection  either   side  of  the
operation.  Many CAT  protocols  are very  efficient  when getting  or
setting both  frequency and mode  and some even  combine the two  in a
single command.

The letters 'K' and 'k' are used for the rigctl short command name for
these functions.
2016-03-23 17:09:26 +00:00
Nate Bargmann 13ca0caff3 Update LGPL header in c++ source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:34 -05:00
Stéphane Fillod, F8CFE a07a4a336e Adopt new split_vfo handling. Basically, rename set_split/get_split
to set_split_vfo/get_split_vfo, and take an extra transmit vfo arg.
Ascending compatibility is retained at the API frontend level.
NOTE: only function name has changed. The backends do not implement
necessarily the new semantic (the extra tx vfo is just ignored).


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1425 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-06 18:40:36 +00:00
Stéphane Fillod, F8CFE 48730cb9f7 misc fix for picky compilers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1187 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-09-22 11:41:49 +00:00
Stéphane Fillod, F8CFE 7bf3972b30 - removed rig_save_channel and rig_restore_channel from API
- rig_set_channel and rig_get_channel can now target VFO, besides memories
- emulation of set_channel and get_channel has been kept in generic routines.
  Added in these routines the support for ext_levels.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1113 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-09 22:17:14 +00:00
Stéphane Fillod, F8CFE 2fd1486135 added a private data pointer argument to event callbacks
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@977 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-27 23:25:42 +00:00
Stéphane Fillod, F8CFE dcf4cb10ba augmented C++ API
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@813 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-27 21:50:14 +00:00
Stéphane Fillod, F8CFE 170644f6e5 removed useless vfo arg to set_trn/get_trn funcs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@780 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:46:13 +00:00
Stéphane Fillod, F8CFE cf3f159b4d static/dynamic build fixes and added split wrappers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@747 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-16 11:18:40 +00:00
Stéphane Fillod, F8CFE 3c0bc9a18c added 2 news calls
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@703 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-11-08 07:38:38 +00:00
Stéphane Fillod, F8CFE 48bc28ecf5 converted to LGPL
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@583 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-13 19:16:58 +00:00
Stéphane Fillod, F8CFE cfdf0276ae more work on C++ bindings
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@560 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-18 20:17:20 +00:00
Stéphane Fillod, F8CFE 398c0d580a Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@550 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-15 06:58:12 +00:00