Hamlib/yaesu/yaesu.h

65 wiersze
2.0 KiB
C

/*
* hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
*
* yaesu.h - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
* and Stephane Fillod 2001-2004
*
* Common yaesu declarations for hamlib
*
* $Id: yaesu.h,v 1.21 2004-05-16 07:32:57 fillods Exp $
*
*
*
* 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
*
*/
#ifndef _YAESU_H
#define _YAESU_H 1
/*
* Length (in bytes) of yaesu command sequences
*/
#define YAESU_CMD_LENGTH 5
/*
* Basic Data structure for yaesu native cmd set
*/
struct yaesu_cmd_set {
unsigned char ncomp; /* 1 = complete, 0 = incomplete, needs extra info */
unsigned char nseq[YAESU_CMD_LENGTH]; /* native cmd sequence */
};
typedef struct yaesu_cmd_set yaesu_cmd_set_t;
extern const struct rig_caps ft100_caps;
extern const struct rig_caps ft747_caps;
extern const struct rig_caps ft757gx_caps;
extern const struct rig_caps ft817_caps;
extern const struct rig_caps ft857_caps;
extern const struct rig_caps ft897_caps;
extern const struct rig_caps ft847_caps;
extern const struct rig_caps ft890_caps;
extern const struct rig_caps ft900_caps;
extern const struct rig_caps ft920_caps;
extern const struct rig_caps ft990_caps;
extern const struct rig_caps ft1000mp_caps;
extern const struct rig_caps frg8800_caps;
#endif /* _YAESU_H */