Wykres commitów

14 Commity (10a0fcc700f19830211fb8fac7566bd70323d054)

Autor SHA1 Wiadomość Data
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
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 12bd5bf3f2 Update LGPL header in Easycomm source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:35 -05: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 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 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
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