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?
Thanks @IvanRuiz . I don't seem to be able to find said "config" values anywhere inside the folder where the demo app and driver lives.
I'm so close to getting where I want to be (changing UIDs programmatically) but I'm lacking a concrete example. Instead of `04:03:02:01`, I'd like it to be, for example, `08:07:06:05` or whatever. NOTE that I'm using the USB dongle https://rlx.sk/en/development-tools/6919-nfc-usb-dongle-mikroe-2540-nfc-reader-writer-nxp-pn7150.htm...
Hi,
I don't suppose that there is a way to control the uid?. I'm looking for a solution to perform the emulation with a given uid, not random.
Thanks beforehand,
Israel
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.