Commit Graph

3437 Commits

Author SHA1 Message Date
Nate Bargmann
f3be5c4323 Merge branch 'master' of ssh://hamlib.git.sourceforge.net/gitroot/hamlib/hamlib 2012-02-14 10:06:30 -06:00
Rob Frohne
62a4bd8363 Correct previous patch setting limits
I should have done more testing on my last patch for you.  I found a
bug, in that it wouldn't rotate for [0,-180).  That is now fixed in
this hd1780.c enclosed.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-02-14 10:02:40 -06:00
Nate Bargmann
417cb98d2e Tidy up rigctl --list output
Implemented hash table to temporarily store and sort the rig models by ID
to print the --list by model numbers.  Hash is implemented using
uthash.h, see http://uthash.sourceforge.net/

Suppressed rig backend register output by setting rig_debug_level to 0
for list output.

Removed riglist definition of RPC backend.
2012-02-13 15:28:42 -06:00
Nate Bargmann
c3bc66eafc Tidy up rotctl --list output
Implemented hash table to temporarily store and sort the rot models by ID
to print the --list by model numbers.  Hash is implemented using
uthash.h, see http://uthash.sourceforge.net/

Suppressed rot backend register output by setting rig_debug_level to 0
for list output.

Removed rotlist definition of RPC backend.
2012-02-13 15:28:03 -06:00
Nate Bargmann
b6a9206fc2 Patch from Frank, DG1SBG, to quell warning
(cherry picked from commit 7bbfac55fd)
2012-02-07 15:46:02 -06:00
Rob Frohne
4754d0027d Make HD-1780 obey rotation limits
"Patch to make the HD-1780 obey the limits of rotation and make those
defaults correct.  At my location, I need to set them a bit before
+/-180 to ensure that the rotor doesn't get torn up because the beam
will coast it past the stops."

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
(cherry picked from commit 4df53cd292)
2012-02-06 07:15:38 -06:00
Nate Bargmann
ca0899ddc5 Update hard coded version value--need to fix. 2012-02-04 19:40:34 -06:00
Nate Bargmann
33f25820ac Fix bindings build by replacing *all* INCLUDES! 2012-02-04 07:51:25 -06:00
Nate Bargmann
a5f13e0056 Set AC_PREREQ to 2.67, enable Automake warnings
Deprecate the use of the INCLUDES variable in favor of the AM_CPPFLAGS
variable per Automake warnings and documentation.
2012-02-03 22:09:45 -06:00
Nate Bargmann
f3e732ff94 Use autoreconf to generate configure script.
Later Autotools documentation prefers the use of autoreconf to generate or
regenerate the configure script.  The autoreconf program is responsible
for running the various autotools in a correct order depending on the
macros used in configure.ac.
2012-02-03 21:45:24 -06:00
Nate Bargmann
8c145cfc6b Merge branch 'API_3'
Conflicts:
	.gitignore
	Makefile.am
	NEWS
	c++/Makefile.am
	configure.ac
	hamlib.spec.in
	rpcrig/rpcrig.x
	rpcrig/rpcrig_backend.c
	rpcrig/rpcrig_backend.h
	rpcrig/rpcrig_proc.c
	rpcrig/rpcrigd.c
	rpcrot/rpcrot.x
	rpcrot/rpcrot_backend.c
	rpcrot/rpcrot_backend.h
	rpcrot/rpcrot_proc.c
	rpcrot/rpcrotd.c
	src/Makefile.am
	tests/rigctl.1
	tests/rotctl.1
2012-02-03 15:03:39 -06:00
Nate Bargmann
b49e6c4dff Updates for 1.2.15 cycle 2012-02-02 20:40:55 -06: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
Stephane Fillod
9646b90a28 win32termios: remove deadwood & keep naming space tidy 2012-01-30 23:39:16 +01:00
Stephane Fillod
cd79fca440 HiQSDR: misc caps changes 2012-01-30 23:25:35 +01:00
Stephane Fillod
32a4066050 add DttSP control through UDP interface 2012-01-30 23:22:32 +01:00
Stephane Fillod
8b26904aa5 Quell cppcheck warnings 2012-01-29 23:37:59 +01:00
Nate Bargmann
ea0a9300a2 Fix incorrect swap of main and subband in IC-910
Per tracker bug report:

https://sourceforge.net/tracker/?func=detail&atid=108305&aid=3480533&group_id=8305

When the actual used frequency lies in the same band like the one you
want to set, the main- and subband are swaped.  Definitely not the
wanted behyvior. -- from ArkturusMensk
2012-01-27 19:13:20 -06:00
Nate Bargmann
8fc10c6389 Bump version string to 1.2.15~rc1 2012-01-26 09:13:19 -06:00
Nate Bargmann
6cd38454ea Change ft767gx.c to RIG_STATUS_STABLE
Per Steve Conklin, AI4QR, setting the status to STABLE.
2012-01-26 08:43:16 -06:00
Nate Bargmann
ea7bf7a0d3 Quell compiler warning of unitialized variable. 2012-01-21 13:06:04 -06:00
Nate Bargmann
86caab9466 Add LGPL boilerplate to adat source files.
Frank had originally released the files to us under "Creative Commons
License."  After contacting him, he agreed to allow it to be changed to
LGPL:

