Wykres commitów

165 Commity (cbe66984103452aa00aaaa0ea234d34942042e0f)

Autor SHA1 Wiadomość Data
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
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 21c346453a Implement combined split VFO frequency and mode setting.
CAT protocols that don't allow  direct addressing of VFOs require that
the  "other" VFO  be queried  or set  via a  select then  get/set then
select back  to original or  swap then  get/set then swap  again. When
both frequncy and  mode need to be set the  sequences can be optimized
if a single funciton is avaiable.

This enhancement adds those single functions rig_set_split_freq_mode()
and  rig_get_split_freq_mode()  with  a default  impelementation  that
calls the individual rig_{get,set}_split_{freq,mode}() functions. Back
ends  can choose  to  implement  an optimized  version  which is  used
instead of the default if present.

Using these  functions when  an optimized implementation  is available
allows the TX VFO's frequency and mode to be set in a single operation
with  only  one   VFO  exchange  or  selection  either   side  of  the
operation.  Many CAT  protocols  are very  efficient  when getting  or
setting both  frequency and mode  and some even  combine the two  in a
single command.

The letters 'K' and 'k' are used for the rigctl short command name for
these functions.
2016-03-23 17:09:26 +00:00
Bill Somerville aebe52a45e Add a new command line option '--no-restore-ai' ('-n') to rigctl
As Hamlib now restores the rig auto information state (AI) on exit
there is now a need to disable that functionality so that rigctl can
be used to set/reset AI mode on the rig explicitly.

A new  public API  function 'rig_no_restore_ai()'  is also  added that
allows any  client to  disable this auto  AI restore  functionality if
required. Most  clients should do nothing  as restoring AI state  is a
good thing.
2015-12-04 00:22:01 +00:00
Bill Somerville 542585029d Initial back end implementation for the Kenwood TS-990s 2015-04-14 10:04:59 +01:00
Bill Somerville 19f131b1b8 Remove redundant RIG_PTT_SERIAL_CAT enum from ptt_t
The Icom IC-7100 back end added this enum instead of using the extant
RIG_PTT_RIG enum.  Also the rig_get_ptt() implementation didn't handle
it and errored out.

Note: RIG_PTT_SERIAL_CAT was added in commit
e9ee671149  - N0NB
2014-10-09 10:25:38 -05:00
Ricky Elrod 0f600af80a Add a tag name to hamlib_port_t.
I am making a Haskell binding to hamlib and this anonymous struct was
creating some issues for me. I am not a C-coder by day, but I think this
is harmless to add here.

Signed-off-by: Ricky Elrod <ricky@elrod.me>
2014-08-14 11:22:39 -04: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
Nate Bargmann 36f5f4cf6a Revert to previous handling of getaddrinfo()
Use the system gettaddrinfo function when possible as before.  Tested on
GNU, Cygwin, MinGW on Linux, and MinGW on Windows.  Under MinGW the
replacement getaddrinfo is used.  Perhaps this is an area for
investigation to be certain MinGW really doesn't supply getaddrinfo.
This reverts some of the patches from Remi Chateauneu in commit
60019c9.  This fixes build issues encountered building the Windows
binary daily snapshots.

Enabled static library build by default at configure time.

Fixed pthread library linking for the ars backend on MinGW.
2013-09-15 19:47:49 -05:00
Remi Chateauneu 60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Nate Bargmann 8c2eee91cc rig.h: Replace rig_func_e with CPP macros
The C standard dictates that an enum constant is a 32 bit signed
integer.  Setting a constant's bit 31 created a negative value that on
amd64 had the upper 32 bits set as well when assigned to the
misc.c:func_str structure.  This caused misc.c:rig_strfunc() to fail its
comparison for RIG_FUNC_XIT on amd64 (x86_64).  To use bit 31 as an
unsigned long, preprocessor macros have been used instead as a 'const
unsigned long' which cannot be used to initialize the func_str.func
members.  TNX KA6MAL, AC6SL.  - N0NB

Other minor formatting edits.
2013-01-31 18:00:50 -06:00
Nate Bargmann f82184cbf5 Add RIT and XIT as rig_set/get_func() members
In response to a long standing request from Tor, N4OGW, and others, RIT
and XIT are added as members for the rig_set/get_func() members.
"RIT"/"XIT" have been added as tokens.  The dummy rig backend and
testrig.c have been updated for these new functions.

