Commit Graph

47 Commits

Author SHA1 Message Date
Bill Somerville
222ad74de7 Add RIG_PASSBAND_NOCHANGE as possible set_{split_,split_freq_,}mode argument
This change  allows the set_mode  functions to leave the  rig passband
unchanged  if required.  For the  few rigs  that do  not have  explcit
passband width control either current state is read and rewritten or a
"normal" width  is chosen e.g. select  a normal width when  there is a
choice like CW and CW-NARROW.
2016-04-19 21:27:52 +01:00
Bill Somerville
da87c81100 Do not attempt CAT PTT commands on the Icom IC-706mkIIG
This rig doesn't have PTT commands and having them there causes errors
since they  are used by the  front end API even  if RTS or DTR  PTT is
selected.
2015-04-14 10:03:51 +01:00
Bill Somerville
463bc7ae3b Increase communications timeout for Icom rigs
Icom  users, who  use  the  K9JM CI-V  router  to  protect their  PW-1
amplifiers from  damage due to  Icom's broken CI-V  protocol handling,
require a 1s delay  after opening the serial port. This  is due to the
router  using  an  Arduino  &  Arduino  USB  adapter  that  employs  a
bootloader which  holds the RS-232  interface for 1s after  reset (DTR
releases reset).   Hamlib already  has a  retry and  timeout mechanism
which was  set to 3 and  200ms respectively for most  Icom rigs.  This
change increses that  timeout to 1s. The increaased  timeout will have
little or no impact on clients as  it only comes into play if there is
a problem.
2014-12-08 12:23:06 +00:00
Bill Somerville
b0f6955740 Added option to not use VFO XCHG command when setting split parameters.
With Icom rigs that use MAIN?SUB VFOs there is a trade off when
setting the mode or frequency of the "other" VFO. Untill now Hamlib
uses the XCHG VFO command to address the "other" VFO. This has some
advantages, particularly it preserves the selected VFO and it
preserves memory mode of either VFO. The disadvantage is that any
split command causes the Rx to glitch when the VFO/MEMs are exchanged.

