Reply To: Mifare SDK Lite filterIntent / Nxpnfclibcallback

Forum MIFARE SDK Mifare SDK Lite filterIntent / Nxpnfclibcallback Reply To: Mifare SDK Lite filterIntent / Nxpnfclibcallback

Re: Mifare SDK Lite filterIntent / Nxpnfclibcallback

29. September 2020 at 13:54
Hi,

I am trying to Perslize Mifare plus SE cards from SL0 to SL3.

I'm able to successfully switch from SL0 to SL1 using :

  plusSL0.writePerso(0x9000, KEY_AES128_PICC_MASTER); //master key
plusSL0.writePerso(0x9001, KEY_AES128); // config key
plusSL0.writePerso(0x9003, KEY_AES128_PICC_DAM_MAC); //SL3 switch key
plusSL0.commitPerso();


and when switching from SL1 to SL3 in next tap using:

 plusSL1.switchToSL3(keyData);


I'm getting this error:

com.nxp.nfclib.exceptions.SecurityException: data not block size aligned


note: phone support Mifare classic cards
+ 0  |  - 0