Applications should test a backend with the rig_has_set/get_func() and
test for RIG_FUNC_RIT or RIG_FUNC_XIT.  A non-zero result indicates
these functions are implemented by a given rig backend.  It will take
some time for all backends to migrate to this new implementation.  Once
implemented, RIT or XIT should be set to '0' to 'clear' the value
without deactivating the rig's RIT/XIT function.  The dummy/dummy.c file
can be used as a simple guide for backend authors implementing this
behavior.
2013-01-15 12:47:47 -06:00
Kamal Mostafa 3466512dbd Fix spelling errors 2012-08-21 19:54:50 -07:00
Stephane Fillod 46033db165 CM108 GPIO PTT: do not break ABI
Move around the ptt_bitnum field in the union of hamlib_port_t.
Increase Hamlib frontend revision.
2012-01-11 23:28:01 +01:00
Andrew Errington 1a77ef9eb9 Initial support for CM108 GPIO contorl of PTT
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-01-11 06:16:51 -06:00
Stephane Fillod da80137819 Add support for RIG_PORT_UDP_NETWORK
Also some copyright year update,
and default serial device on MacOSX
2012-01-06 09:28:24 +01:00
Nate Bargmann 2fd02a9ade Update LGPL header in include header files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Stephane Fillod 421909bad2 Let set_ptt() select source, either TX mic or TX data 2011-07-20 00:09:50 +02:00
Stéphane Fillod, F8CFE 01e2396ead - revert creation of RIG_MODE_WAM and RIG_MODE_SFM
- sr2200:
  - fix filter width of WFM
  - prevent symbol littering


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3044 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-08 22:21:11 +00:00
Nate Bargmann, N0NB bd20ccd356 AOR SR2200 backend added by Stefano Speretta
New backend, SR2200, heavily derived from AR8200 backend. From Stefano
Speretta <s.speretta@isispace.nl>.

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3025 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-01-28 00:32:55 +00:00
Stéphane Fillod, F8CFE 9de8e3f1d2 Add Mark/Space serial parity
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2996 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-26 19:31:09 +00:00
Stéphane Fillod, F8CFE 453995e7c0 fix segfault and allow mode listing in rigctl
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2865 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-05 10:01:09 +00:00
Stéphane Fillod, F8CFE f411c3fae0 allow tones and func calls to be targetable
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2845 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-05 18:48:40 +00:00
Stéphane Fillod, F8CFE b636a3f6ac allow check of vendor name and product string when looking for USB device
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2727 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-09-14 07:32:36 +00:00
Stéphane Fillod, F8CFE 976540de77 set/get_split_{freq,mode} assisted by frontend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2655 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 14:14:31 +00:00
Alessandro Zummo, IZ1PRB bb6cf68ad2 implemented set/get_ext_param (voice, fine, xit, rit). enabled on ts450 and
ts850


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2620 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-06 14:15:12 +00:00
Stéphane Fillod, F8CFE 3419987f6b better documentation of enum rig_errcode_e
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2596 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-25 16:23:06 +00:00
Terry Embry, KJ4EED 19da025135 removed NFM NFM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2579 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-11 17:42:29 +00:00
Nate Bargmann, N0NB 86badd1aaf Documentation updates.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2571 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-09 23:03:37 +00:00
Terry Embry, KJ4EED 76b48e3d9f Added RIG_MODE_NFM, RIG_MODE_NAM
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2547 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-03 14:08:00 +00:00
Diane Bruce, VA3DB e9aa6fe546 - Extra comma on RIG_STATUS_BUGGY can cause a compiler error.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2540 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-01 17:07:09 +00:00
Terry Embry, KJ4EED 9746bdd342 Added RIG_LEVEL_BKIN_DLYMS - CW Breakin delay in milliseconds to rig_level_e enum
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2530 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-26 23:57:15 +00:00
Terry Embry, KJ4EED 6e47295527 Added RIG_METER_VDD
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2522 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-24 20:12:11 +00:00
Stéphane Fillod, F8CFE c62b141599 RIG_ANT_5
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2504 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-12-14 19:26:35 +00:00
Terry Embry, KJ4EED 8f350baa93 Added RIG_AGC_AUTO enum
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2478 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-26 16:20:20 +00:00
Stéphane Fillod, F8CFE 883193fe12 added RIG_METER_PO
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2452 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-01 20:35:16 +00:00
Stéphane Fillod, F8CFE f541b221fe new netrigctl/netrotctl protocol with return value
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2428 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-27 22:23:36 +00:00
Thomas Beierlein, DL1JBE cdab2cce53 Dropped RIG_STATUS_NEW from enum of possible backend states in rig.h.
Mapped all RIG_STATUS_NEW requests from existing applications to RIG_STATUS_UNTESTED for backward compatibility.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2418 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-25 11:36:02 +00:00
Stéphane Fillod, F8CFE 1f1a363dc6 new RIG_MTYPE_BAND
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2344 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:15:17 +00:00
Stéphane Fillod, F8CFE 6e4ed42cca allow rig_lookup_mem_caps() to retrieve a union of all the mem_caps sets
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2336 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-01 12:32:43 +00:00
Stéphane Fillod, F8CFE a0635dd7b2 * added RIG_MTYPE_PRIO
* added rig_lookup_mem_caps/rig_mem_count and rig_strmtype/rig_parse_mtype
* misc change to RIG_VFO* for Swig to make them available in the bindings


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2329 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:46:35 +00:00
Nate Bargmann, N0NB ec79e3cfb3 Documentation edits and additions for doxygen generated documentation.
Add missing enum to string definitions in settings.c


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2257 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-26 20:54:12 +00:00
Nate Bargmann, N0NB ef7659e1e0 Makefile.am and rig.h minor edits to the comments to (hopefully) improve
readability.  configure.ac added AM_PROG_CC_C_O macro to quiet error
message regarding rigmem.c in tests/Makefile.am from autoconf 2.61 on
Debian Stable.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2225 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-01 01:13:30 +00:00
Nate Bargmann, N0NB e904578f5a Bug fixes and slope tuning support for the TS-850.
Thanks to Rob Frohne, KL7NA


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2205 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-08-18 12:55:46 +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
Nate Bargmann, N0NB dc39418dc5 20061107:
New:
		icom/ic7000.c
	Update:
		Various Icom updates from AD7AI


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2159 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-07 12:21:39 +00:00
Martin Ewing, AA6E c830f57da2 SM6PPS mods for AOR 5000a
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2155 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-11-02 15:19:58 +00:00
Martin Ewing, AA6E a5ab5154d4 documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2152 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-28 03:49:46 +00:00
Martin Ewing, AA6E aad1c51d0b fix enum documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2149 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-17 01:23:38 +00:00
Martin Ewing, AA6E f6ddc3edad documentation
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2145 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-15 00:27:52 +00:00