Hello,
kunal wrote:I'm new to libnfc. so please bear with me.
First, you should have some knowledge about how smart-card (with contact) works because actual contact-less tags could be consider as a merge between smart-cards (with contact) and RFID.
kunal wrote:how do i read and write to a simple 14443 tag.
Libnfc have an API to drive the NFC devices, this one is available (with an example) here : http://www.libnfc.org/api/
kunal wrote: Note it's not mifare or other type of tag, it's a plain 14443A.
Do you have any links to technical descriptions or to reseller site ? Because AFAIK, "plain 14443A tag" doesn't exist under this name...
BTW, I think you may have seen this term on a NFCForum enabled device which consider tags that are not NFCForum compiliant as "Plain ISO14443 A tag"
kunal wrote:just want to write a 64 byte, and read multiple of 128 bytes.
If your tag is not MIFARE, you have to know what are the supported commands of your tag, some follow standards, some use their own commands set..
But, with libnfc, you will have to:
- Grab your NFC device (nfc_list_devices, nfc_connect)
- Initialise NFC device as an initiator (nfc_initiator_init)
- Select the tag (nfc_initiator_select_passive_target)
- Send command to the tag and receiver the reply (nfc_initiator_transceive_bytes)
I hope it helps
Romuald Conty