1 /**************************************************************************/
5 /**************************************************************************/
7 #ifndef __PN532_MIFARE_H__
8 #define __PN532_MIFARE_H__
10 #include "projectconfig.h"
12 typedef enum pn532_mifare_cmd_e
14 PN532_MIFARE_CMD_AUTH_A
= 0x60,
15 PN532_MIFARE_CMD_AUTH_B
= 0x61,
16 PN532_MIFARE_CMD_READ
= 0x30,
17 PN532_MIFARE_CMD_WRITE
= 0xA0,
18 PN532_MIFARE_CMD_TRANSFER
= 0xB0,
19 PN532_MIFARE_CMD_DECREMENT
= 0xC0,
20 PN532_MIFARE_CMD_INCREMENT
= 0xC1,
21 PN532_MIFARE_CMD_STORE
= 0xC2
30 pn532_mifare_param_auth_t
;
36 pn532_mifare_param_data_t
;
42 pn532_mifare_param_value_t
;
46 pn532_mifare_param_auth_t mpa
;
47 pn532_mifare_param_data_t mpd
;
48 pn532_mifare_param_value_t mpv
;
61 pn532_mifare_classic_block_manufacturer_t
;
67 pn532_mifare_classic_block_data_t
;
72 byte_t abtAccessBits
[4];
75 pn532_mifare_classic_block_trailer_t
;
79 pn532_mifare_classic_block_manufacturer_t mbm
;
80 pn532_mifare_classic_block_data_t mbd
;
81 pn532_mifare_classic_block_trailer_t mbt
;
83 pn532_mifare_classic_block_t
;
87 pn532_mifare_classic_block_t amb
[256];
89 pn532_mifare_classic_tag_t
;
102 pn532_mifareul_block_manufacturer_t
;
108 pn532_mifareul_block_data_t
;
112 pn532_mifareul_block_manufacturer_t mbm
;
113 pn532_mifareul_block_data_t mbd
;
115 pn532_mifareul_block_t
;
119 pn532_mifareul_block_t amb
[4];
121 pn532_mifareul_tag_t
;