Wykres commitów

162 Commity (4e8ba3d6f31f70f3cd373d99a69f5c334440528a)

Autor SHA1 Wiadomość Data
Ekki Plicht (DF4OR) 4e8ba3d6f3 Patch for Icom DCS code handling
* Change magic numbers in icom_set|get_ctcss|dcs_sql|code functions to
constants defined in src/tones.h

* fix a minor bug in icom_get_dcs_code (now ignoring polarity instead of
reporting invalid DCS code when sending reverse pol. DCS code)

* introduce DCS codes to IC-R8600 rig backend

73,
Ekki, DF4OR
2018-12-19 18:09:14 -06:00
Malcolm Herring 620f756320 Complete R6 commands 2018-12-19 14:40:36 +00:00
Ekki Plicht (DF4OR) 82e0ee8364 New model Icom IC-R8600
So here is the first release of the new IC-R8600 rig backend.

Implemented functions so far:
set/get freq
set/get mode
functions: NB TSQL ANF NR AIP MN LOCK VSC RESUME
level: PREAMP ATT AF RF SQL NR PBT_IN PBT_OUT CWPITCH AGC RAWSTR STRENGTH
extra levels (params): ANN BACKLIGHT KEYLIGHT
Mode list: AM CW USB LSB RTTY FM WFM CWR RTTYR SAM SAL SAH

Next up:
* correct filter settings
* new digital modes
* memory store/retrieve
* correct CTCSS, DTCS handling
* correct BEEP handling (broken)

73,
Ekki, DF4OR
2018-12-17 12:37:17 -06:00
Nate Bargmann 27e63e4274 Merge branch 'ic7300-fix-params-and-agc' of https://github.com/mikaelnousiainen/hamlib into mikaelnousiainen-ic7300-fix-params-and-agc 2018-01-21 08:31:36 -06:00
Mikael Nousiainen 9ad45cc5d3 IC-7300: Fix issues in Icom civ_version 1 parameters implementations. Add correct mappings for AGC settings. 2018-01-20 23:01:27 +02:00
Michael Black W9MDB 3676cf376c Add IC-7610 2018-01-14 17:55:41 -06:00
c vw 555197a9a5 Getting rid of compiler warnings, especially
- using "abs" function for long or double arguments
 - passing data which is not initialized
2017-07-10 09:55:45 +02:00
Malcolm Herring a8e89505e3 New model: Icom IC-R6
Icom's hand held wideband receiver.
2017-04-06 05:04:27 -05:00
Michael D Black ea6f4e7115 Added x108g backend 2017-02-14 15:39:31 -06:00
Michael Black 3bad75106e Merger 7850/51 into 785x 2017-01-02 10:20:20 -06:00
Michael Black ae99b17598 Add ic7850 ic7851 -- works with wsjtx 2017-01-01 22:55:33 -06:00
Stephane Fillod a4b2de37ee New Perseus model 2016-11-06 14:38:42 +01:00
Michael Black W9MDB\n d5b3c049af Fixed SCAN_STOP for all rigs and implmented it plus SCOPE for ic7300 2016-06-02 23:08:22 -05:00
unknown 8326250e07 Changes for IC-7300 and IC-7200
Added civ_version for newer rigs to use the newer command structures e.g. IC7200, IC7300, see icom.c and ic7300.c
Added ic7300_set_xit
Added ic7300_set_rit
Added ic7300_get_rit
Added ic7300_get_func
Added ic7300_set_func
Added RIG_LEVEL_KEYSPD
Fixed RIG_LEVEL_VOXDELAY
Fixed RIG_FUNC_FAGC
Fixed RIG_FUNC_VOX
Fixed RIG_FUNC_BACKLIGHT
Fixed RIG_PARM_BEEP
Fixed RIG_PARM_TIME
Fixed RIG_OP_TUNE
Removed unused items
2016-05-26 00:01:27 -05:00
Michael Black 1767cb5c43 Icom frame patch
I'm implementing several changes to support some functionality for the
IC7300.  In order to minimize the review process I'm submitting this
small one separately (still working on finish the IC7300 but it's some
fairly extensive changes since ICOM has changed the protocol for several
things).

For the IC7300 turning power on requires ~150 0xfe's be sent to wake up
the rig.  This causes a buffer overflow condition in icom/frame.c.  This
patch increases the buffer size and ensures no overflow.

73
Mike W9MDB
2016-05-16 16:45:23 -05:00
Michael Black 62a90596dc Add send_morse to icom rigs
Add send_morse to ic7300 -- now works with CQRLog CW mode

73
Mike W9MDB
2016-04-23 21:05:15 -05:00
Bill Somerville 7ddb7841f6 Do not crash if expected CTCSS tones not sepcified
Also added expected CTCSS tones to Icom IC-7300 capabilities.
2016-04-21 11:04:04 +01:00
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
Michael Black bd7510315e Initial support for the IC-7300
Attached is a patch + file for the ic7300.
Has not been tested...but it's very close to the ic7200 so I have high
hopes.

73
Mike W9MDB
2016-04-09 06:56:11 -05:00
Bill Somerville 47a808dcf8 Further attempts to simplify and improve Icom CAT for split operating 2016-04-02 19:07:02 +01:00
Nate Bargmann 8d7a108fbc Merge pull request #16 from robinolejnik/master
Added support for Icom IC-2730
2016-04-02 07:10:50 -05:00
Robin Olejnik 351e4f33b9 Added support for Icom IC-2730 2016-03-29 00:20:59 +02:00
Bill Somerville 398bd3ccaa Better set frequency semantics for the IC-910(h)
Allows for the optional 23cms module.

