errcode.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2007, IRTrans GmbH
00003  * All rights reserved.
00004  *
00005  * Redistribution and use in source and binary forms, with or without 
00006  * modification, are permitted provided that the following conditions are met:
00007  *     * Redistributions of source code must retain the above copyright
00008  *       notice, this list of conditions and the following disclaimer. 
00009  *     * Redistributions in binary form must reproduce the above copyright
00010  *       notice, this list of conditions and the following disclaimer in the
00011  *       documentation and/or other materials provided with the distribution. 
00012  *     * Neither the name of IRTrans GmbH nor the
00013  *       names of its contributors may be used to endorse or promote products
00014  *       derived from this software without specific prior written permission. 
00015  *
00016  * THIS SOFTWARE IS PROVIDED BY IRTrans GmbH ``AS IS'' AND ANY
00017  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00018  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
00019  * DISCLAIMED. IN NO EVENT SHALL IRTrans GmbH BE LIABLE FOR ANY
00020  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00021  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
00022  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00023  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00024  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 
00025  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026  */
00027 
00028 
00029 
00030 #define ERR_OPEN                        1
00031 #define ERR_RESET                       2
00032 #define ERR_VERSION                     3
00033 #define ERR_TIMEOUT                     4
00034 #define ERR_READVERSION         5
00035 
00036 #define ERR_DBOPENINPUT         11
00037 #define ERR_REMOTENOTFOUND      12
00038 #define ERR_COMMANDNOTFOUND     13
00039 #define ERR_TIMINGNOTFOUND      14
00040 #define ERR_OPENASCII           15
00041 #define ERR_NODATABASE          16
00042 #define ERR_OPENUSB                     17
00043 #define ERR_RESEND                      18
00044 #define ERR_TOGGLE_DUP          19
00045 #define ERR_DBOPENINCLUDE       20
00046 #define ERR_NOFILEOPEN          21
00047 #define ERR_FLOCK                       22
00048 #define ERR_STTY                        23
00049 #define ERR_HOTCODE                     24
00050 #define ERR_NOTIMING            25
00051 #define ERR_TEMPCOMMAND         26
00052 #define ERR_OPENTRANS           27
00053 #define ERR_TESTCOM                     28
00054 #define ERR_SHUTDOWN            29
00055 #define ERR_ISMACRO                     30
00056 #define ERR_LONGRAW                     31
00057 #define ERR_LONGDATA            32
00058 #define ERR_WRONGBUS            33
00059 #define ERR_COMMANDSTRING       34
00060 #define ERR_OVERWRITE           35
00061 #define ERR_CCF                         36
00062 #define ERR_UDPFORMAT           37
00063 #define ERR_TESTCOMOK           38
00064 #define ERR_NOIRDB              39
00065 #define ERR_NOTSUPPORTED        40
00066 #define ERR_NO_RS232            41
00067 #define ERR_SENDOK                      42
00068 #define ERR_CCFLEN                      43
00069 #define ERR_ACTIONSEND          44
00070 #define ERR_CCFSYNTAX           45
00071 
00072 #define ERR_OPENSOCKET          100
00073 #define ERR_BINDSOCKET          101
00074 #define ERR_FINDHOST            103
00075 #define ERR_CONNECT                     104
00076 #define ERR_SEND                        105
00077 #define ERR_RECV                        106
00078 #define ERR_BINDWEB                     107
00079 #define ERR_DEVICEUNKNOWN       108
00080 
00081 
00082 #define FATAL                           1
00083 #define IR                                      2
00084 #define IRTIMEOUT                       3
00085 
00086 void GetError (int res,char st[]);


ir_drivers
Author(s): Raul Perula-Martinez
autogenerated on Thu Apr 2 2015 03:06:05