Commit Graph

403 Commits

Author SHA1 Message Date
Stéphane Fillod, F8CFE
16418f4409 * cleanup
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@408 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-28 20:24:44 +00:00
Stéphane Fillod, F8CFE
59ce5b695a * misc rewrite
* new fields in caps: vfo_list, priv
* shadowed tuning_steps
* coded in rig_passband_normal,rig_passband_narrow and rig_passband_wide
  as examples. Not activated yet.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@407 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-27 23:10:12 +00:00
Stéphane Fillod, F8CFE
08a7c48d05 * misc rewrite
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@406 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-27 23:06:53 +00:00
Stéphane Fillod, F8CFE
8efc759e81 * more output
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@405 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-27 23:04:35 +00:00
Stéphane Fillod, F8CFE
7e94783822 * 2 new fields in caps (vfo_list and priv)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@404 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-27 23:03:45 +00:00
Stéphane Fillod, F8CFE
6a09a63bb0 * added few other rig models
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
2001-02-27 23:01:25 +00:00
Stéphane Fillod, F8CFE
81edd610fe * CHANGE in caps: added new field vfo_list to describe available VFOs
(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
2001-02-27 22:56:23 +00:00
Stéphane Fillod, F8CFE
f0524393ca * renamed "rig_s" local variable by "rs"
* filled in icom_set_level, not tested thoroughly though
* tuned a little bit icom_get_level, need testing...


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@401 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-26 23:16:11 +00:00
Stéphane Fillod, F8CFE
16dd038887 * first attempt at having a combined command line and interactive utility,
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
2001-02-25 23:14:19 +00:00
Stéphane Fillod, F8CFE
aaec33e8a7 * added RIG_LEVEL_IS_FLOAT macro to known which levels are of float type,
and what are the others of integer type.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@399 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-25 23:06:18 +00:00
Stéphane Fillod, F8CFE
f4f759c8a0 * spelling update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@398 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-15 00:02:20 +00:00
Stéphane Fillod, F8CFE
bbb9253c5f * misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@397 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-15 00:01:35 +00:00
Stéphane Fillod, F8CFE
70a3f47a28 * knows about dcd, port type, filters
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@396 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-15 00:01:08 +00:00
Stéphane Fillod, F8CFE
d6eb493604 * enabled dcd state retrieval code
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@395 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-15 00:00:11 +00:00
Stéphane Fillod, F8CFE
8e69eb6033 * added rig_get_dcd support
* added port_type and filters proper shadowing


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@394 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 23:59:09 +00:00
Stéphane Fillod, F8CFE
073afc1dd9 * started to be more verbose in API calls, still much work to do
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@393 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 23:57:30 +00:00
Stéphane Fillod, F8CFE
36f4bc92c4 * added icom_get_dcd
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@392 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 23:55:54 +00:00
Stéphane Fillod, F8CFE
8970be14de * update after API modification (new fields, KHz -> kHz)
* backend maintainers: please populate caps->filters


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@391 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 23:54:21 +00:00
Stéphane Fillod, F8CFE
617c6ade52 * added rig_get_dcd() support (RIG_LEVEL_SQLSTAT might disappear)
* 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
2001-02-14 23:51:44 +00:00
Stéphane Fillod, F8CFE
7796233b85 * load 'dummy' backend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@389 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:13:20 +00:00
Stéphane Fillod, F8CFE
8fa6997684 * load 'dummy' backend\n* added proper support for RIG_TYPE_OTHER rigs
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@388 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:12:59 +00:00
Stéphane Fillod, F8CFE
8aa7914570 * load 'dummy' backend
* misc updates


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@387 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:11:22 +00:00
Stéphane Fillod, F8CFE
3036906158 * added 'dummy' backend link path
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@386 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:10:36 +00:00
Stéphane Fillod, F8CFE
0f2d6fd179 * started some wider term control support (termios, termio, sgtty),
still not OK on win32


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@385 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:09:57 +00:00
Stéphane Fillod, F8CFE
8c9880b0dd * added RIG_PORT_NONE propoer support in rig_open
* added rig_set_ann/rig_get_ann and rig_set_ant/rig_get_ant wrappers


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@384 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:08:12 +00:00
Stéphane Fillod, F8CFE
f128a7144e * tried some cygwin porting, still not working yet
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@383 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:06:53 +00:00
Stéphane Fillod, F8CFE
b901a320c8 * added new RIG_MODEL_DUMMY; NB RIG_MODEL_FT847 constant is no more equal to 0
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@382 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:05:41 +00:00
Stéphane Fillod, F8CFE
3f7c07e6ce * regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@381 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:04:40 +00:00
Stéphane Fillod, F8CFE
f900fde932 * regenerated (new backend)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@380 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:04:20 +00:00
Stéphane Fillod, F8CFE
31edbdd363 * added new 'dummy' backend\n* misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@379 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:03:42 +00:00
Stéphane Fillod, F8CFE
e29abf0fb9 * added new 'dummy' backend, for debugging purpose mainly
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@378 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:02:39 +00:00
Stéphane Fillod, F8CFE
95391dcf42 * add missing files. Hopefuly, checkouts should compile fine now.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@377 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 01:01:34 +00:00
Stéphane Fillod, F8CFE
147263d017 * Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@376 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-14 00:59:02 +00:00
Stéphane Fillod, F8CFE
6b443b6dba * misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@375 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:25:37 +00:00
Stéphane Fillod, F8CFE
3403ff2671 * update after caps changes (see rig.h changelog)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@374 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:23:17 +00:00
Stéphane Fillod, F8CFE
a142071585 * fixed various things after caps update (see rig.h changelog)
* added support for set_level/get_level and set_func/get_func.
  more tests needed, reports welcome!


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@373 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:22:06 +00:00
Stéphane Fillod, F8CFE
eb54324f18 * added RIG_TYPE_PCRECEIVER
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@372 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:20:33 +00:00
Stéphane Fillod, F8CFE
3554b614c7 * added RIG_TYPE_PCRECEIVER
* 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
2001-02-11 23:19:58 +00:00
Stéphane Fillod, F8CFE
41e6bec773 * misc update
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@370 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:16:07 +00:00
Stéphane Fillod, F8CFE
1285baa953 * include config.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@369 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:15:38 +00:00
Stéphane Fillod, F8CFE
7e3dc64bc7 * RIG_LEVEL_ANT and RIG_LEVEL_ANN are no more
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@368 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:14:28 +00:00
Stéphane Fillod, F8CFE
92aa93824a * update after caps changes, see rig.h changelog
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@367 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:13:13 +00:00
Stéphane Fillod, F8CFE
8c1d1ba755 * welcome in the new millenium\!
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@366 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:10:23 +00:00
Stéphane Fillod, F8CFE
da3ff63df3 * updated after caps changes, see rig.h changelog
* fixed a potential divide by zero bug in rig_mW2power
* misc updates


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@365 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 23:09:16 +00:00
Stéphane Fillod, F8CFE
c7bfdbb64e * added RIG_TYPE_PCRECEIVER type
* 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
2001-02-11 23:04:54 +00:00
Stéphane Fillod, F8CFE
ab81d4b4d9 * credits
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@363 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-11 22:50:35 +00:00
Stéphane Fillod, F8CFE
03efc4ea5d * duplicate
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@362 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-09 23:13:20 +00:00
Stéphane Fillod, F8CFE
57599d1ac2 * Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@361 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-09 23:11:52 +00:00
Stéphane Fillod, F8CFE
5e21360c25 * added 'testfreq' to check float to freq_t conversions
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@360 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-09 23:11:14 +00:00
Stéphane Fillod, F8CFE
944abe6ca2 * Split functions so it'll be easier to add support for
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
2001-02-09 23:09:50 +00:00