PN532 customized

Fork of PN532 by Components

Revision:
7:a26fa6ef10eb
Parent:
5:418ee8924317
Child:
9:70abe4844114
--- a/PN532.h	Tue Mar 25 16:48:10 2014 +0000
+++ b/PN532.h	Tue Feb 09 16:16:11 2016 +0000
@@ -143,6 +143,7 @@
     // ISO14443A functions
     bool inListPassiveTarget();
     bool readPassiveTargetID(uint8_t cardbaudrate, uint8_t *uid, uint8_t *uidLength, uint16_t timeout = 1000);
+    bool readPassiveTarget(uint8_t cardbaudrate, uint8_t *uid, uint8_t *uidLength, uint8_t *sak, uint16_t timeout = 1000) ;
     bool inDataExchange(uint8_t *send, uint8_t sendLength, uint8_t *response, uint8_t *responseLength);
 
     // Mifare Classic functions
@@ -171,6 +172,8 @@
     uint8_t _uidLen;  // uid len
     uint8_t _key[6];  // Mifare Classic key
     uint8_t inListedTag; // Tg number of inlisted tag.
+    uint8_t _SAK; // SAK bit received from card
+    uint8_t _ATQA; //
 
     uint8_t pn532_packetbuffer[64];