Forum Replies Created

  • Re: Reply To: Mifare SDK Lite filterIntent / Nxpnfclibcallback

    29. September 2020 at 13:54
    in reply to: Mifare SDK Lite filterIntent / Nxpnfclibcallback
    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

    Re: Reply To: MIFare PLUS SE Card personalisation using APDU commands

    14. February 2020 at 14:00
    in reply to: MIFare PLUS SE Card personalisation using APDU commands
    Hi,

    Thanks for the response. yes, I have access to the mentioned doc and I have the basic idea. my question is regarding card personalization using APDU commands. I have tried to made a sample APDU but I'm receiving an error.
    + 0  |  - 0

    Re: Reply To: MIFare PLUS SE Card personalisation using APDU commands

    12. February 2020 at 16:58
    in reply to: MIFare PLUS SE Card personalisation using APDU commands
    This is what I come up with so far:

    String APDU_COMMAND =
    "90" // CLA 90h
    + " 01" // INS (command for writePerso (01h sample data for privacy))
    + " 00" // P1: 00h
    + " 00" // P2: 00h
    + " 10" // Lc: Length of data field (10h = 16 bytes = 1 block)
    + " 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08" // String of data units to be written
    + " 00"; // Le: 00h




    but receiving 62531 response code.
    + 0  |  - 0
Viewing 3 posts - 1 through 3 (of 3 total)