简体   繁体   中英

How to get unique fixed NFC ID?

Is there any way to get some device id or unique & fixed id on P2P communication through NFC devices?

I'm trying to get some unique id which I can check later if that was the same device or not. Right now I'm getting random id on each tap which is very difficult to identified the same device.

Thanks, Gaurav Kapoor

On Android not unless you install your own App that does Host Card Emulation and returns a unique ID.

For NFC the ID is designed only to prevent card clash when 2 Cards are presented to a NFC reader at the same time and thus don't need to be unique, just likely to be different and does not need to be static.

Thus Android OS generates a random number each time as a security precaution against it being used to track phones.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM