×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    3

    "Unsupported device" exception. ACR122 reader

    Hi,

    I have a problem! I try to communicate with a ACR122 Reader in p2p mode (with java-nfcip-1.3.1 API). When I run the JavaSE application, this exception is shown:

    ds.nfcip.NFCIPException: unsupported device
    at ds.nfcip.se.NFCIPConnection.connectToTerminal(Unknown Source)
    at ds.nfcip.se.NFCIPConnection.setTerminal(Unknown Source)


    But I can not solve it!. With ACR122U Tool, for example, the reader is detected without problems. But not with my Java application

    Why not supported the reader??

    I have installed SDK correctly and I modified regEdit variable correctly too. The terminal ID is 0.

    Can it be a firmware compatibility problem? (My reader is ACR122U205). How to downgrade the firm (from 205 to 102 -> tested with nfcip API)?

    (I will want to test my application with a Nokia 6131NFC and this reader)

    I need help! Thanks so much!

  2. #2
    Registered User
    Join Date
    Aug 2010
    Posts
    1

    Re: "Unsupported device" exception. ACR122 reader

    I have the same issue. How coud you solve it?

    Thanks!!

  3. #3
    Registered User
    Join Date
    Sep 2012
    Posts
    1

    Re: "Unsupported device" exception. ACR122 reader

    This is because it checks for a card:


    NFCIPConnection.java:

    try {
    if (terminal.isCardPresent()) {
    card = terminal.connect("*");
    ch = card.getBasicChannel();
    } else {
    throw new NFCIPException("unsupported device");
    }
    } catch (CardException e) {
    throw new NFCIPException("problem with connecting to reader");
    }
    you can start the program with a card on the reader. Then remove the card and move the readers on top to each other.

    or you can change this into this:

    try {
    card = terminal.connect("*");
    ch = card.getBasicChannel();
    } catch (CardException e) {
    throw new NFCIPException("problem with connecting to reader");
    }

Similar Threads

  1. External reader plugin for NFC reader (ACR122)
    By mathias4u in forum Mobile Java Tools & SDKs
    Replies: 17
    Last Post: 2012-09-02, 14:02
  2. Nokia 6131 SDK with ACR122 Reader
    By praghuna in forum Near Field Communication
    Replies: 4
    Last Post: 2009-04-28, 23:20
  3. s60 3rd ed emulator crash
    By Kimau in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-06-18, 22:12
  4. VS.Net 2003 Carbide 2.01 and epoc32.exe
    By ValentinK in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-01-12, 12:31
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

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