Get static NFC tag identifier with HCE mode

I'm new to NFC, so I tested several phones calling the 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 a static UID and some not? Is this chipset connected?
  • Is it possible to get a fixed UID? I need it to authenticate the device.
  • On the other hand, I am using Kitkat CyanogenMod 11 on the Xperia M, but I have not been able to use it for HCE, why?

Any documents that can explain / support the answer?

+4
source share
1 answer

Why do some phones have a static UID and some not? Is this chipset connected?

NFC. , , Android NFC:

  • UID .
  • UID .
  • UID . HF NFC Android.
  • , UID ( ), . 0x01020304. [ ErikM .]

UID?

, . , Android ( NFC) . . UID Broadcom libnfc-nci.

.

! . .

+5

All Articles