1 /* 2 EIBD client library 3 Copyright (C) 2005-2006 Martin K�gler <mkoegler@auto.tuwien.ac.at> 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 In addition to the permissions in the GNU General Public License, 11 you may link the compiled version of this file into combinations 12 with other programs, and distribute those combinations without any 13 restriction coming from the use of this file. (The General Public 14 License restrictions do apply in other respects; for example, they 15 cover modification of the file, and distribution when not linked into 16 a combine executable.) 17 18 This program is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 GNU General Public License for more details. 22 23 You should have received a copy of the GNU General Public License 24 along with this program; if not, write to the Free Software 25 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26 */ 27 #ifndef EIBTYPES_H 28 #define EIBTYPES_H 29 30 #define EIB_INVALID_REQUEST 0x0000 31 #define EIB_CONNECTION_INUSE 0x0001 32 #define EIB_PROCESSING_ERROR 0x0002 33 #define EIB_CLOSED 0x0003 34 35 #define EIB_OPEN_BUSMONITOR 0x0010 36 #define EIB_OPEN_BUSMONITOR_TEXT 0x0011 37 #define EIB_OPEN_VBUSMONITOR 0x0012 38 #define EIB_OPEN_VBUSMONITOR_TEXT 0x0013 39 #define EIB_BUSMONITOR_PACKET 0x0014 40 41 #define EIB_OPEN_T_CONNECTION 0x0020 42 #define EIB_OPEN_T_INDIVIDUAL 0x0021 43 #define EIB_OPEN_T_GROUP 0x0022 44 #define EIB_OPEN_T_BROADCAST 0x0023 45 #define EIB_OPEN_T_TPDU 0x0024 46 #define EIB_APDU_PACKET 0x0025 47 #define EIB_OPEN_GROUPCON 0x0026 48 #define EIB_GROUP_PACKET 0x0027 49 50 #define EIB_PROG_MODE 0x0030 51 #define EIB_MASK_VERSION 0x0031 52 #define EIB_M_INDIVIDUAL_ADDRESS_READ 0x0032 53 54 #define EIB_M_INDIVIDUAL_ADDRESS_WRITE 0x0040 55 #define EIB_ERROR_ADDR_EXISTS 0x0041 56 #define EIB_ERROR_MORE_DEVICE 0x0042 57 #define EIB_ERROR_TIMEOUT 0x0043 58 #define EIB_ERROR_VERIFY 0x0044 59 60 #define EIB_MC_CONNECTION 0x0050 61 #define EIB_MC_READ 0x0051 62 #define EIB_MC_WRITE 0x0052 63 #define EIB_MC_PROP_READ 0x0053 64 #define EIB_MC_PROP_WRITE 0x0054 65 #define EIB_MC_PEI_TYPE 0x0055 66 #define EIB_MC_ADC_READ 0x0056 67 #define EIB_MC_AUTHORIZE 0x0057 68 #define EIB_MC_KEY_WRITE 0x0058 69 #define EIB_MC_MASK_VERSION 0x0059 70 #define EIB_MC_PROG_MODE 0x0060 71 #define EIB_MC_PROP_DESC 0x0061 72 #define EIB_MC_PROP_SCAN 0x0062 73 #define EIB_LOAD_IMAGE 0x0063 74 75 #endif 76