I am working on ACS122U NFC which reads tag's RFID. From ACS http://www.acs.com.hk/en/products/3/acr122u-usb-nfc-reader/ I got the development kit which will only connect to the reader and gives the state when a tag is placed on the NFC reader. But I need to get the ID (UID, serial number) of a tag for further implementation. How can I get the ID of a tag?
In order to get UID you have to send an APDu command.
Please download the datasheet given at link : acr-122u datasheet
In that, check
4.1 Get Data
below this, Get UID APDU format,
FF CA 00 00 00
UPDATE :
Follow the steps:
byte
or unsigned char
) to char