I have added a config parameter for Icom rigs called "no_xchg" which
forces the direct addressing of VFOs to set split mode/frequency. It
is a boolean option with a default of "0" (false) which equates to
prior behaviour. Setting it to "1" (true) will make the backend use
change VFO commands to set the "other" VFO. This means that TX on
"SUB" in split is assumed, that both are in VFO mode (not MEM), and
set/get split functions will leave the MAIN VFO selected.
2014-03-20 18:36:43 +00:00
Nate Bargmann
78285ab8eb Update LGPL header in Icom source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Stéphane Fillod, F8CFE
39413a6842 add RIG_VFO_MEM in caps
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2959 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-21 12:48:01 +00:00
Stéphane Fillod, F8CFE
12ecc526dd Fix medium filter setting for IC-706* which insist on having
the passband data along the mode.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2782 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-10 22:04:02 +00:00
Stéphane Fillod, F8CFE
126332d9c1 IC706MkIIG: range_list for ITU region 1
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2744 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-10-31 17:39:43 +00:00
Stéphane Fillod, F8CFE
04226721a2 bug in ic706_r2i_mode()
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2657 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 14:20:23 +00:00
Stéphane Fillod, F8CFE
83ca3affbf special mode conversion
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2507 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-14 20:09:39 +00:00
Stéphane Fillod, F8CFE
adb6374fd3 ic706mkiig reached STATUS_STABLE
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2390 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-21 19:09:07 +00:00
Stéphane Fillod, F8CFE
fe10198f27 remove deprecated RIG_LEVEL_SQLSTAT and fix get_dcd, fix str_cal in icom backend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1853 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-26 08:35:05 +00:00
Stéphane Fillod, F8CFE
02e5735c72 gcc-2.x fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1630 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-08 08:46:11 +00:00
Stéphane Fillod, F8CFE
c73925f621 IC706MkIIG mem cap fixup
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1627 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-04 23:23:29 +00:00
Stéphane Fillod, F8CFE
6985ec78ca converted RIG_LEVEL_STRENGTH to RIG_LEVEL_RAWSTR. RIG_LEVEL_STRENGTH is then derived from calibration table
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1583 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:14:44 +00:00
Stéphane Fillod, F8CFE
84ad9b827b include fixup, stdio.h is not included by rig.h anymore
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1551 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:32:04 +00: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
d2bede454c fix to account for struct chan_list change
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1251 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:40:55 +00:00
Stéphane Fillod, F8CFE
41f5748be2 converted to C99 intialization style
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1132 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-16 17:43:02 +00:00
Stéphane Fillod, F8CFE
0ca1696da5 cleanup, LEVEL_STRENGTH is now the S-meter level
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1052 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-05-28 21:35:55 +00:00
Stéphane Fillod, F8CFE
0f97a352da forgot WFM mode
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@672 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-10-07 21:48:02 +00:00
Stéphane Fillod, F8CFE
fe388a8784 various cleanup of old stuff (mv_ctl)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@614 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-08-08 06:04:49 +00:00
Stéphane Fillod, F8CFE
99b10b1aef added set/get_conf support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@599 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-21 13:00:03 +00:00
Stéphane Fillod, F8CFE
1f01081335 converted to LGPL
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@582 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-13 19:08:15 +00:00
Stéphane Fillod, F8CFE
c3be2e3aef added scan function
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@567 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-26 20:55:29 +00:00
Stéphane Fillod, F8CFE
7ffe3fbe22 mv_ctl replaced by vfo_op, added RIG_VFO_MEM support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@522 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-03 19:54:05 +00:00
Stéphane Fillod, F8CFE
3a9ad961a5 * cleanup and made it more readable
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@473 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-04 22:37:35 +00:00
Stéphane Fillod, F8CFE
b81aa4dd37 * added set_split_mode/get_split_mode
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@465 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-28 12:38:02 +00:00
Stéphane Fillod, F8CFE
2a879fc4c9 * declared VFO list (new design)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@455 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-22 14:48:57 +00:00
Stéphane Fillod, F8CFE
5e69731906 * added model specific caps->priv support
* ss calibration now make use of src/cal.c


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@439 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-04 13:03:41 +00:00
Stéphane Fillod, F8CFE
e36f9292e3 * added new caps fields: max_ifshift and dtmf_digits
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@426 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-02 18:35:18 +00:00
Stéphane Fillod, F8CFE
7e7a85dd29 * more caps tuning
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@414 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-01 21:18:39 +00:00
Stéphane Fillod, F8CFE
d0d333994c * added new fields in caps: ctcss_list, dcs_list, chan_list (maintainers,
please populate them!)


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@410 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-01 00:26:19 +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
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
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
c1f36ffe1c * cosmetic update in caps
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@340 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-02-07 23:38:54 +00:00
Stéphane Fillod, F8CFE
d0fb34acbc * added S-Meter calibration data
* added set_func capability


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@325 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-01-28 22:06:11 +00:00
Stéphane Fillod, F8CFE
ece8eda70d * added targetable_vfo field in caps
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@316 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-01-05 18:21:39 +00:00
Stéphane Fillod, F8CFE
953235d621 * added split/rptr capability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@271 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-11-28 22:26:20 +00:00
Stéphane Fillod, F8CFE
1549fd29a0 * Added some more capabilities
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@239 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-23 19:48:12 +00:00
Stéphane Fillod, F8CFE
5ebf14a76a * Reworked the RIG_MODE_* defines. see rig.h
* Added has_level caps fields


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@225 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-16 22:32:36 +00:00
Frank Singleton, VK3FCS
a5bcaa48ca added post_write_delay
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@204 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-09 01:17:20 +00:00
Stéphane Fillod, F8CFE
41cb317ec4 * headers moved,
* added rig transceive cap On,
* made use of MHz,KHz macros,
* added get_strength and decode_event to ic706iig


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@190 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:37:19 +00:00
Stéphane Fillod, F8CFE
ef08f20071 added icom_get_freq capability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@169 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-01 12:33:30 +00:00
Stéphane Fillod, F8CFE
3657c0f103 RIG_E* modified, added tuning_step
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@136 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-09-21 06:46:13 +00:00
Stéphane Fillod, F8CFE
b93b9efcf9 stripped down and kept only ic706 rig tables and functions
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@105 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-09-16 01:46:13 +00:00