tmr_region.h
Go to the documentation of this file.
00001 /* ex: set tabstop=2 shiftwidth=2 expandtab cindent: */
00002 #ifndef _TMR_REGION_H
00003 #define _TMR_REGION_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 
00039 typedef enum TMR_Region
00040 {         TMR_REGION_NONE = 0,              TMR_REGION_NA   = 1,             TMR_REGION_EU   = 2,                      TMR_REGION_KR   = 3,                      TMR_REGION_IN   = 4,                      TMR_REGION_JP   = 5, TMR_REGION_PRC  = 6,           TMR_REGION_EU2  = 7,           TMR_REGION_EU3  = 8,                     TMR_REGION_KR2  = 9,TMR_REGION_PRC2 = 10,                  TMR_REGION_AU   = 11, TMR_REGION_NZ   = 12,         TMR_REGION_NA2 = 13,              TMR_REGION_NA3 = 14,                                    TMR_REGION_IS= 15,                       TMR_REGION_OPEN = 0xFF
00058 } TMR_Region;
00059 
00061 typedef struct TMR_RegionList
00062 {
00064   TMR_Region *list;
00066   uint8_t max;
00068   uint8_t len;
00069 } TMR_RegionList;
00070 
00071 #ifdef  __cplusplus
00072 }
00073 #endif
00074 
00075 #endif /* _TMR_REGION_H_ */


thingmagic_rfid
Author(s): Brian Bingham
autogenerated on Thu May 16 2019 03:01:24