×

Discussion Board

Results 1 to 12 of 12
  1. #1
    Regular Contributor
    Join Date
    May 2007
    Posts
    63

    Library talking to MiFare card

    Hi,

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

    Thanks for any help.

  2. #2
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Lisbon - Portugal
    Posts
    96

    Re: Library talking to MiFare card

    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
    Join Date
    May 2007
    Posts
    63

    Re: Library talking to MiFare card

    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
    Join Date
    Dec 2004
    Posts
    53

    Re: Library talking to MiFare card

    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
    Join Date
    May 2007
    Posts
    63

    Re: Library talking to MiFare card

    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
    Join Date
    Dec 2004
    Posts
    53

    Re: Library talking to MiFare card

    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
    Join Date
    May 2007
    Posts
    63

    Re: Library talking to MiFare card

    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
    Join Date
    Dec 2004
    Posts
    53

    Re: Library talking to MiFare card

    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
    Join Date
    May 2007
    Posts
    63

    Re: Library talking to MiFare card

    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
    Join Date
    Dec 2004
    Posts
    53

    Re: Library talking to MiFare card

    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
    Join Date
    May 2007
    Posts
    63

    Re: Library talking to MiFare card

    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
    Join Date
    May 2007
    Posts
    63

    Re: Library talking to MiFare card

    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
    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
    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
    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
  •