Hi, I'm trying to read NFC Tag's UID using my Lumia 620, but it seems that WP8 SDK doesn't support this. Has anyone ever done this before? Please give me some tips, thanks!
Hi, I'm trying to read NFC Tag's UID using my Lumia 620, but it seems that WP8 SDK doesn't support this. Has anyone ever done this before? Please give me some tips, thanks!
I've already tried about a month and did not work also
There is a way to identify a tag by its ID using the WP8 SDK currently. Write the ID to it.
NDEF supports multiple message. You can place on first record the messaqe you want the phone to read by default, and on the second message you can add an ID that you can then read on your app by cycling through all messages on a TAG. The problem with this approach is that it will use a bit of space on the TAG and not always that is an alternative because some tags have only a bit more than 40 bytes of writable surface.
The ID you can use either the TAG ID that some have writen on the tag it self or just create a new ID of your own to uniquely identity the tag.
Don't forget that Windows Phone SFK does not support write protecting the tags, so if this is a critical information that you dont want anyone to touch, then you also need to implement a hashing mechanism and add that to yet another message on the tag so you can validate if the tag was changed.
Cheers
João Cardoso