I'm new in NFC thing, so I tested several phones with calling getTagId() method in HCE mode, and this is the result:
device | UID
LG G2 | random
LG G3 | static
S4 | random
HTC One Mini | static
Xiaomi mi3 | static
My questions:
- Why do some phones have static UID and some do not? Is this chipset related?
- Is it possible to get a fixed UID? I need it to authenticate the device.
- On other side, I'm using Kitkat CyanogenMod 11 on Xperia M, but I did not manage to use it for HCE, why?
Any documents that can explain/support the answer?
getTagId()
method are you using? Could you describe your test setup? – Perfecto