How to set MIFARE keys via simplified API

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set MIFARE keys via simplified API

81 Views
jr_hernandez
Contributor II

Hi,

I am testing the simplified API and I succesfully managed to read mifare card data (within block 5 p.e.) via default key. So far so good.

Now, I would like to authenticate by using other key and I am tryning to set it up in the keyStore, but no succes. The key is set properly (apparently), but then it fails at the MFC_AUTHETICATE(...) when trying to read.

Since I have found no methods for such task in the Simplified API I am using legacy methods to handle keyStore (found inside NfcrdlibEx4_MIFAREClassic example) when initializing NfcLib, but no succes.

Is it possible to handle keyStore via Simplified Api?

Is there any example (apart from NfcrdlibEx4_MIFAREClassic) on how to change, set or add key to the KeyStore?

Regards, Ramon.

 

 

 

 

 

 

0 Kudos
0 Replies