How to set MIFARE keys via simplified API

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to set MIFARE keys via simplified API

800 次查看
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.

 

 

 

 

 

 

标记 (2)
0 项奖励
回复
0 回复数