nagendra wrote:Is there any procedure to write the NDEF data into Mifare1K?
Short answer:
Yes, there are many procedures and datasheets to follow to be able to write an NDEF content in a Mifare Classic.
Long answer:
At start, to put NDEF content that can be readed by other readers, the tag have to be NFC Forum compiliant.
To bring Mifare Classic as NFC Forum enabled tag, you have to follow the dedicated application note:
"Mifare Classic as NFC Forum Enable Tag" from NXP.
This application note explain how to use MAD and Mifare Classic sectors in order to put NDEF content in sectors, so you need to know about MAD, by reading (and implementing) "MIFARE Application Directory (MAD)" from NXP.
These files are also useful:
Mifare Std as NFC Forum Enabled Tag - Extensions for Mifare standard 1k/4k as NFC Forum Enable Tag (v.1.1, 2010-10-01)
NXP Type MF1K/4K Tag Operation - Storing NFC Forum data in Mifare Standard 1k/4k (v.1.1, 2010-10-01)
Once you have a tag that can handle NDEF content, you need to learn how to forge NDEF message, that contains NDEF records. To do this, you need to read NFCForum-TS-NDEF_1.0 from NFCForum and you need to understand types described in :
NFCForum-SmartPoster_RTD_1.0,
NFCForum-TS-GenericControlRTD_1.0,
NFCForum-TS-RTD_1.0 and
NFCForum-TS-RTD_Text_1.0
Finally, I should point to you two projects that you can be interested in :
- libfreefare, that allow mifare manipulation and provide an example to write ndef on Mifare Classic and Mifare DESFire tag.
- libndef that enable you to simply manipulate NDEF messages and records in Object Oriented way.
I hope it helps.
Last edited by rconty (2011-01-11 16:49:59)
Romuald Conty