From 9270c122e754f19da6c946542a51fe2b48dc5c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Mon, 29 Nov 2010 21:56:05 +0000 Subject: [PATCH] F1TE tracker's protocol looks more like GS232 than GS232A git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3008 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- gs232a/gs232.c | 40 ++++++++++++++++++++++++++++++++++++++++ gs232a/gs232a.c | 39 --------------------------------------- 2 files changed, 40 insertions(+), 39 deletions(-) diff --git a/gs232a/gs232.c b/gs232a/gs232.c index da0813979..8588687a6 100644 --- a/gs232a/gs232.c +++ b/gs232a/gs232.c @@ -229,3 +229,43 @@ const struct rot_caps gs232_rot_caps = { .stop = gs232_rot_stop, }; + +/* ************************************************************************* */ +/* + * F1TE Tracker, GS232 withtout position feedback + * + * http://www.f1te.org/index.php?option=com_content&view=article&id=19&Itemid=39 + */ + +const struct rot_caps f1tetracker_rot_caps = { + .rot_model = ROT_MODEL_F1TETRACKER, + .model_name = "GS232/F1TE Tracker", + .mfg_name = "F1TE", + .version = "0.1", + .copyright = "LGPL", + .status = RIG_STATUS_BETA, + .rot_type = ROT_TYPE_AZEL, + .port_type = RIG_PORT_SERIAL, + .serial_rate_min = 150, + .serial_rate_max = 9600, + .serial_data_bits = 8, + .serial_stop_bits = 1, + .serial_parity = RIG_PARITY_NONE, + .serial_handshake = RIG_HANDSHAKE_NONE, + .write_delay = 0, + .post_write_delay = 0, + .timeout = 400, + .retry = 0, + + .min_az = 0.0, + .max_az = 360.0, /* vary according to rotator type */ + .min_el = 0.0, + .max_el = 180.0, + + .get_position = NULL, /* no position feedback available */ + .set_position = gs232_rot_set_position, +#if 0 + .stop = gs232_rot_stop, +#endif +}; + diff --git a/gs232a/gs232a.c b/gs232a/gs232a.c index 4f4bb9d26..62c79450f 100644 --- a/gs232a/gs232a.c +++ b/gs232a/gs232a.c @@ -268,45 +268,6 @@ const struct rot_caps gs232a_rot_caps = { }; -/* ************************************************************************* */ -/* - * F1TE Tracker, GS232 withtout position feedback - */ - -const struct rot_caps f1tetracker_rot_caps = { - .rot_model = ROT_MODEL_F1TETRACKER, - .model_name = "GS232A/F1TE Tracker", - .mfg_name = "F1TE", - .version = "0.2", - .copyright = "LGPL", - .status = RIG_STATUS_BETA, - .rot_type = ROT_TYPE_OTHER, - .port_type = RIG_PORT_SERIAL, - .serial_rate_min = 150, - .serial_rate_max = 9600, - .serial_data_bits = 8, - .serial_stop_bits = 1, - .serial_parity = RIG_PARITY_NONE, - .serial_handshake = RIG_HANDSHAKE_NONE, - .write_delay = 0, - .post_write_delay = 0, - .timeout = 400, - .retry = 0, - - .min_az = 0.0, - .max_az = 360.0, - .min_el = 0.0, - .max_el = 180.0, - - .get_position = NULL, /* no position feedback available */ - .set_position = gs232a_rot_set_position, -#if 0 - .stop = gs232a_rot_stop, - .move = gs232a_rot_move, -#endif -}; - - /* ************************************************************************* */ DECLARE_INITROT_BACKEND(gs232a)