Wykres commitów

36 Commity (3dbbe02b78d18fb3a69c02995d035e2bc4dfc96f)

Autor SHA1 Wiadomość Data
Mikael Nousiainen 3dbbe02b78 Add new levels: RFPOWER_METER, COMP_METER, VD_METER and ID_METER, supported at least by most of recent Icom rigs. Add level NOTCHF_RAW for manual notch frequency without specified unit for Icom rigs. Add level MONITOR_GAIN. Add functions DUAL_WATCH and DIVERSITY, supported now by K3/K3S. Fix VOXDELAY level commands for many Icom rigs. Add MONITOR_GAIN level for Icom rigs. Fix and add many K3 commands and add specific rig models for K3S, KX2 and KX3 -- they are very similar to K3, but have slight differences. Extend dump_caps output for rigctl: add complete details of ext levels and frequency ranges. Tests have been performed on IC-7000, IC-756ProIII, IC-7300, IC-7600 and K3. 2019-05-30 09:37:49 +03:00
Bill Somerville e593afef95 Implement rig_{set,get}_split_freq_mode() for IC-756 series.
This implementation reduces  the number of VFO excahnges or  sets to a
minimum when setting the TX VFO frequency and mode together.

This also  includes a  much smarter implementation  of the  logic used
when the  new config option 'no_xchg'  is enabled.  Now it  is able to
accurately  determine  the  original   VFO  selected  and  leaves  the
sequences with the  same VFO selected.  There is one  corner case when
both VFOs are identical (frequency, mode and width) at the start where
it has  to take a  guess as to the  selected originally VFO  (Icom CAT
protocol has no  command to elicit this information). In  that case it
guesses as the last VFO  selected using Hamlib.  Applications can gain
absolute certainty  by setting the  VFO themselves prior to  using the
rig_{set,get}_{split,}_{freq,mode,freq_mode}() function  series.  This
now gives seamless  TX VFO configuration without  any relay clattering
or TX/RX audio glitches.
2016-03-23 17:09:27 +00: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 2889f49392 Fix Icom IC-756Pro mode get/set.
The IC-756Pro doesn't have DATA mode but the capabilities incorrectly
used commands to get/set DATA sub modes.
2014-04-27 14:17:42 +01: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
Bill Somerville 87ca3f338d Add support for Data Modes on Icom "Pro" models.
The Icom IC-7x6Pro models support AFSK data modes with Tx audio
delivered via the back ACC socket. This mode is enabled and queried
via a separate "0x1A06" command and applies to USB, LSB, FM and, AM as
USB-D, LSB-D, FM-D and, AM-D respectively on the radio. I have added
all but AM because hamlib has no mode enumeration for AM Data mode.

Most of the IC-7xxx rigs have an extended version of this special
command which also involves width. This needs further work to
implement.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-10-18 09:44:01 -05:00
Bill Somerville 4f41b5b1d0 Fix Icom IC-756 filter handling.
The IC-756 only has two filters per mode unlike the later IC-756
variants that have three. The code was sending invalid commands
due to trying to select the third filter for certain bandwidths.

Also the default filter bandwidths were incorrect for this model.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-26 21:53:45 -05:00
Bill Somerville c1212b158d Patch submission for IC-756
73
Bill.

>From 5209463ba169516543e2666b8b3a98b605c362e6 Mon Sep 17 00:00:00 2001
From: Bill Somerville <g4wjs@classdesign.com>
Date: Sat, 20 Jul 2013 01:45:01 +0100
Subject: [PATCH] All IC-756 varieties have MAIN/SUB VFOs rather than A/B VFOs

In the past IC-756ProIII capabiities have been updated to use MAIN/SUB VFO
commands but as far as I can tell from the user manuals for the IC-756,
IC-756Pro, IC-756Pro2 all varieties have the MAIN/SUB VFOs and need to use
the correct VFO access sub command.

I have an IC-756 and discovered this defect via WSJT-X which as of v1.1
requires split operation setup.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-07-20 08:14:24 -05:00
Paul Lutus 28986aaf8f IC-746/756, IC-PCR8500 fixes
* The 746 has an APF, wasn't in its configuration, added, tested, works.

* The 756Pro has an ANF function, wasn't in its configuration, added,
tested, works.

* The 756Pro's signal strength conversion table was way wrong.
I noticed this while making scope plots in my program JRX --
the strong signals using the STRENGTH output would all flatten
out at a rather low level, but the RAWSTR output showed the
full range. Changed the conversion table, tested, fixed.

R8500 notes:

The R8500 on/off functions work differently than the other Icoms,
in fact it's not too strong to say that this radio is a breed apart.
Most Icom radios have a group command code for on/off functions (16),
then a code for the function, then a flag for on or off. The R8500
combines the second and third into one, and this required a bit of
recoding in "icom.c". Interestingly, someone had created some special
designators in "icom_defs.h" for the R8500, but then never coded them
to the degree that they worked. Now they work. :)

So the AGC, NB and APF functions all work now.

The R8500 doesn't have a preamp control, so I took that out.

The R8500 does have IF shift and a 3-step attenuater, so I put those in.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-11-10 21:49:30 -06:00
Nate Bargmann 674d4375db IC-756: Remove supported commands per AK6I
Darrel, AK6I, has an IC-756 (non-Pro model) and reports several
functions are not supported and suggested they be modified.
(cherry picked from commit 11033470f0)
2012-10-05 12:47:07 -05:00
Nate Bargmann be2fefcf18 Update version of modified backends
Per Stephane's request, updated the version string of backends modified
since 1.2.14 release.  Newly added backends were left alone.
2012-02-02 20:10:37 -06:00
Nate Bargmann e78f9be94e Remove set but unused variable errors in icom. 2011-08-25 10:42:37 -05: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 7e707bf3b5 icom_mem_get_split_vfo() works better
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2875 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-14 19:57:39 +00:00
Stéphane Fillod, F8CFE 4a5a7df8bf * fix ts_sc_list
* IC756PROIII: PARM's, VFO list, MEM_CAP, attenuator list, OP_TUNE, antennas, filter list


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2738 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-10-17 15:32:20 +00:00
Martin Ewing, AA6E cb23a4e234 fix missing comma
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2433 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-31 00:17:34 +00:00
Martin Ewing, AA6E 4ec3b451d8 RIG_STATUS_ALPHA reflecting initial tests.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2432 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-31 00:10:44 +00:00
Thomas Beierlein, DL1JBE b1bf5c9c67 changed RIG_STATUS_NEW into RIG_STATUS_UNTESTED.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2424 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-26 13:54:52 +00:00
Martin Ewing, AA6E dac26edfce Add AF, RF gain and squelch level capability.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2374 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-07-12 17:19:47 +00:00
Spaceman Spiff 69d32e8f0d Several Bug fixes for extra parameter code and documentation added
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2190 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-02-28 08:52:49 +00:00
Alexandru Csete OZ9AEC 2f2909b6a9 Initialise icom_val to avoid compiler warning.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2133 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 20:13:22 +00:00
Nate Bargmann, N0NB 7c7d909fb8 20060922:
Update:
		Applied Icom patches received 4 Sep 2006 from Kent
		Hill, AD7AI


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2116 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-09-22 19:55:59 +00:00
Nate Bargmann, N0NB c85dcd5105 20060718:
Update:
		Committing patches received from AD7AI for several Icom
		models including IC-746, IC-756, and IC-7800.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2111 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-07-18 22:51:43 +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 e7cd277ec2 Added IC-78, IC-7800, IC-R20, IC-756PROIII
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1851 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-25 14:33:17 +00:00
Stéphane Fillod, F8CFE fee5f26049 * fixed icom_set_ptt (wrong opcodes/format)
* added RTTYR and CWR to IC-756PROII


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1840 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-07 21:54:20 +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 78f4963b3a * converted RIG_LEVEL_STRENGTH to RIG_LEVEL_RAWSTR. RIG_LEVEL_STRENGTH is
then derived from calibration table
* added support for get_ant/set_ant


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1587 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-11-16 17:24:34 +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 4cf653a846 ext_parm name change
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1202 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-10-07 21:48:11 +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 355c38492e added IC756PROII caps with basic "extra" parm support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1112 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-09 20:43:37 +00:00
Stéphane Fillod, F8CFE 761f653949 misc fix
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@916 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:47:58 +00:00
Stéphane Fillod, F8CFE ed182ded41 added IC-756 and IC-756PRO
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@642 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-09-18 00:37:39 +00:00