Forked from LibPN532

Dependents:   NFC_Secure_Access NFC_Secure_Access

Fork of LibPN532 by dotnfc Tang

Files at this revision

API Documentation at this revision

Comitter:
udareaniket
Date:
Sun Apr 22 23:29:20 2018 +0000
Parent:
1:b5922b3b3257
Commit message:
Initial commit;

Changed in this revision

PN532/PN532.cpp Show annotated file Show diff for this revision Revisions of this file
PN532_IF/PN532_SPI.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r b5922b3b3257 -r 9a2ab3fa7862 PN532/PN532.cpp
--- a/PN532/PN532.cpp	Tue Sep 13 06:17:35 2016 +0000
+++ b/PN532/PN532.cpp	Sun Apr 22 23:29:20 2018 +0000
@@ -322,9 +322,9 @@
     sens_res |= pn532_packetbuffer[3];
 
     DMSG("ATQA: 0x");  DMSG_HEX(sens_res);
-    DMSG("\n");
+    DMSG("\n\r");
     DMSG("SAK: 0x");  DMSG_HEX(pn532_packetbuffer[4]);
-    DMSG("\n");
+    DMSG("\n\r");
 
     /* Card appears to be Mifare Classic */
     *uidLength = pn532_packetbuffer[5];
diff -r b5922b3b3257 -r 9a2ab3fa7862 PN532_IF/PN532_SPI.cpp
--- a/PN532_IF/PN532_SPI.cpp	Tue Sep 13 06:17:35 2016 +0000
+++ b/PN532_IF/PN532_SPI.cpp	Sun Apr 22 23:29:20 2018 +0000
@@ -131,7 +131,7 @@
 
             DMSG_HEX(buf[i]);
         }
-        DMSG("\n");
+        DMSG("\n\r");
 
         uint8_t checksum = read();
         if (0 != (uint8_t)(sum + checksum)) {
@@ -197,7 +197,7 @@
 
     _ss = 1;
 
-    DMSG("\n");
+    DMSG("\n\r");
 }
 
 int8_t PN532_SPI::readAckFrame()