Hello.
I am developing an Android application that reads/writes/deletes tags with passwords using Taplinx SDK.
Of course, the function to delete tag data requires password authentication.
However, when deleting tag data, I confirmed that the tag does not return to its initial state, that is, the state when the tag was purchased.
(Here, "state" includes all values in the tag. I don't know what to call it.)
Please check the attached *.txt files.
(This is the content of the tag scanned using the "TagInfo" application.)
The differences (problems) are as follows:
1. Ndef type has been changed to NdefFormatable type.
2. Looking at the memory, it seems that the password setting part is still masked, so it seems that the password release (i.e. initialization) failed.
I wrote the logic to delete the tag in the application as follows.
1. nTag.reader.connect()
2. Attempt tag password authentication (using authenticatePwd())
3. If tag password authentication is successful, disable the password (pass 255 to the second parameter of enablePasswordProtection())
4. Delete the data written to the tag (clear())
5. nTag.reader.close()
I don't know what part of my code is wrong and what action should I add.
If you don't mind, could you help me?