A macro here seems to expect ac_save_LIBS and ac_save_CPPFLAGS to
be set on entry (by configure?) but configure doesn't do any such
thing, so that would trash any pre-set CPPFLAGS and LIBS when it
runs (making ./configure CPPFLAGS=something fail to work).
Use the absolute value of any negative value that may be passed in via
the width parameter to set_mode.
If RIG_PASSBAND_NORMAL is passed in, call rig_passband_normal() to
determine the normal width for the mode before setting the bandwidth.
The width parameter is tested against wide and narrow filter values and
set to the returned values as upper and lower limits if width falls out
of those bounds.
(cherry picked from commit bb6c6493e1)
Use the absolute value of any negative value that may be passed in via
the width parameter to set_mode.
If RIG_PASSBAND_NORMAL is passed in, call rig_passband_normal() to
determine the normal width for the mode before selecting the correct
filter (needs testing).
(cherry picked from commit 94ea3ced4c)
SF Bug ID 3527331
Action: Using rigctl, request signal strength (STRENGTH) for
a low signal level (~ < -100 dBm)
Expected result: Read a signal level of -100 or less
Actual result: Impossibly large negative value is returned.
Error found in initialization of a variable. Some (useful)
instrumentation was also added to help with future debugging.
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>
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.
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>
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)
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>
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.
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.
"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)
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.
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.
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.