×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    52

    Mifare card keys for writing/reading NDEF record

    Hi all,

    Once solve the problem I had on a previous post, let's go to another and more important one.

    I have several mifare 1k cards. I wanna write a record on it and then read it. I have the midlet working properly on the simulator but when getting to the real device the writeNDEF function returns an IOException: authentication error.

    I have check the mifare card with keys 00..00 A0...A5 FF..FF and D3DF... but still doesn't make it to succeed.

    Which are the keys used by writeNDEF() to write the record on the card? Do the card has to be a special one? What is the structure?

    Thanks.

  2. #2
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    52

    Re: Mifare card keys for writing/reading NDEF record

    Let's further explain it.

    I have a quite old mifare card, which I can write to and read from using the MFStandardConnection. In this case I control the keys I set for any sector, and therefore I can control what I'm doing.

    However when I'm using the NDEFTagConnection I don't know what are the keys. On the emulator everything works fine, but on the real device with the above card no I have also taken the data from the emulated cards and mimic it on the real card (except of manufacturer data), but the system doesn't recognized it and still get a authentication error (the keys, data, and permissions are the same as the ones in the emulated card)

    Please, any help is more than welcome. I don't know if it is me, the device or the card.

    TA

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    8

    Re: Mifare card keys for writing/reading NDEF record

    Hi,

    I have the same questions regarding NDEF standard Keys. are they same for all sectors except sector 0?

    Thanks

  4. #4
    Regular Contributor
    Join Date
    Jul 2006
    Posts
    52

    Re: Mifare card keys for writing/reading NDEF record

    Have a look to
    http://discussion.forum.nokia.com/fo...ghlight=jlanza

    In this thread some examples and code is further explained.

  5. #5
    Registered User
    Join Date
    Dec 2007
    Posts
    8

    Re: Mifare card keys for writing/reading NDEF record

    the header part starting with 03D1 is fine, I am only confused with which keys to use.

Similar Threads

  1. Internal Mifare access from internal secure card
    By super_beda in forum Near Field Communication
    Replies: 4
    Last Post: 2007-09-17, 10:55
  2. Internal Mifare card 6131
    By tdelazzari in forum Near Field Communication
    Replies: 4
    Last Post: 2007-08-23, 15:24
  3. Multiple mifare card emulation?
    By waaij in forum Near Field Communication
    Replies: 0
    Last Post: 2007-07-25, 10:56
  4. Problem MMC+USB Connection
    By Fede81 in forum Symbian
    Replies: 1
    Last Post: 2007-06-14, 06:13
  5. Problem MMC+USB Connection
    By Fede81 in forum General Development Questions
    Replies: 3
    Last Post: 2006-07-19, 15:21

Posting Permissions

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