2000-09-16 01:43:48 +00:00
|
|
|
/*
|
|
|
|
* hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
|
|
|
|
*
|
|
|
|
* icom.h - Copyright (C) 2000 Stephane Fillod
|
|
|
|
* This shared library provides an API for communicating
|
|
|
|
* via serial interface to an ICOM using the "CI-V" interface.
|
|
|
|
*
|
|
|
|
*
|
2000-10-01 12:37:50 +00:00
|
|
|
* $Id: icom.h,v 1.3 2000-10-01 12:37:50 f4cfe Exp $
|
2000-09-16 01:43:48 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program 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 General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ICOM_H
|
|
|
|
#define _ICOM_H 1
|
|
|
|
|
|
|
|
|
|
|
|
struct icom_priv_data {
|
|
|
|
unsigned char re_civ_addr; /* the remote equipment's CI-V address*/
|
|
|
|
int civ_731_mode; /* Off: freqs on 10 digits, On: freqs on 8 digits */
|
|
|
|
};
|
|
|
|
|
|
|
|
int icom_init(RIG *rig);
|
|
|
|
int icom_cleanup(RIG *rig);
|
2000-09-19 07:06:48 +00:00
|
|
|
int icom_set_freq(RIG *rig, freq_t freq);
|
2000-10-01 12:37:50 +00:00
|
|
|
int icom_get_freq(RIG *rig, freq_t *freq);
|
2000-09-16 01:43:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* _ICOM_H */
|
|
|
|
|