Forum Replies Created

  • Re: Reply To: Problem initialising key set in MIRAFE DESFire EV2

    20. March 2017 at 10:37
    in reply to: Problem initialising key set in MIRAFE DESFire EV2
    Hi Mike. I haven't solved the problem yet :$ I'm using TapLinx SDK 1.1
    + 0  |  - 0

    Re: Reply To: Problem authenticating against a new application to create a file (EV2 tag)

    9. March 2017 at 18:32
    in reply to: Problem authenticating against a new application to create a file (EV2 tag)
    Hi TapLinx Support,

    Thanks for your reply. Finally I was able to fix my problem reseting the app default key with this code:

    EV2PICCConfigurationSettings settings = new EV2PICCConfigurationSettings();
    settings.setAppDefaultKey(SampleAppKeys.KEY_AES128_ZEROS, (byte) 0x1);
    desFireEV2.setConfigurationByte(settings);


    Regards,
    Diego
    + 0  |  - 0

    Re: Reply To: General questions about TapLinx and MIFARE DESFire EV2

    7. March 2017 at 11:16
    in reply to: General questions about TapLinx and MIFARE DESFire EV2
    The application should not crash when NFC is disable. Of course I can wrap any call to the SDK into try/catch blocks but the SDK doesn't provide any documentation about all the possible Exceptions that could be thrown when calling either registerActivity or startForeGroundDispatch (unless you decompile the SDK and check what the exceptions are :$)

    + 0  |  - 0

    Re: Reply To: Problem authenticating against a new application to create a file (EV2 tag)

    7. March 2017 at 11:09
    in reply to: Problem authenticating against a new application to create a file (EV2 tag)
    That's exactly what I'm doing, didn't I? The problem here is that even before I try to create the file the authentication at the application level fails. As you can see what I'm doing first is to authenticate at the PICC level then I create the new application then I select the new application and then I try to authenticate at the application level but that authentication fails (as you can see I'm using the default application key). Before I create the new file I want to change the application password but the default authentication fails. I would appreciate any help to solve the application authentication problem. Thanks!
    + 0  |  - 0

    Re: Reply To: Crash when executing startForeGroundDispatch

    7. March 2017 at 10:53
    in reply to: Crash when executing startForeGroundDispatch
    Hi, thanks for your reply. What startForeGroundDispatch does internally is to call the NfcAdapter#enableForegroundDispatch method which according to the Android documentation must to be called from onResume ("...enableForegroundDispatch() must be called from the main thread and only when the activity is in the foreground (calling in onResume() guarantees this)") https://developer.android.com/guide/topics/connectivity/nfc/advanced-nfc.html#foreground-dispatch

    On the other hand the sample application that you provide (https://www.mifare.net/wp-content/uploads/2016/08/SrcsampleNxpNfcLib-1.0.zip) calls startForeGroundDispatch from onResume. Where should I call startForeGroundDispatch method from?

    Cheers.
    + 0  |  - 0
Viewing 5 posts - 1 through 5 (of 5 total)