00001 /* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */ 00002 #ifndef _TMR_TAG_PROTOCOL_H 00003 #define _TMR_TAG_PROTOCOL_H 00004 00011 /* 00012 * Copyright (c) 2009 ThingMagic, Inc. 00013 * 00014 * Permission is hereby granted, free of charge, to any person obtaining a copy 00015 * of this software and associated documentation files (the "Software"), to deal 00016 * in the Software without restriction, including without limitation the rights 00017 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 00018 * copies of the Software, and to permit persons to whom the Software is 00019 * furnished to do so, subject to the following conditions: 00020 * 00021 * The above copyright notice and this permission notice shall be included in 00022 * all copies or substantial portions of the Software. 00023 * 00024 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00025 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00026 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00027 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00028 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00029 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 00030 * THE SOFTWARE. 00031 */ 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif 00035 00036 #include "tmr_gen2.h" 00037 #include "tmr_iso180006b.h" 00038 #include "tmr_ipx.h" 00039 00043 typedef enum TMR_TagProtocol 00044 { 00045 TMR_TAG_PROTOCOL_NONE = 0x00, 00046 TMR_TAG_PROTOCOL_ISO180006B = 0x03, 00047 TMR_TAG_PROTOCOL_GEN2 = 0x05, 00048 TMR_TAG_PROTOCOL_ISO180006B_UCODE = 0x06, 00049 TMR_TAG_PROTOCOL_IPX64 = 0x07, 00050 TMR_TAG_PROTOCOL_IPX256 = 0x08, 00051 TMR_TAG_PROTOCOL_ATA = 0x1D, 00052 } TMR_TagProtocol; 00053 00055 typedef struct TMR_TagProtocolList 00056 { 00058 TMR_TagProtocol *list; 00060 uint8_t max; 00062 uint8_t len; 00063 } TMR_TagProtocolList; 00064 00065 #ifdef __cplusplus 00066 } 00067 #endif 00068 00069 00070 #endif /* _TMR_TAG_PROTOCL_H_ */