Wykres commitów

3244 Commity (bb6c6493e18082e74d358e210ec12e09a8b33ea3)

Autor SHA1 Wiadomość Data
Nate Bargmann bb6c6493e1 Test for PB width < 0, normal PB, or +- limits
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.
2012-06-15 18:31:35 -05:00
Nate Bargmann 94ea3ced4c Test for passband width < 0 or normal passband
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).
2012-06-15 18:30:57 -05:00
Nate Bargmann 370ce23c29 Update NEWS and PACKAGE_VERSION for 1.2.15.2 2012-06-12 20:48:00 -05:00
Stephane Fillod 061fe078b3 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.
(cherry picked from commit 8b41f25aa8)
2012-06-12 20:30:04 -05:00
Stephane Fillod e84dd5d727 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>
(cherry picked from commit c78952310a)
2012-06-12 20:29:32 -05:00
Nate Bargmann e47aa86475 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.
(cherry picked from commit 1d6a7249fb)
2012-06-12 20:28:28 -05:00
Martin Ewing aaa0e93fab Trim TS950 commands that are not provided by CAT
(cherry picked from commit 6bdd1a6aa9)
2012-06-12 20:28:18 -05:00
Michal Demin bdfe50bc65 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>
(cherry picked from commit de329c1ed7)
2012-06-12 20:12:55 -05:00
Nate Bargmann b744fb0116 Minor edits to clarify shell commands.
(cherry picked from commit e8d429fc45)
2012-06-02 08:00:36 -05:00
Nate Bargmann c9eaebc92a Release 1.2.15.1 2012-03-11 07:29:56 -05:00
Nate Bargmann e26bdae56e Note that libltdl-dev is needed for build
Other minor edits.
2012-03-11 07:27:31 -05:00
Nate Bargmann fa699001e8 Update NEWS for 1.2.15.1~rc 2012-03-01 21:45:40 -06:00
Nate Bargmann 20814924b2 Include backend specific notes with 'make dist' 2012-03-01 21:18:07 -06:00
Nate Bargmann 45def7bbcf 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.
2012-03-01 21:09:49 -06:00
Martin Ewing 969d058897 Increment Jupiter version
(cherry picked from commit 57ccb20c64)
2012-03-01 19:57:15 -06:00
Martin Ewing 6e627bb128 remove debug stmt
(cherry picked from commit bea1a0ef3a)
2012-03-01 19:56:59 -06:00
Martin Ewing 4f1d9458f8 implement level settting and misc fixes
(cherry picked from commit 9a36fc277d)
2012-03-01 19:56:46 -06:00
Nate Bargmann 0527fdd455 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.

(cherry picked from commit 417cb98d2e)
2012-02-28 17:58:53 -06:00
Nate Bargmann 9b1ce8fd50 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.

(cherry picked from commit c3bc66eafc)
2012-02-28 17:56:30 -06:00
Rob Frohne be35663294 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>
(cherry picked from commit 62a4bd8363)
2012-02-14 10:14:38 -06:00
Nate Bargmann 7bbfac55fd Patch from Frank, DG1SBG, to quell warning 2012-02-07 15:42:30 -06:00
Rob Frohne 4df53cd292 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>
2012-02-06 07:06:58 -06:00
Nate Bargmann 2ddf2638f0 Advance to 1.2.15.1~rc 2012-02-06 06:28:28 -06:00
Nate Bargmann 172bd29b33 Set version to 1.2.15 2012-02-02 20:44:42 -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