How can i set a specific UID to PN7150 when i run in HCE mode?

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i set a specific UID to PN7150 when i run in HCE mode?

426 Views
1443281858
Contributor II

   when i run the libnfc-nci demoapp in share mode,the reader device shows that the uid of  pn7150 is "040302010400",but how can i set a specific UID to PN7150?

   what document i can reference?

Labels (1)
Tags (3)
0 Kudos
1 Reply

312 Views
IvanRuiz
NXP TechSupport
NXP TechSupport

Hello,

A random Id can be enabled in this case. -Random ID can be set when PN7150 is configured in HCE

- in type A, LA_NFCID1 (NCI parameter Tag 0x33) must be set as zero length (while otherwise it is set as 4, 7 or 10 bytes length)

   CORE_SET_CONFIG = "20 02 03 01 33 00"

- in type B, LB_NFCID0 (NCI parameter Tag 0x39) must be set as zero length (while otherwise it is set 4 bytes length)

   CORE_SET_CONFIG = "20 02 03 01 39 00"

Hope this helps!

BR,

Ivan.

0 Kudos