Wykres commitów

27 Commity (3709fcb9827d39948fb7b384d2c76caf02de059d)

Autor SHA1 Wiadomość Data
Michael Black W9MDB 0b1a58d308 Fixed indentation warnings detected by newer gcc
Fixed one error discovered by these warnings in easycomm.c
2017-06-28 18:00:20 +01:00
Alexander Schultze 21a23fe599 easycomm: implement get/set config, easycom include status and error bytes, fix get_info 2015-04-05 16:27:27 +02:00
Alexander Schultze 3c924ddd28 update EasyComm3 to include setting and getting of config and status 2015-04-04 18:01:03 +02:00
Alexander Schultze 895639c48f easycomm: include a new EasyComm3 to support move speed and infostring 2015-04-01 21:05:21 +02:00
Steve Conklin 3eae92c1d0 Add paramater checking, serial port flush, buffer clear, and additional debug output
Signed-off-by: Steve Conklin <steve@conklinhouse.com>
2014-01-15 14:04:06 -06:00
Ladislav Vaiz f632695131 Android build updates for monolithic build
Android is now built as a static library.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-19 07:25:08 -05:00
Steve Conklin e6889901da easycomm patch from Steve Conklin, AI4QR
The attached patch restores what I think is the original easycomm
rotator interface functionality. It eliminates the conditional code
for USE_CUSTOM_CODE and USE_TEST_CODE.

Apparently for a very long time, the easycomm back end has been build
with USE_CUSTOM_CODE hardcoded in the source file. This generated code
that issued commands not even remotely similar to what's specified in
the easycommII protocol, which is documented in the easycomm directory
for hamlib.

It appears that at some point someone used the easycomm back end to
implement some custom tests for something, and it was committed and
has been carried this way ever since.

This restored what I think is proper functionality according to the
easycomm spec.

If you are a user of the easycomm back end, or you know of any
easycomm compatible rotor controllers that can be used for testing,
let me know and I can be more thorough about this.

Notes and disclaimers:

0. The original easycomm spec author seems to be unavailable.

1. I don't think that there was valid code to parse the position data
returned from the rotor controller. What was actually getting compiled
simply set some hard-coded values. I replaced it with what I think is
called for by the spec.

2. The easycomm spec is vague about what is supposed to be returned
for any command, so I may still not be parsing position information
correctly as it comes from other easycomm controllers.

3. I wrote my own rotator controller code based upon an interpretation
of the easycomm II spec. This back end for rotctl works with my
implementation. I don't have access to any other easycomm controllers
or even know whether any exist, so I am unable to test this against
any other implementation of easycomm.

4. Even when you select EASYCOMM II as the back end, it sends commands
which are only supposed to be valid for easycomm I according to the
spec (i.e. the position set command includes uplink and downlink
frequency and mode information fields). My rotor controller handles
these, so I didn't change the position set portion of the code.

I understand if there's concern for breaking rotator control for
existing users of the easycomm back end (if any actually exist). If
this patch is too risky, I'll either rewrite my controller to use
another protocol, or add another back end for my own newly invented
protocol "ai4qrcomm" (and document it better than easycomm).

Thanks,

Steve, AI4QR

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-09-18 12:28:56 -05:00
Nate Bargmann 332a04b7cd Clean up backend Makefile.am files
Moved all backend *.h files into the SOURCES primary as Automake
documentation states all source file types should be listed.  This
causes Automake to include *.h files in rebuild rules for the targets.

Removed the '-DIN_HAMLIB' assignment from the CFLAGS primary in each
backend and assigned it to AM_CPPFLAGS in configure.ac.  The effect is
the same and it simplifies the backend Makefile.am files.

Removed all commented lines.
2013-09-16 21:51:39 -05:00
Remi Chateauneu 60019c9444 Monolitic libraries. 2013-09-08 14:56:28 +01:00
Ladislav Vaiz 6d4295af2c Add Android build support
Android makefile fragments are distributed as extra distribution files
by the GNU build system but are otherwise ignored.  The Android build
support is independent and does not rely on the GNU build system.

See android/README.android for more info.

Signed-off-by: Nate Bargmann <n0nb@n0nb.us>
2013-04-26 22:31:56 -05: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 12bd5bf3f2 Update LGPL header in Easycomm source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05:00
Kamal Mostafa, KA6MAL 2567b93af7 Move backend libraries into /usr/lib/hamlib directory.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2988 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-09-26 02:23:50 +00:00
Alexandru Csete OZ9AEC 47f83303f8 - Cast/change unsigned char to char in order to fix compile warnings.
- Incremented backend version number.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2128 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 19:00:05 +00:00
Stéphane Fillod, F8CFE d3293f0117 Patch from Luc Langehegermann:
Changed the limits to 0..360 for Azimuth and 0..180 for Elevation. That was
-180.0..180.0 and 0..90. The devices I know about don't have negative azimuth
values.

2. In rot_set_position, do not wait for a reply from the controller, as there
will not be one, according to the specifications I found at
http://www.amsat.org/amsat/ftp/software/win32/wisp/easycomm.txt


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2054 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-11-19 14:45:54 +00:00
Stéphane Fillod, F8CFE 84ad9b827b include fixup, stdio.h is not included by rig.h anymore
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1551 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-10-01 19:32:04 +00:00
Stéphane Fillod, F8CFE 960c83c4c5 * added ABI VERSION to backend entry point symbol name
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1442 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-16 22:30:43 +00:00
Stéphane Fillod, F8CFE e0b2a7b4ac fix headers
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1435 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-04-07 22:42:11 +00:00
Stéphane Fillod, F8CFE 3497d098a5 misc Makefile fixes
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1282 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-13 20:39:07 +00:00
Stéphane Fillod, F8CFE 52e9a15924 libhamlib-backend.so.x.y.z -> hamlib-backend.so, avoid version info for modules
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1241 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-11-04 22:19:31 +00:00
Stéphane Fillod, F8CFE 41f5748be2 converted to C99 intialization style
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1132 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-16 17:43:02 +00:00
Stéphane Fillod, F8CFE 51ea94cdb5 removed autogenerated files, use autogen.sh instead
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1088 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-07-02 18:03:25 +00:00
Stéphane Fillod, F8CFE cf23615f9e regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1056 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-05-28 21:46:50 +00:00
Stéphane Fillod, F8CFE b26d39f637 handle nul char in stopset
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1019 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-03-10 23:41:39 +00:00
Stéphane Fillod, F8CFE 95571eb3a4 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@937 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 23:59:42 +00:00
Francois Retief d88cbe7307 regenerated
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@872 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 19:18:46 +00:00
Francois Retief e2766bc309 New backend for rotators
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@865 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-16 16:35:22 +00:00