1 /**************************************************************************/
5 /**************************************************************************/
7 #ifndef __PN532_MIFARE_H__
8 #define __PN532_MIFARE_H__
10 #include "projectconfig.h"
12 // These may need to be enlarged for multi card support
13 #define PN532_RESPONSELEN_INLISTPASSIVETARGET (64)
14 #define PN532_RESPONSELEN_INDATAEXCHANGE (64)
16 typedef enum pn532_mifare_cmd_e
18 PN532_MIFARE_CMD_AUTH_A
= 0x60,
19 PN532_MIFARE_CMD_AUTH_B
= 0x61,
20 PN532_MIFARE_CMD_READ
= 0x30,
21 PN532_MIFARE_CMD_WRITE
= 0xA0,
22 PN532_MIFARE_CMD_TRANSFER
= 0xB0,
23 PN532_MIFARE_CMD_DECREMENT
= 0xC0,
24 PN532_MIFARE_CMD_INCREMENT
= 0xC1,
25 PN532_MIFARE_CMD_STORE
= 0xC2