-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we add password protection on write on NFC tag? #11
Comments
Yes, it could be possible pass a pin into nfcA by using Please see the following page: |
Can you send a pull request with the feature? |
Hi @romellfudi I am the same user which is comment in this stackoverflow link which you posted, I already follow your instruction for write data with password security, but unfortunately I lost the Nfc tag, I am not able to write again on this tag, only we can read this tag. code for write data into tag with set Tag Lock code for write data into tag with set Tag UnLock am i did right or wrong? |
Please attach the log and video |
@GauravCreed I've said your error log |
1 similar comment
@GauravCreed I've said your error log |
android.nfc.TagLostException: Tag was lost. |
Well it's a wrong command exception : https://stackoverflow.com/questions/38768310/android-nfcv-transceive-throws-an-exception |
Did you ask to @MichaelsPlayground, what happens when you run the activity created by him when passing your NFC tag |
@GauravCreed: In my comment to your SO question I kindly asked to modify my activity ("https://github.com/MichaelsPlayground/NfcNfcaAuthProtection/blob/master/app/src/main/java/de/androidcrypto/nfcnfcaauthprotection/SetWriteProtectionActivity.java") to run with a NTAG213 (I don't own one, so I cannot test it). Have a look at the official datasheet for NTAG 213/215/216 to find out which addresses should have written to write a password protection to your tag. You are using the "MifareUltralight" class, why don't you use the "NfcA" class directly ? |
Hi @romellfudi
Can we add password protection on NFC write tag? i want develop like NFC tag only write from my application, not other application can write on that NFC tag,
yes but read NFC can possible on all other applications.
Thanks(_)
The text was updated successfully, but these errors were encountered: