How do I erase the M24SR NDEF record from I2C?
I am using STM32. I can read the NDEF file from M24SR via I2c but I want to to delete it after reading so do I erase? I didn't found any example of erasing in app note.
I am using STM32. I can read the NDEF file from M24SR via I2c but I want to to delete it after reading so do I erase? I didn't found any example of erasing in app note.
Hello,
First of all, thanks for your interest in M24SR and STM32 products !
Erasing an NDEF file is usually done by overwriting the NDEF file content.
The simplest way to make the NDEF content "unvalid" is to put NDEF length to 0 ( offset address 0 of the NDEF file).
I hope this answers your question,
Best Regards
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.