No longer tries to preserve the pre-amp/attn/bandwidth settings as the
does this (correctly) already.
2016-03-23 17:09:30 +00:00
Bill Somerville 48102caeaa Do not swap VFO unnecessarily
Do the minimum swapping and other manipulation to determine the Tx and
VFO status when setting the split frequency and mode.

TODO - other funcitons.

The strategy  to determine the  current VFO at the  start of a  set or
query sequence of the split transmit VFO should not switch back to the
Rx VFO unless  it is certain that  it was current at the  start of the
sequence.
2016-03-23 17:09:29 +00:00
Bill Somerville 21cc26b477 Elide unnecessary CAT commands when setting split frequency and mode 2016-03-23 17:09:28 +00: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 5244086e07 Detect C-IV NAK returns as rejected commands
Only  ask Icom  rigs once  then  desist if  bandwidth request  returns
command  rejected. This  avoids sending  the request  with every  mode
query  and possibly  retrying 'retries'  times  for rigs  that do  not
suport the '1a 03' command which wastes much time at slow baud rates.
2016-02-05 19:22:29 +00:00
Stephane Fillod c02e03f77e New Icom ID-5100 model 2015-01-25 13:42:08 +01:00
Bill Somerville bc1fcfac64 Data mode support for the Icom IC-7200 2014-11-01 11:47:29 +00:00
Bill Somerville 69fd5d2596 Data mode support for the Icom IC-7700 2014-10-21 19:29: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 83640f3fcc Fix Icom IC-756 Pro III get data mode.
The "1A 06" command to get the data mode returns 2 bytes rather than
the one byte documented in the user manual.

Fix indexing error, collect data mode from correct reply byte.
2014-02-03 15:11:44 +00:00
mvcstroomer e9ee671149 Add Icom IC-7100 support.
From Martin, CT1IQI:

"Several programs under Linux rely on Hamlib for control. I wanted to
try WSJT-X (digital modes like JT65) and found that my new IC-7100 was
not yet supported, also after having compiled the current git version of
Hamlib and having compiled WSJT-X against that.

So I added a IC-7100 by taking the ic-7200 and 7420 rig files as
example, be it without going (yet) through all of the very many commands
the ic-7100 supports.

This produced the situation where there was communication, e.g. setting
and reading frequencies, but the PTT control did not work.  I debugged
that to actually the lack of a PTT mode in Hamlib that uses serial and
CAT at the same time; currently PTT per 'serial' seems equivalent to
toggling certain RS232 pins but not to any serial command level. So I
added a RIG_PTT_SERIAL_CAT mode for PTT control. Now the wsjt-x program
works nicely with the ic-7100 and controls both frequency and PTT via
the single USB cable."

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-10-25 08:40:36 -05:00
Bill Somerville 29cb138210 Fix Icom IC-726 mode handling.
The IC-726 doesn't accept passband width sub commands with the mode
command. Well it does for CW, but not for other modes. I have disabled
the sending passband width sub commands for this rig to at least get
the mode setting commands accepted by the rig.

Fix IC-475A/E mode set command.

As with IC-726 very limited passband width sub commands with mode set
command so disabled all for now.
2013-10-18 19:12:55 +01: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
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
Stephane Fillod 070beccf37 add IC-1275 2012-01-04 09:29:09 +01:00
Nate Bargmann 150231108d Merge branch 'nate-tmp' 2011-09-04 10:23:27 -05:00
Stephane Fillod 6699942722 add IC-RX7 2011-09-04 15:47:44 +02: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
Stephane Fillod 6de38acb6d add IC-9100 and IC-7410 2011-06-12 18:03:10 +02:00
Stephane Fillod 01db7a309f Add IC-R9500 2011-03-28 18:56:05 +02:00
Stéphane Fillod, F8CFE 8bf9bbb375 Skeleton for IC-E92D model.
Let icom generic transaction routines to work with true full duplex
and alternate controler ID.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3017 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-05 21:59:48 +00:00
Stéphane Fillod, F8CFE 16e6443f65 - appropriate RIG_AGC* mapping
- implemented RIG_LEVEL_ALC/RIG_LEVEL_SWR
- icom_mem_get_split_vfo() needs RIG_OP_XCHG


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2874 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-14 19:56:10 +00:00
Stéphane Fillod, F8CFE 306be5176b LEVEL_VOXGAIN/ANTIVOX and FUNC_LOCK
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2873 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-14 08:55:52 +00:00
Stéphane Fillod, F8CFE 2c88f3ef34 added Ten-Tenc Delta II
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2863 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-05 09:33:23 +00:00
Stéphane Fillod, F8CFE 5f9829aa3d added IC-738 and IC-7700
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2856 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-14 19:46:47 +00:00
Stéphane Fillod, F8CFE d5675fa599 MAIN/SUB handling in split mode and for RIG_OP_CPY
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2785 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-12 16:35:38 +00:00
Stéphane Fillod, F8CFE d3f1446b3a Add IC-7600include/hamlib/riglist.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2783 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-12-12 16:19:01 +00:00