advanced search

How to communicate with the touchatag through PC/SC (WINSCARD.dll)

by jpdomenge, 4 Aug 2010


Hi folks,

I recently acquired a touchatag reader which is based on ACR122 NFC reader NFC. Unfortunately, the software supplied with the touchatag is not satisfacting, cause it only works on web applications.

So I have looked at the ACR122 technical detail, I have noted that works on USB CCID and compliant PC/SC. So that mean we have the ability to manipulate it through the DLL WINSCARD.

Following this discovery, I have begun to develop a small test program to communicate between the PC and the reader.

So far, I have managed to open a communication channel but all packages sent (ADPDU) to the reader come back with an error.

Example, when I want to get the reader firmware version, I get the error 0x0A (See page 29 of the PDF below) and when I want to retrieve data, I get error 0x02 (A CRC error has-been detected).

My problem is that I don’t understand why I get these errors.
So i wondering, if the firmware inside the Touchatag reader is the same from an ACR122 NFC reader ?

Thank you in advance for your help.

best regards,

pdomenge

Ci-dessous, le lien du PDF de l’ « Application programming interface » du lecteur ACR122:
http://www.acs.com.hk/drivers/eng/API_ACR122U.pdf