2022-08-29 05:45 PM
I am looking to use the code provided (X-CUBE-NFC6) with modifications to have the ST25R3916(lock) and M24SR64(key) to act as a lock and key. I am able to read, format, and write to the tag using the provided program. How would I be able to make each individual tag only work with each individual reader to act as a lock and key?
Any information would be greatly appreciated.
Solved! Go to Solution.
2022-09-06 08:48 AM
Hi,
basically, the list of "allowed" UIDs can be stored in the flash memory of the STM32 (you need to have a way to provision this list). When the UID of a tag is read, it can then be compared to the "allowed" UIDs..
Depending on the security level you want to achieve, you can optional rely on the M24SR 128 bits password (in that case you have to first configure the tag and activate the password. See M24SR datasheet)
Rgds
BT
2022-08-30 02:27 AM
Hi,
lock/key pairing mechanism is a user architecture choice. You can for example reply on the tag UID + M24SR 128 bits password.
Rgds
BT
2022-08-30 10:21 AM
Thank you for the response. I am very green to STM32 programming.
Where would I start to implement this on both the reader and the tag. I guess, how would I go about locking the NDEF to require the password/UID? And how would I get the reader to only accept that specific tag?
Thanks again.
2022-09-06 08:48 AM
Hi,
basically, the list of "allowed" UIDs can be stored in the flash memory of the STM32 (you need to have a way to provision this list). When the UID of a tag is read, it can then be compared to the "allowed" UIDs..
Depending on the security level you want to achieve, you can optional rely on the M24SR 128 bits password (in that case you have to first configure the tag and activate the password. See M24SR datasheet)
Rgds
BT