Forum / MIFARE SDK / Mifare SDK Lite filterIntent / Nxpnfclibcallback
Tagged: authenticateSL3
-
I'm getting this error: Cannot resolve method 'filterIntent(android.content.Intent.com.nxp.nfclib.Nxpnfclibcallback)'.
libInstance.filterIntent(intent, mCallback);
private Nxpnfclibcallback mCallback = new Nxpnfclibcallback() {.....}
Can someone help me to fix this.
Thanks,
Emmanuel
+ 0 | - 0
Hi Emmanuel,
The cause of your problems is: you use methods of the Advanced SDK which are also available inside of the Lite SDK. The usage of this methods always results in errors or in a crash at runtime.
Please check if you always use the Lite methods and callbacks with “lite” in its name. Please have a look into the sample app how to use Lite methods.
Kind regards,
The MIFARE Team
+ 0 | - 0
Thanks, for your reply. I did upgrade to the Advanced SDK, but I haven't yet achieved my objective which is to personalize brand new MIFARE PLUS X cards from SL0 to SL3. I've tried to use this command
objMfPlusX.authenticateSL3(true, 0x9003, 3, (byte) 0, divInput, pcdCap2In);
But no luck with getting SL3 activated, all that I'm getting is Card Not Supported.
Can somebody help me to figure out how to accomplish this.
Thanks,
Emmanuel
+ 0 | - 0
Hi Emmanuel,
Before you can switch from SL0 to SL3 you have to write the AES keys first! Otherwise you cannot switch into SL3.
Please have a look into the data sheet. You have to write:
- Card Master Key
Card Configuration Key
SL2 Switch Key (not for the Plus S)
SL3 Switch Key.
Regards,
The MIFARE Team
+ 0 | - 0
I'm doing it on android,
Isn't this "Write the 16 Byte Level 3 Switch Key: Write Perso (into address 9003h)" equivalent to this command objMfPlusX.authenticateSL3(true, 0x9003, 3, (byte) 0, divInput, pcdCap2In);
or do I have to write the 4 keys at once in a sequence or one at a time.
please if you happen to have a sample app or a piece of code to do that help me with it.
Thanks.
+ 0 | - 0
WordPress › Error There has been a critical error on this website.