Hamlib/yaesu/yaesu.h

60 wiersze
1.7 KiB
C
Czysty Zwykły widok Historia

/*
* hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
*
* yaesu.h - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
* and Stephane Fillod 2001,2002
*
* Common yaesu declarations for hamlib
*
* $Id: yaesu.h,v 1.13 2002-12-01 03:08:05 n0nb 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 ft747_caps;
extern const struct rig_caps ft817_caps;
extern const struct rig_caps ft847_caps;
extern const struct rig_caps ft100_caps;
extern const struct rig_caps ft920_caps;
extern const struct rig_caps ft1000mp_caps;
extern BACKEND_EXPORT(int) initrigs_yaesu(void *be_handle);
#endif /* _YAESU_H */