I am trying to read/write NFC NTAG using ACR 122U NFC reader. I am keep geting error in SCardTransmit
return values junk or return code 6. I need to know what are the apdu commands values to pass in SendBuff of SCardTransmit
method
I check the apdu values I found from googling but there is no clear and working solution I have found so far
I have checked many solutions on web tried different buffer values
ClearBuffers();
SendBuff[0] = 0xFF; // CLA
SendBuff[2] = 0x00; // P1: same for all source types
SendBuff[1] = 0x00; // INS: for stored key input
SendBuff[3] = 0x00; // P2 : Memory location; P2: for stored key input
SendBuff[4] = 0x00; // P3: for stored key input
I am getting 6 return value when I include all values I lastly I am getting kind of junk data in Received Buffer