Sharjeel Ahmed
Sharjeel Ahmed

Reputation: 2061

How to set and read an NTAG213 with a password?

I was considering ordering NTAG213 and replacing my current implementation of NTAG203 chips as the new line of chips have password protection as given here

Is there a way in android we can write a password and read back the data when supplied with a password?

Upvotes: 2

Views: 8894

Answers (2)

NFC guy
NFC guy

Reputation: 10228

The complete feature set of the NTAG213 is accessible, configureable and useable in Android. The tags are recognized as compatible with MIFARE Ultralight by Android, so you can either use the MifareUltralight or NfcA technology to communicate with them. N.B.: Please, be aware that submitting the wrong password to a tag may lock it permanently if it has been configured with a maximum retry count.

Upvotes: 5

pizzaani
pizzaani

Reputation: 332

Usually, Android supports the NFCA standard. However, at some point, if you want to access protected data, it depends on the encryption standard if it is supported by default (e.g., several standards), or if you have to implement it on your own, using the raw transceive command:

//Send raw NFC-A commands to the tag and receive the response.
byte[]   transceive(byte[] data)

Upvotes: 1

Related Questions