Pointers for reading NFC 14443-3 Card on NFC Shield

Hi, I’m new to Arduino and NFC. I’m having fun trying to read a 14443-3A NFC card on the NFC shield. It reads the ID code of the card easy. However I can’t read data or authenticate. I’ve changed the PN532 lib from seeedstudio.com/wiki/index.p … NFC_Shield so that I can see the data going out and in.

ie
AUTH Packet To PN532 looks like : 40 1 60 0 0 0 0 0 0 0 E2 36 CC 86
Sending: 0x0 0x0 0xFF 0xF 0xF1 0xD4 0x40 0x1 0x60 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xE2 0x36 0xCC 0x86 0x21 0x0
Reading: 0x0 0x0 0xFF 0x0 0xFF 0x0
Reading: 0x0 0x0 0xFF 0x3 0xFD 0xD5 0x41 0x14

I’m needing some pointers, I’ve been googling trying to find a better NFC lib for Arduino or any sort of doc which helps me figure out why the PN532 or the NFC Card are replying with a 0x41 0x14. I found a few bits and pieces on MiFARE 14443-1 but nothing which is helping. Looking at the PN532 lib I should have got a 0x41 0x00?

Dear customer,

This is a No. of RFID card.It just read and appear them by hexadecimal numbers.
So you can code by yourself to change it in decimal.

Sorry, maybe I didn’t make it clear. The NFC shield and PN532 can read the ID off the smart card ok. When reading blocks of data from the NFC card you have to authenticate first. The PN532 library works fine reading and writing to a MiFARe 14443-1 type card. What I’m trying to do is write to a 14443-3 type card. When I send what I think should be a correctly formed authentication packet I get a bad response from the card.

Or maybe I really have no clue about NFC and need some pointers. I’ve got the NFC Forum documentation and it is pretty hard reading. I think I’ve been getting confused since it looks like there are Type 1,2,3,4 and NFC-A, NFC-B and NFC-C

Ok, the problem I had was I was only trying to use Key A with authentication. If I had used Key B it would have worked.

AUTH Packet To PN532 looks like : 40 1 61 0 0 0 0 0 0 0 CD 9B 45 56
Sending: 0x0 0x0 0xFF 0xF 0xF1 0xD4 0x40 0x1 0x61 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xCD 0x9B 0x45 0x56 0x87 0x0
Reading: 0x0 0x0 0xFF 0x0 0xFF 0x0
Reading: 0x0 0xFF 0x3 0xFD 0xD5 0x41 0x0 0xEA

Now on to the next problem.