×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Question Develop Reader control application

    Hi all,
    I have to develop a windows application to control the external reader (Omnikey CM5321)communicating with the 6131.
    I read through the forum that someone has already do that..
    So I would ask you some tips to start..

    My app has to :
    - wait for a 6131's internal mifare to read
    - when detected connect to it
    - connect to a server and send it the read data
    - wait for the next card.

    Omnikey SDK demo apps are MFC-based..Is that the right point to start? Or is better to develop a windows service?
    Has someone some tutorial/guide url or tips to give?

    Many thanx to all

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Posts
    63

    Re: Develop Reader control application

    for cm5321 to read mifare you need a special registry key. search the forum.

    you can use the javax.smartcardio library.
    it has waiting for card feature and waiting for it to be remove method.
    search the api for that.

    reading the mifare card need special programming.
    javax.smartcardio currently dont support mifare reading.
    you can check the specific apdu. and how to do the third pass authentication to authenticate to the sector.

    connect to server you can use standard http connection.

    regards,
    jie sheng

  3. #3
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Re: Develop Reader control application

    Hi lovercjs,
    thank you for your quick answer.
    So, in your opinion, it is better to use a java applet?
    Omnikey's APIs and samples are C++/VB - based
    And can a java applet set a registry key?
    And where can I find the right APDUs supported by MIFARE?

  4. #4
    Regular Contributor
    Join Date
    May 2007
    Posts
    63

    Re: Develop Reader control application

    java applet is a java card program.
    apdu lookup specific iso documents.

  5. #5
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Re: Develop Reader control application

    java applet is a java card program.
    I have to develop a java card program to control the reader??

  6. #6
    Regular Contributor
    Join Date
    Apr 2006
    Posts
    58

    Re: Develop Reader control application

    Wait,
    you don't have to write a Java Applet to control the Omnikey.

    If you just need the MiFare portion of the Nokia 6131 you need to use the CardMan API starting by the example that you said.

    In the Nokia side you don't need to develop anything.

    Remember to close the connection with the mobile phone at end of connection or during an excpetion (an error).

    bye
    Roberto

  7. #7
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Re: Develop Reader control application

    My app has to read first the JavaCard portion of the secure element and then the mifare. I read in a thread of the forum that to switch from reading the smartMx as javacard to mifare i have to set a registry key and then unplug and replug the reader.
    But in my system the CM5321 has to work as ticket validation gate, and in the same validation session it has to read both from the javacard and the mifare.
    So can I avoid to unplug and replug the reader and make the registry key setting take effect in another way?
    I asked omnikey's support and they said me to restart the system between the 2 readings instead of unplug and replug.
    But this is not such a smart solution.
    Isn't there another more smart way?
    So what I have to develop?
    I think a MFC/VC++ project using omnikey's API is the smartest solution, because using Java means to buy the ISO 7816 specification for communicating with mifare
    Have you ever programmed a CM5321?
    How did you do it?
    Can you give me some tips?

    ..And are you from Italy?
    Ciao, Andrea

  8. #8
    Regular Contributor
    Join Date
    Apr 2006
    Posts
    58

    Re: Develop Reader control application

    I think that the cardman should connect just to one side, mifare or javacard, not both.

    So, I think, if you don't need the mifare portion to be read by other readers, JavaCard is really the best, so write 1 applet and do anything with that applet.

    I never wrote application with cardman, I just used some application written by my collegues, but just for the MiFare side.

    The best solution should be to buy an NFC reader and let a midlet to get the interface to the MiFare and the JavaCard and send the data through a P2P channel

    Yes, I'm from Italy

    bye
    Roberto

  9. #9
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Genoa, Italy
    Posts
    95

    Re: Develop Reader control application

    I already thought to both solutions you say, the problem is that using only javacard or using a ISO 18092 NFC reader (P2P) will cause me to modify a lot of code of my midlets
    Thanks anyway
    Grazie

Similar Threads

  1. How to develop a video conference application on S60?
    By PengGang2 in forum Symbian Media (Closed)
    Replies: 6
    Last Post: 2009-03-13, 10:54
  2. Browser control application crash
    By jeet137 in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2008-11-11, 23:02
  3. Replies: 1
    Last Post: 2007-03-21, 04:03
  4. how to develop an video call application
    By gs_cmans in forum Symbian
    Replies: 0
    Last Post: 2006-02-10, 06:59
  5. Develop Application in Java interfaced with a N7110
    By cyrusds76 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-01-28, 09:37

Posting Permissions

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