REM: this enum def sucks, you can't rely on stable model "ids" for backends.
It would be much more reasonable to use #define instead, and
having sparse id allocation. For example, all the Yaesu starts at 1000,
the Kenwood at 2000, the Icoms at 3000, etc. This way, adding a new
Yaesu model wouldn't mess up with the following models.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@403 7ae35d74-ebe9-4afe-98af-79ac388436b8
(work in progress), and priv field to help with generic backend inits.
* tuning_steps field is now shadowed in rig->state
* preamp and attenuator arrays in caps/state are now of type int
* started to code replacement for VFO and passband definitions
* misc changes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@402 7ae35d74-ebe9-4afe-98af-79ac388436b8
that is able to perform single Hamlib API calls. For maintenance reasons,
both interfaces are combined. Work is not complete yet, but it works!
The "dummy" rig backend proved to be helpful in that regard :-)
More API calls are to come, and also a man page for the command line,
and explanations about the short/long options triggering calls.
FIXME: API calls requesting more than one argument are not working yet
(still have to figure out how getopt can accept more than one arg for one
option...)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@400 7ae35d74-ebe9-4afe-98af-79ac388436b8
* renamed KHz to kHz
* RIG_MODE_WFM is back, backends not updated yet
!!! API CHANGE !!!
* added new fields 'dcd_type', 'port_type' and 'get_dcd'
* caps has a new field: 'filters'. It holds the list of installed filters
as a table of modes/bandpass tuples. See hamlib-developer for discussion.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@390 7ae35d74-ebe9-4afe-98af-79ac388436b8
* added RIT output
* added preamp and attenuator
* added has_get_func list
* removed RIG_LEVEL_ANT and RIG_LEVEL_ANN
etc.
* as a conclusion, accomodated with rig.h update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@371 7ae35d74-ebe9-4afe-98af-79ac388436b8
* RIG_LEVEL_ANN and RIG_LEVEL_ANT are no more. Welcome rig_set_ann/rig_get_ann,
and rig_set_ant/rig_get_ant (yet to be coded..)
* cosmetic changes
Significant caps update:
------------------------
* added copyright field, for author and copyright, eg "(c) 2001 Joe Bar, GPL"
* has_func and has_level have been renamed to has_set_func and has_get_level
Yes, the purpose was to squash this pit fall. Now we have has_get_func/
has_set_func and has_get_level/has_set_level. Make things more clear.
* added preamp[] and attenuator[] arrays, as discussed on hamlib-developer list
* added (almost useless) max_rit field to hold absolute max RIT
* added bank_qty and chan_desc_sz for memory name size
* removed rx_range_list/tx_range_list in favor of rx_range_list1/tx_range_list1
and rx_range_list2/tx_range_list2 for ITU region 1 and ITU region 2 resp.
Does anyone know if some rigs out there are for ITU region 3 ?
* added set_ann/get_ann and set_ant/get_ant caps
* modified get_func prototype that was not designed properly
* updated struct rig_state to shadow capabilities, in the case they
are customized
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@364 7ae35d74-ebe9-4afe-98af-79ac388436b8
different architectures. New functions are ser_ptt_open/par_ptt_open
ser_ptt_set/par_ptt_set, ser_ptt_get/par_ptt_get, and ser_ptt_close/
par_ptt_close
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@359 7ae35d74-ebe9-4afe-98af-79ac388436b8
* reworked serial/parallel PTT handling. Split functions so it'll be
easier to add support for different architectures.
This has been tested, and it works at least with my IC706 and
PTT signaling on parallel port (using Data/Packet connector)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@357 7ae35d74-ebe9-4afe-98af-79ac388436b8