Wykres commitów

27 Commity (011efe0452776963ae466929be34557e2519a14a)

Autor SHA1 Wiadomość Data
Michael Black 6bf3b00c4f
astyle all files 2019-11-30 10:19:08 -06:00
Michael Black 2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Nate Bargmann c0b510d804 Implement precision set_position for RT-21
The RT-21 will accept the command 'AP1XXX.Y<CR>;' which allows settings
to 1/10 of a degree.  XXX must be zero padded.  '<CR>' causes the RT-21
to rotate to the position immediately with out the need for a following
'AM1;' command.

Tested by Will, WC2L.
2014-09-15 05:45:45 -05:00
Nate Bargmann 8a6ab377e8 Refactor get_pos code for RT-21
The RT-21 returns a variable length string that is terminated by a
semicolon (';') and shorter strings have a leading space character as a
pad.  As a result the read_string() function is used to read the string
from the port and strtof() is used to obtain the numeric value returned
by the RT-21.  Tested by Will, WC2L.
2014-09-13 21:03:03 -05:00
Nate Bargmann 741fd46947 Initial crack at RT-21 rotor backend
Even though the Green Heron RT-21 rotor controller is billed as being
RotorEZ compatible, it returns its value as 'XXX;' instead of ';XXX'.
As a new backend model is being written anyway, the backend query's the
controller to return the real value which is 'XXX.Y;'.
2014-09-08 21:18:47 -05:00
Nate Bargmann 245ab86441 Quell compiler warnings on Cygwin
Quell mostly harmless warnings from the older GCC installed in Cygwin.
Produces a quiet compilation.
2013-05-09 22:06:39 -05:00
Nate Bargmann ab8fc4c295 Update LGPL header in RotorEZ source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:36 -05:00
Kamal Mostafa, KA6MAL 6440c1f6e9 source warnings cleanup: rotorez_rot_reset wrapper for stop
... and moved "API local implementation" static declarations from .h into .c



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3065 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-27 23:26:13 +00:00
Nate Bargmann, N0NB a3e9c5efa0 Add support in erc_rot_get_position() for Idiom Press format of
returned azimuth string that will be added in a new firmware version.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2970 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-29 20:27:09 +00:00
Nate Bargmann, N0NB b3182ba003 Changing ERC status to ALPHA due to successful test by Dan, OK1HRA
reported by Lada, OK1ZIA.

Updated backend versions to date format.

Updated copyright date to 2010.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2969 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-24 09:15:59 +00:00
Nate Bargmann, N0NB 9224e0dd70 Refactor erc_rot_get_position to truncate ';' in returned string
before passing array pointer to atof().



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2961 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-23 20:35:52 +00:00
Nate Bargmann, N0NB 45b72a0e31 Add DF9GR's ERC model to rotorez backend. Implemented custom get_position for ERC,
custom dcu1_rot_stop() for DCU-1/ERC, and overloaded rotorez_rot_stop() as .reset 
for DCU-1/ERC.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2960 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-08-23 20:09:30 +00:00
Nate Bargmann, N0NB 786e53ce50 Expanded ROT_TYPE definitions in rotator.h
Set dummy rotor to ROT_TYPE_AZEL
Set rotorez rotor type to ROT_TYPE_AZ and added get_info()



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2830 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-02-14 22:06:40 +00:00
Stéphane Fillod, F8CFE 66da5f2dc4 enumaration of backend tokens
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2595 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-25 16:14:39 +00:00
Nate Bargmann, N0NB d0e0f132c6 Update copyright date.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2589 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-17 14:47:13 +00:00
Nate Bargmann, N0NB 9a9d9e5116 Improved buffer flush by shortening serial timeout from 5 to 1.5 seconds.
Re-worked rotorez_rot_set_conf to use token values defined in rotorez.h
but will need to wait until tokens are available in Hamlib for full use.
Improved documentation in rotorez.txt of changes.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2588 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-17 14:37:28 +00:00
Nate Bargmann, N0NB ae3fb34e42 Fix to flush buffer if RotorEZ should receive an invalid command in
which case it puts a long string into the buffer.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2587 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-16 04:21:11 +00:00
Thomas Beierlein, DL1JBE b1bf5c9c67 changed RIG_STATUS_NEW into RIG_STATUS_UNTESTED.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2424 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-26 13:54:52 +00:00
Alexandru Csete OZ9AEC f220f4ff85 - Cast/change unsigned char to char in order to fix compile warnings.
- Incremented backend version numbers.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2129 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 19:08:46 +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
Nate Bargmann, N0NB 8d53121692 2003-02-26
Added:
		doc/README.rotorez -- backend to API document
	Updated:
		Added rot_set_conf support to rotorez.c
		Added interactive support for rot_set_conf in rotctl.c
		Updated rotctl.1 for changes.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1397 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-27 03:47:47 +00:00
Nate Bargmann, N0NB a01169123a 2003-02-12:
Update:
		Fixed read bug where Rotor-EZ is apparently returning the
		azimuth string prepended with a semi-colon.  Thanks to
		Orv W6BI for testing the code.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1370 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-02-13 03:08:00 +00:00
Nate Bargmann, N0NB 81be20c293 2003-01-12
Updated:
		Added check for values greater than 359.4999 and adjust
		it to 0 for compatibility with DCU-1


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1347 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-01-12 14:59:46 +00:00
Nate Bargmann, N0NB f8748e3817 2003-01-12
Updated:
		Implemented basic functions for rotorez backend

	Added:
		Text file describing extended DCU protocol used by
		rotorez backend


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1346 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-01-12 14:29:15 +00:00
Nate Bargmann, N0NB ef89e0efa1 2003-01-10
New:
		Adding files for initial rotorez build.  Will build,
		but no functionality.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1344 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-01-11 00:47:48 +00:00