Wykres commitów

4 Commity (3709fcb9827d39948fb7b384d2c76caf02de059d)

Autor SHA1 Wiadomość Data
Gerardo Richarte 7a7813cb48 gs232b.c: Improve get_position string parsing
I've found a problem with my setup. I'm using a Yaesu G-5500 with an
arduino running:

http://blog.radioartisan.com/yaesu-rotator-computer-serial-interface/

to emulate a GS232b.

The problem is that the Elevation in rotctl was incorrectly reported,
with the least significant digit show. The problem I've found is some
incompatibility between the format of the answer and the parser. Here
I'm pasting a new version of gs232b_rot_get_position() which both solves
my issue and should be a bit more reliable to protocol differences,
while simpler than the previous.

(a white space in sscanf() matches none or any number of whitespaces, my
emulated GS232B was reporting AZ=123EL=033 with no spaces. This got
broken recently, and I haven't touched the code running in the arduino).

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-03-03 20:36:28 -06: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 a90176f370 Update LGPL header in GS-232 source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Stéphane Fillod, F8CFE 20d7b872f1 support for GS232B, original patch by Kobus Botha
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2838 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-25 19:17:46 +00:00