Wykres commitów

3249 Commity (8b41f25aa84dcba584cf178fc333aad4ea65d24e)

Autor SHA1 Wiadomość Data
Stephane Fillod 8b41f25aa8 GS-232A: Fix wrong end of line in commands
Similar to c78952310a, and
as described in page 15 of the user manual for the Yaesu GS-232A,
remove the extra line feed when sending commands.
2012-06-11 23:30:44 +02:00
Stephane Fillod c78952310a GS-232B: Fix frequent hangs because of wrong end of line
From Paul:
" ...   I am using the Win32 hamlib program, rotctl.exe
version 1.2.15.1 with a Yaesu GS-232B antenna rotator controller interface
device.  Rotctl.exe is not operating as expected however.  It frequently
hangs on some of the commands.  I have successfully commanded the
controller using a dumb terminal and I have watched the characters that are
sent with a scope.  It appears that the hamlib rotctl.exe is sending
incorrect line termination characters when sending out commands.  It should
send carriage return only ("\r") and not carriage return and line feed
("\r\n") as it is currently doing.

I have attached page 15 from the user manual for the Yaesu GS-232B
controller interface device (also found at
http://gatorradio.org/Manuals/Yaesu_GS-232B_Manual.pdf) which shows the
proper line terminators."

Signed-off-by: Paul Lafferty <plaff65@gmail.com>
Signed-off-by: Stephane Fillod <fillods@users.sf.net>
2012-06-09 19:04:49 +02:00
Nate Bargmann 600be45fb8 Note that libltdl-dev is needed for build
Other minor edits.

(Same patch as e26bdae56e in Hamlib-1.2.15
branch.)
2012-06-02 07:56:11 -05:00
Nate Bargmann 1d6a7249fb TS950 now uses kenwood_get_mode_if()
Like other Kenwood rigs of its vintage, the TS-950 series provides the
mode information in the IF command response.  Filter bandwidth is
set/read using the FL command.
2012-06-02 07:18:40 -05:00
Michal Demin de329c1ed7 Read eeprom value for digital mode from FT-857
From Michal:

"I have been playing a lot recently with PSK modes using fldigi. I have
noticed that the yaesu ft-857 backend doesn't distinguish between upper
and lower sideband digital mode (menu item 38).  This causes lot of
trouble on bands where USB is used (when QSY button is pressed in
fldigi, or when calculating the real QSO frequency).

With some use of undocumented CAT features and some research I have
put together small patch, that reads EEPROM data. When SW asks hamlib
what mode is being used, hamlib will also consider the
value from eeprom.

When changing the mode in the menu, new value will become available in
the EEPROM _after_ pressing the "FUNC" button.

Setting mode from SW is left untouched, as writing to EEPROM is
potentially dangerous (and I don't feel like destroying my rig, yet)"

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2012-05-15 08:26:58 -05:00
Nate Bargmann e8d429fc45 Minor edits to clarify shell commands. 2012-05-12 21:11:52 -05:00
Martin Ewing 6bdd1a6aa9 Trim TS950 commands that are not provided by CAT 2012-03-20 22:07:55 -04:00
Nate Bargmann 01ab10bf10 Include backend specific notes with 'make dist'
(cherry picked from commit 20814924b2)
2012-03-01 21:23:16 -06:00
Nate Bargmann 47ec7efdb3 Update man pages for sorted -l output
The output from [rig|rot]ctl[d] using the -l|--list option is now sorted
by model number in ascending order.  Document it.
(cherry picked from commit 45def7bbcf)
2012-03-01 21:22:49 -06:00
Martin Ewing 57ccb20c64 Increment Jupiter version 2012-03-01 20:25:19 -05:00
Martin Ewing bea1a0ef3a remove debug stmt 2012-02-29 23:15:55 -05:00
Martin Ewing 9a36fc277d implement level settting and misc fixes 2012-02-29 23:12:42 -05:00
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