2001-06-03 17:39:59 +00:00
|
|
|
/*
|
2001-07-13 19:08:15 +00:00
|
|
|
* Hamlib Alinco backend - main file
|
2010-04-16 19:04:00 +00:00
|
|
|
* Copyright (c) 2001-2010 by Stephane Fillod
|
2001-06-03 17:39:59 +00:00
|
|
|
*
|
|
|
|
*
|
2011-08-20 22:55:00 +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.1 of the License, or (at your option) any later version.
|
2001-06-03 17:39:59 +00:00
|
|
|
*
|
2011-08-20 22:55:00 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2001-07-13 19:08:15 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2011-08-20 22:55:00 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2001-06-03 17:39:59 +00:00
|
|
|
*
|
2011-08-20 22:55:00 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2001-07-13 19:08:15 +00:00
|
|
|
* License along with this library; if not, write to the Free Software
|
2011-08-20 22:55:00 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2001-06-03 17:39:59 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2001-07-13 19:08:15 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
2017-10-08 11:20:45 +00:00
|
|
|
# include "config.h"
|
2001-07-13 19:08:15 +00:00
|
|
|
#endif
|
|
|
|
|
2003-10-01 19:32:04 +00:00
|
|
|
#include <stdio.h>
|
2001-06-03 17:39:59 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h> /* String function definitions */
|
|
|
|
#include <unistd.h> /* UNIX standard function definitions */
|
|
|
|
#include <math.h>
|
|
|
|
|
2001-12-16 11:14:47 +00:00
|
|
|
#include <hamlib/rig.h>
|
2020-06-17 21:13:20 +00:00
|
|
|
#include <register.h>
|
2001-07-14 16:48:03 +00:00
|
|
|
|
2001-06-03 17:39:59 +00:00
|
|
|
#include "alinco.h"
|
2020-06-17 21:13:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* initrigs_alinco is called by rig_backend_load
|
|
|
|
*/
|
|
|
|
DECLARE_INITRIG_BACKEND(alinco)
|
|
|
|
{
|
|
|
|
rig_register(&dx77_caps);
|
|
|
|
rig_register(&dxsr8_caps);
|
|
|
|
|
|
|
|
return RIG_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Function definitions below
|
|
|
|
*/
|
|
|
|
|