Commit Graph

41 Commits

Author SHA1 Message Date
Malcolm Herring
31cc85bf57 Add IC-R30 2018-12-21 07:07:41 +00: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
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
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
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
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
Thomas Beierlein, DL1JBE
994d5f109c effectivly revert to Revision 1.33, but renamed filter tokens
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2475 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-09 15:17:49 +00:00
Thomas Beierlein, DL1JBE
207d485b6b Made a comment that 'make check' needs an installed hamlib library.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2474 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-09 14:26:04 +00:00
Stéphane Fillod, F8CFE
f0c53eacb0 icom2rig_mode: fix passband widths for the IC-706 familly
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2461 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-02 16:26:55 +00:00
Nate Bargmann, N0NB
916bad338b icom/frame.c - Look for frame terminators, and retry if we don't get them.
icom/icom.c - Initialize ack_len to the size of the response buffer
since it is an input to icom_transaction as well as an output.

Thanks to David Hagood, N0YKG


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2176 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-01-27 23:50:13 +00:00
Alexandru Csete OZ9AEC
4f086db73f Fixed type mismatches between signed and unsigned char.
There are a few very suspicious 'if' statements in icom.c and frame.c


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2134 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 20:45:40 +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
8c4087e7d6 Patch from Lars E. Pettersson, sm6rpz
The code should work on IC-751 and IC-751A, both with the original Icom
UX-14 board (an option needed to be able to use CI-V) and the Piexx
UX-14px-board.

The Piexx UX-14px board have the same capabilities as the Icom one, but
adds S-meter reading, and PTT (can not read if the PTT is set though.)

The Icom IC-751 had FM as an option, the IC-751A had FM built in.

I had to add an extra if-statement in frame.c for the CW-narrow to work.
The bandwidth numbers used by Icom seem to be a jungle...


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2070 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 18:48:07 +00:00
Stéphane Fillod, F8CFE
c5e0b9092c tab reformat
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2030 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 15:31:26 +00:00
Stéphane Fillod, F8CFE
9fae198566 renamed port_t as hamlib_port_t
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1957 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-03 12:27:17 +00:00
Mark J. Fine
8aa496e09b Fixed passband width return for IC-756PROII
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1836 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-09-06 18:10:49 +00:00
Stéphane Fillod, F8CFE
7a3f304db9 IC-R75 patch from Mark J. Fine
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1817 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-08-21 23:53:39 +00:00
Stéphane Fillod, F8CFE
343deb6f59 Support for pipelined tuning, including DCD on CD line.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1510 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-17 22:39:07 +00:00
Stéphane Fillod, F8CFE
f3602a2704 added support for retry
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1469 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-05-03 13:34:16 +00:00
Stéphane Fillod, F8CFE
d85d10f116 OS456 has no passband data in set_mode/get_mode
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1457 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-26 09:54:49 +00:00
Stéphane Fillod, F8CFE
e0b2a7b4ac fix headers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1435 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-07 22:42:11 +00:00
Stéphane Fillod, F8CFE
c675c071af fix undefined signed char overflow
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1337 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-01-06 22:04:58 +00:00
Stéphane Fillod, F8CFE
0d9e269053 better collision handling, patch from Chuck N2POR
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1034 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-18 23:04:27 +00:00
Stéphane Fillod, F8CFE
ac001a6d1d read_icom_block is gone, in favor of read_string. Thanks to Chuck Hemker.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1021 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-11 23:28:45 +00:00
Stéphane Fillod, F8CFE
cf86d350ff reworked rig2icom_mode and icom2rig_mode to better handle cases with no passband data
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1020 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-10 23:44:24 +00:00
Stéphane Fillod, F8CFE
807bf0b74b flush serial before icom_transaction, added workarounds for IC-R7000 mode/bandwidth
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@990 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-05 00:39:30 +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
4066106bed better error handling
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@537 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-10 22:25:50 +00:00
Stéphane Fillod, F8CFE
da19dd9a47 new port_t design
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@523 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 17:01:21 +00:00
Stéphane Fillod, F8CFE
8ae64aea5c * fixed a silly bug in mode conversion
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@475 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-05-04 22:39:47 +00:00
Stéphane Fillod, F8CFE
f3ef65626e * fixed RIG_PASSBAND_OLDTIME
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@462 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-26 21:32:54 +00:00
Stéphane Fillod, F8CFE
cca6e2acab * pbwidth_t is now the passband type in Hz, RIG_PASSBAND_NARROW and RIG_PASSBAND_WIDE are dead now. Backend maintenairs, please adapt your code\!
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@449 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-04-22 13:57:39 +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
23d7df479c * icom_set_mode fixup (passband not done right)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@315 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-01-05 18:20:27 +00:00
Stéphane Fillod, F8CFE
d0e751257d * removed [sg]et_passband in favor of an enhanced [sg]et_mode which
includes the passband, since most rigs tie these parameters together
  quite often. For exemple, WFM is (RIG_MODE_FM,RIG_PASSBAND_WIDE) in Hamlib.
  Another set of functions will be needed to fine tune aditional
  frequency response/filters.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@280 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-12-04 23:39:18 +00:00
Stéphane Fillod, F8CFE
bd931dc934 * some cleanup (removed deprecated make_cmd_frame_freq and make_cmd_frame_chan)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@260 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-11-01 23:21:47 +00:00
Stéphane Fillod, F8CFE
2ba7fedcfc * Accomodate with new API modes, WFM is FM + Wide filter
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@224 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-16 22:30:32 +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
c7496a3574 * read_icom_block now uses file buffered access,
* added read_icom_frame which read a whole CI-V frame (until receiving EOM),
* added hamlib2icom_modeand icom2hamlib_mode functions to convert from one representation to another


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@188 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:26:33 +00:00
Stéphane Fillod, F8CFE
ce7e2ed323 Initial release, some functions gathered from icom.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@167 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-01 12:31:20 +00:00