Go to the documentation of this file.00001 #ifndef __RFID_DRIVER_DATA_H__
00002 #define __RFID_DRIVER_DATA_H__
00003
00027
00028
00029 #define BLOCK_SIZE_HF 4
00030
00032
00033
00034 #define NUM_READERS 1
00035
00037
00038
00039 #define BASE_READER_ID 216135657
00040 #define HEAD_READER_ID 216132099
00041
00043
00044
00045 #define BUS_ADDRESS_HEAD_READER 0xFF
00046 #define BUS_ADDRESS_BASE_READER 0xFE
00047
00049
00050
00051 #define HEAD_READER_PORT 268435458
00052 #define BASE_READER_PORT 268435459
00053
00055
00056
00057 #define HF_NAME "ID ISC.MR101-U"
00058
00060
00061
00062 #define NUM_COLUMNS 4
00063 #define NUM_ROWS 255
00064
00066
00067
00068 #define MAX_LENGTH (NUM_COLUMNS * NUM_ROWS)
00069
00071
00072
00073 #define UID_LENGTH 24
00074
00076
00082 typedef struct {
00083 char UID[UID_LENGTH];
00084
00085 struct {
00086 unsigned int length;
00087 unsigned char value[MAX_LENGTH];
00088 } data;
00089 } card_data;
00090
00092
00093 #endif