Date: Tue, 10 Jan 2012 09:16:07 +0100
From: Frank Goenninger <frgo@me.com>
To: Nate Bargmann <n0nb@n0nb.us>
Subject: Re: Hamlib Backend for the ADAT ADT-200A

Hi Nate,

sure - change it to LGPL. Do you do this or should I do and resend the
files?

Tnx!

73 Frank

----------------8<------------------

I have now done so.

Only other change is stripping of trailing white space.
2012-01-20 19:48:34 -06:00
Nate Bargmann
39fe57864f Quell variable set but not used warning. 2012-01-12 15:44:29 -06:00
Nate Bargmann
5f3226c2aa Remove ASCII degree symbol
If a degree symbol is needed in the text output, UTF-8 will need to be
used.
2012-01-12 15:40:48 -06:00
Nate Bargmann
cb1732fc2a Fix error for 'make check'
Implement several simple shell scripts to exercise various aspects of
Hamlib.  The previous implementation relied on the installation of
DejaGNU and the tests/config and tests/*.test directories were not
distributed.  Also, later Autotools documenation seems to suggest that
DejaGNU is to be replaced by Autotest.  The generation and use of simple
scripts was chosen to provide a usable check target until Autotest can
be supported.
2012-01-12 15:34:38 -06:00
Nate Bargmann
bd7101d8cc Synchronize C++ library version with C. 2012-01-12 06:20:41 -06: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
Frank Goenninger
f6ea9f1246 Add ADAT ADT-200A backend
Signed-off-by: Stephane Fillod <fillods@users.sf.net>
2012-01-11 23:16:41 +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
4324d9ea98 fix bug in fifisdr_get_level(RIG_LEVEL_AGC) 2012-01-08 22:34:13 +01:00
Rolf Meeser
bb5361e1ed (fifisdr) Add AF/AGC/SQL controls, modify tuning steps and filters.
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-01-07 22:17:59 -06:00
Nate Bargmann
db3afff112 Assure NULL terminated strings in kit file.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 22:17:09 -06:00
Nate Bargmann
4863209a07 Assure NULL terminated strings in winradio file.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 21:55:37 -06:00
Nate Bargmann
0c525a64e2 Assure NULL terminated strings in tuner files.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 21:52:48 -06:00
Nate Bargmann
ccbfdc42e1 Assure NULL terminated strings in flexradio file.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 21:48:05 -06:00
Nate Bargmann
c941966b4a Assure NULL terminated strings in rpc files.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 20:54:49 -06:00
Nate Bargmann
b31cc6ecd9 Assure NULL terminated strings in src files.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 20:50:34 -06:00
Nate Bargmann
1229a0a42a Assure NULL terminated strings in tests programs.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 20:36:50 -06:00
Nate Bargmann
59516cbb26 Man page edits. 2012-01-07 20:36:18 -06:00
Nate Bargmann
f409370200 Update rigctl/rigctld man pages.
Document maximum pathname length for -r, -p, and -d options.
Note that -r and -m options are not optional.
Bump copyright date to 2012.
2012-01-06 23:21:31 -06:00
Nate Bargmann
b54932ec96 Assure NULL terminated strings in rigctl/rigctld
The -r, -p , and -d options could result in a port pathname that is
not a NULL terminated string as the allowed string length is the same
size as the buffer per the strncpy manual page.  This is corrected by
assuring that the allowed length is FILPATHLEN - 1.
2012-01-06 23:11:35 -06:00
Stephane Fillod
7bf119716b add HiQSDR 2012-01-06 09:40:04 +01: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
Stephane Fillod
070beccf37 add IC-1275 2012-01-04 09:29:09 +01:00
Nate Bargmann
6d85b882c1 Remove 2450 Hz BW from ft950
Per Terry, KJ4EED, the 2450 Hz BW is no longer valid on the latest
FT-950 firmware.  Removing as requested.
2012-01-03 17:04:41 -06:00
Mikhail Kshevetskiy
3c266f0f3f yaesu/vx-1700: we have several PTT sources, try manage them
Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-01-03 16:53:53 -06:00
Martin Ewing
3404103ffd Orion.c: remove spurious debug statement. 2011-12-30 22:07:12 -05:00
Martin Ewing
4f50bab0e3 Add test for valid set frequency, esp. for VFOA (ham band only)
Expand valid range_lists for full hardware ranges
Fix tt565_transaction to allow Morse commands.
2011-12-30 21:16:17 -05:00
Stephane Fillod
b9c2294d89 transfox: fix set/get_freq by setting current vfo 2011-12-23 00:58:08 +01:00
Stephane Fillod
c891b3c234 transfox: do not call kenwood_open() since rig has no "ID" command 2011-12-23 00:33:42 +01:00