×

Discussion Board

Results 1 to 7 of 7

Hybrid View

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    9

    increment and decrement problem with external reader

    When I use the mifare increment and decrement functions of MFBlock I get unexpected results when using an external Omnikey 5321 reader.
    e.g. when the card contains the value 0 and I increment with 100 the new value will be 1677721600. When seen as a byteArray this also contains 0x64, but at the wrong place.
    The decrement function fails in a similar way.
    According to the SDK documents both the increment and the decrement should return the new values, but the increment always returns 0 and the decrement always returns 4.
    When I use the simulated mifare card, that writes to a file, the increment and decrement functions work like expected.
    Any suggestions how to solve this?

  2. #2
    Registered User
    Join Date
    Jul 2007
    Posts
    9

    Re: increment and decrement problem with external reader

    The Increment function works correctly on the target (6131NFC), the problem only occurs when using the emulator in combination with the external reader.

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    130

    Re: increment and decrement problem with external reader

    Did you make MFStandardConnection work? Did you install firmware update?

  4. #4
    Registered User
    Join Date
    Jul 2007
    Posts
    9

    Re: increment and decrement problem with external reader

    Yes I used MFStandardConnection. I had the firmware upgraded to make it work.
    If you also need a firmware upgrade try if your Nokia Service point can do it for you.
    Note that using the MFStandardConnection in a midlet is not a very safe method as you need to provide the Mifare keys in the midlet and it would be easy for somebody to retrieve the keys from your midlet.
    Our next step is to remove the MFStandardConnection and to make a JCOP applet and let the Midlet talk to the JCOP applet. I don't know if you also need the new firmware version for this approach.

  5. #5
    Registered User
    Join Date
    Jul 2007
    Posts
    12

    Re: increment and decrement problem with external reader

    Hi ehindriks,
    did you install firmware version 5.10 ?

  6. #6
    Registered User
    Join Date
    Jul 2007
    Posts
    9

    Re: increment and decrement problem with external reader

    It is version 5.11

  7. #7
    Registered User
    Join Date
    Aug 2007
    Posts
    1

    Re: increment and decrement problem with external reader

    Quote Originally Posted by ehindriks View Post
    The Increment function works correctly on the target (6131NFC), the problem only occurs when using the emulator in combination with the external reader.
    Can we read/write the Mifare card on NOKIA 6131 NFC
    by just using signed-MIDlet with an Authentication Key??

    Can we request an authentication key from NOKIA(any cooperationship with Nokia needed??), or we can only wait for some Unlock Service MIDlet that will be released by NOKIA??
    Last edited by austincsw; 2007-08-13 at 08:42.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •