2020-04-22 07:21 PM
In X-CUBE-NFC6 demo, the NFCID of NFC-A CE mode is set to:
static uint8_t ceNFCA_NFCID[] = {0x02, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66};
I wonder if this is randomly generated or there some rule to set it. For example, if I need set uid0 (first byte) to some manufacture ID ?
Best regards.
Solved! Go to Solution.
2020-04-23 05:05 AM
Hi,
0x02 is really reserved for STM - us needing to assure uniqueness of the other bytes. So unless you would want to apply for your own manufacturer ID I recommend to go the way of using a 4 byte UID with
In our opinion this is the safest way. Again, please refer to Table 11 ISO_IEC_14443-3_2016.
Regards, Ulysses
2020-04-23 03:38 AM
Hi,
well in this case the 0x02 is the manufacturer ID of STMicroelectronics according to ISO7816-6, some (old?) list available here for example:
https://www.kartenbezogene-identifier.de/de/chiphersteller-kennungen.html
For the 7-byte UID it is mandatory to have byte 0 as manufacturer ID and the next 6 bytes as a real UID.
For the 4-byte UIDs you are allowed to use first byte 0x08 and have the next three bytes randomly generated.
Please refere to ISO14443-3 for exact information.
Regards, Ulysses
2020-04-23 04:05 AM
Thanks for your answer.
Another question, if I use the chip in my product, *may* I use '0x02' as 'uid0' ?
2020-04-23 05:05 AM
Hi,
0x02 is really reserved for STM - us needing to assure uniqueness of the other bytes. So unless you would want to apply for your own manufacturer ID I recommend to go the way of using a 4 byte UID with
In our opinion this is the safest way. Again, please refer to Table 11 ISO_IEC_14443-3_2016.
Regards, Ulysses