Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor lovercjs's Avatar
    Join Date
    May 2007
    Posts
    63
    Hi,

    Anyone know of any library i could use to talk to a MiFare card?

    Thanks for any help.

  2. #2
    Regular Contributor RicardoPortela's Avatar
    Join Date
    Jul 2007
    Location
    Lisbon - Portugal
    Posts
    96
    What kind of library are you thinking? J2Me?

    Well, you have the JSR-257 specification implemented in the nokia 6131NFC.. I don't think you'll need a library built on top of that...

    Refer to the Nokia 6131NFC SDK or the JSR 257 for more detailed information.

    Good Luck

  3. #3
    Regular Contributor lovercjs's Avatar
    Join Date
    May 2007
    Posts
    63
    Sorry for not stating clear.

    I need a library to talk to a reader that is with contact with the MiFare 4k part of the phone secure element.
    In another words, a desktop library to talk to reader requesting for Mifare information and stuff.
    I doubt that the JSR257 could help in my case, correct me if i am wrong.

    Thanks

  4. #4
    Regular Contributor phoenix__'s Avatar
    Join Date
    Dec 2004
    Posts
    53
    Talking to the reader will need to be done manually ... I send APDUs to my reader which I create and send using M.U.S.C.L.E JPC/SC. However you should be able to use any of the JSR libs to work with the data once you've read it ... I use the NDEFMessage class once I've read the MiFare card.

  5. #5
    Regular Contributor lovercjs's Avatar
    Join Date
    May 2007
    Posts
    63
    Sorry phoenix i dont get quite clear.

    You working on linux platform?

    So this the below wat you did?

    Create APDU -> MUSCLE JPC/SC -> MiFare Card?

    And also where do you get MiFare card APDU Commands from?

  6. #6
    Regular Contributor phoenix__'s Avatar
    Join Date
    Dec 2004
    Posts
    53
    On Linux, in Java, I open a connection to the reader and wait until a card is presented (PCSC). I then generate APDUs to authenticate and read from the card etc. The response I get back is passed to the NDEFMessage (or whatever) class from the mobile API.

    The APDUs are in one of the ISO documents, 7816-4 IIRC.

  7. #7
    Regular Contributor lovercjs's Avatar
    Join Date
    May 2007
    Posts
    63
    So basically you store information on custom location on the card not using the MiFare Application Directory and MiFare application right?

  8. #8
    Regular Contributor phoenix__'s Avatar
    Join Date
    Dec 2004
    Posts
    53
    At the time I did that, it was still firmware 3.1 so the MAD was not available via the phone. With the APIs associated with the new firmware it may be possible to access this.

  9. #9
    Regular Contributor lovercjs's Avatar
    Join Date
    May 2007
    Posts
    63
    I actually wanted to access the information from a desktop program through a card reader instead via the phone midlet itself.

  10. #10
    Regular Contributor phoenix__'s Avatar
    Join Date
    Dec 2004
    Posts
    53
    Yes, if you include the some of the JAR files from the Nokia SDK into your desktop Java IDE you should be able to make use of them. The only ones that won't work are the ones that talk to the card reader in the phone.

  11. #11
    Regular Contributor lovercjs's Avatar
    Join Date
    May 2007
    Posts
    63
    Does Mifare card fall under RFID card grouping?
    Could i use a RFID library to do the communication?
    Example of RFID library is: https://jcaps-rfid.dev.java.net

  12. #12
    Regular Contributor lovercjs's Avatar
    Join Date
    May 2007
    Posts
    63
    Phoenix,

    Is it possible for you to post your APDU command on how you command with the MiFare 4k of the phone?

    Thanks

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian C++
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. Internal Mifare card 6131
    By tdelazzari in forum Near Field Communication
    Replies: 4
    Last Post: 2007-08-23, 15:24
  3. SyExpat + problem + memmove + Carbide Express
    By pearman in forum Symbian C++
    Replies: 2
    Last Post: 2006-10-14, 22:21
  4. Compilation series 60 3rd edition
    By asmobease in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2006-09-13, 09:46
  5. Can’t launch application on 6630
    By kaffemannen in forum Symbian C++
    Replies: 8
    Last Post: 2005-06-29, 10:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved