added new error codes

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1033 7ae35d74-ebe9-4afe-98af-79ac388436b8
This commit is contained in:
Stéphane Fillod, F8CFE 2002-03-18 22:59:30 +00:00
parent 4c85dfee59
commit 0ca66e37bb
2 changed files with 8 additions and 4 deletions

View File

@ -1,8 +1,8 @@
/*
* Hamlib Interface - API header
* Copyright (c) 2000,2001 by Stephane Fillod and Frank Singleton
* Copyright (c) 2000-2002 by Stephane Fillod and Frank Singleton
*
* $Id: rig.h,v 1.62 2002-03-05 00:43:08 fillods Exp $
* $Id: rig.h,v 1.63 2002-03-18 22:59:30 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -82,6 +82,8 @@ typedef unsigned int tone_t;
#define RIG_ETRUNC 10 /* Command performed, but arg truncated */
#define RIG_ENAVAIL 11 /* function not available */
#define RIG_ENTARGET 12 /* VFO not targetable */
#define RIG_BUSERROR 13 /* Error talking on the bus */
#define RIG_BUSBUSY 14 /* Collision on the bus */
/* Forward struct references */

View File

@ -11,9 +11,9 @@
/*
* Hamlib Interface - main file
* Copyright (c) 2000,2001 by Stephane Fillod and Frank Singleton
* Copyright (c) 2000-2002 by Stephane Fillod and Frank Singleton
*
* $Id: rig.c,v 1.57 2002-03-14 23:06:02 fillods Exp $
* $Id: rig.c,v 1.58 2002-03-18 22:59:30 fillods Exp $
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
@ -97,6 +97,8 @@ static const char *rigerror_table[] = {
"Command performed, but arg truncated, result not guaranteed",
"Feature not available",
"Target VFO unaccessible",
"Communication bus error",
"Communication bus collision",
NULL,
};
/**