Hi all,
I tried to write ndef message to ntag21x (eg. ntag213, ntag215, ntag216) with password protection using transceive api android
I follow this document to sent the command to the tag
I sent
But it said transceive fail
But when I sent auth only
0x1B // PWD_AUTH CMD
0x66 0x66 0x66 0x66 // PWD
it returned [0,0]
Can anyone help me what wrong with it?
Thanks
Hi ,
hope you are doing great,
for this the correct process would be that you first authenticate using the correct PWD, then proceed to write the tag, this is an example of the process on command level.
First we activate the NTAG on the ISO 14443-3
Send to card: 26
Recv from card: 4400
Send to card: 9320
Recv from card: 8804475E95
Send to card: 93708804475E95
Recv from card: 04
Send to card: 9520
Recv from card: D29C3980F7
Send to card: 9570D29C3980F7
Recv from card: 00
we proceed to authenticate with Pwd=FFFFFFFF and receive the PACK which is the Acknowledge of the authentication process I set up the PACK as 0123
Send to card: 1BFFFFFFFF
Recv from card: 0123
then I proceed to write the NTAG on page 04 just as demonstration the data is 12345600
Send to card: A20412345600
Recv from card: 0A
please check the above process and let me know if you still have questions.
Have a great day !
BR
Jonathan