2001-06-04 21:07:17 +00:00
|
|
|
/*
|
|
|
|
* hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
|
|
|
|
*
|
2003-08-11 21:20:35 +00:00
|
|
|
* yaesu.c - (C) Stephane Fillod 2001-2003
|
2001-06-04 21:07:17 +00:00
|
|
|
*
|
|
|
|
* This shared library provides an API for communicating
|
|
|
|
* via serial interface to a Yaesu rig
|
|
|
|
*
|
|
|
|
*
|
2004-02-08 17:08:46 +00:00
|
|
|
* $Id: yaesu.c,v 1.17 2004-02-08 17:08:46 fillods Exp $
|
2002-12-01 03:08:05 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*
|
2001-06-04 21:07:17 +00:00
|
|
|
*/
|
|
|
|
|
2003-04-07 22:42:11 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
2001-06-04 21:07:17 +00:00
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h> /* String function definitions */
|
|
|
|
#include <unistd.h> /* UNIX standard function definitions */
|
|
|
|
|
2003-04-07 22:42:11 +00:00
|
|
|
#include "hamlib/rig.h"
|
2001-12-16 11:14:47 +00:00
|
|
|
#include "serial.h"
|
|
|
|
#include "misc.h"
|
2003-04-16 22:30:43 +00:00
|
|
|
#include "register.h"
|
2001-06-15 07:08:37 +00:00
|
|
|
|
2001-06-04 21:07:17 +00:00
|
|
|
#include "yaesu.h"
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
2001-12-28 20:28:04 +00:00
|
|
|
* initrigs_yaesu is called by rig_backend_load
|
2001-06-04 21:07:17 +00:00
|
|
|
*/
|
|
|
|
|
2003-04-16 22:30:43 +00:00
|
|
|
DECLARE_INITRIG_BACKEND(yaesu)
|
2001-06-04 21:07:17 +00:00
|
|
|
{
|
2003-03-09 04:43:38 +00:00
|
|
|
rig_debug(RIG_DEBUG_VERBOSE, "yaesu: %s called\n", __func__);
|
2001-06-04 21:07:17 +00:00
|
|
|
|
2003-03-09 04:43:38 +00:00
|
|
|
rig_register(&ft100_caps);
|
|
|
|
rig_register(&ft747_caps);
|
2001-12-15 03:23:14 +00:00
|
|
|
rig_register(&ft817_caps);
|
2003-03-09 04:43:38 +00:00
|
|
|
rig_register(&ft847_caps);
|
2003-08-11 21:20:35 +00:00
|
|
|
rig_register(&ft857_caps);
|
2004-02-08 17:08:46 +00:00
|
|
|
rig_register(&ft897_caps);
|
2003-03-09 04:43:38 +00:00
|
|
|
rig_register(&ft890_caps);
|
2003-04-14 03:05:32 +00:00
|
|
|
rig_register(&ft900_caps);
|
2002-10-28 04:53:05 +00:00
|
|
|
rig_register(&ft920_caps);
|
2003-10-12 18:04:02 +00:00
|
|
|
rig_register(&ft990_caps);
|
2002-11-21 23:09:28 +00:00
|
|
|
rig_register(&ft1000mp_caps);
|
2001-06-04 21:07:17 +00:00
|
|
|
|
|
|
|
return RIG_OK;
|
|
|
|
}
|
|
|
|
|