40typedef enum __RF_PROTOCOL {
41 __RF_PROTOCOL_UNKNOWN = 0,
43 RF_PROTOCOL_ISO_14443_A_READER,
44 RF_PROTOCOL_ISO_14443_B_READER,
45 RF_PROTOCOL_INNOVATRON_READER,
46 RF_PROTOCOL_ISO_15693_READER,
47 RF_PROTOCOL_FELICA_READER,
49 RF_PROTOCOL_ISO_14443_A_TARGET,
50 RF_PROTOCOL_ISO_14443_B_TARGET,
51 RF_PROTOCOL_INNOVATRON_TARGET,
52 RF_PROTOCOL_ISO_15693_TARGET,
53 RF_PROTOCOL_FELICA_TARGET,
54 RF_PROTOCOL_ISO_DEP_TARGET,
55 RF_PROTOCOL_NFC_DEP_TARGET,
60#define RF_PROTOCOL_IS_TARGET(x) ((x)>=RF_PROTOCOL_ISO_14443_A_TARGET)
61#define RF_PROTOCOL_IS_READER(x) (!RF_PROTOCOL_IS_TARGET(x))
63typedef uint32_t RF_OPTION;
65#define RF_OPTION_NONE 0x00
66#define RF_OPTION_COMPUTE_CRC 0x01
67#define RF_OPTION_COMPUTE_PARITY 0x02
68#define RF_OPTION_CHECK_CRC 0x04
69#define RF_OPTION_CHECK_PARITY 0x08
70#define RF_OPTION_CLOSE 0x10
72typedef enum __RF_BITRATE {
73 RF_BITRATE_106K = 0x00,
74 RF_BITRATE_212K = 0x01,
75 RF_BITRATE_424K = 0x02,
76 RF_BITRATE_848K = 0x03,