Forum › MIFARE SDK › Ntag 424DNA – authentication not possible › Reply To: Ntag 424DNA – authentication not possible
Dear Stephan,
These are application keys, which means they work on NDEF Application only and not on PICC level. This means that you need to select NDEF application before trying to Authenticate.
Try something like this:
`byte[] NTAG424DNA_NDEF_APP_NAME =
{(byte) 0xD2, (byte) 0x76, 0x00, 0x00, (byte) 0x85, 0x01, 0x01};
keyData.setKey(keyDefault);
/* this is a MUST */
ntag424DNA.isoSelectApplicationByDFName(NTAG424DNA_NDEF_APP_NAME);
ntag424DNA.authenticateEV2First(1, keyData, null);`
Best regards,
TapLinx team
These are application keys, which means they work on NDEF Application only and not on PICC level. This means that you need to select NDEF application before trying to Authenticate.
Try something like this:
`byte[] NTAG424DNA_NDEF_APP_NAME =
{(byte) 0xD2, (byte) 0x76, 0x00, 0x00, (byte) 0x85, 0x01, 0x01};
keyData.setKey(keyDefault);
/* this is a MUST */
ntag424DNA.isoSelectApplicationByDFName(NTAG424DNA_NDEF_APP_NAME);
ntag424DNA.authenticateEV2First(1, keyData, null);`
Best regards,
TapLinx team
+ 0
|
- 0