+OK 3490 octets
Return-Path: <[EMAIL PROTECTED]>
Received: from sparrow.prodigy2000.com ([216.147.132.23])
          by sparrow.prodigy2000.com (Post.Office MTA v3.5.3 release 223
          ID# 0-67069U1000L100S0V35) with SMTP id com
          for <[EMAIL PROTECTED]>; Wed, 13 Dec 2000 12:38:35 +0100
Received: FROM w103.web2010.com BY sparrow.prodigy2000.com ; Wed Dec 13 12:38:30 2000 
+0100
Received: (from ubaweb@localhost)
        by w103.web2010.com (8.9.3/8.9.0) id GAA03357
        for [EMAIL PROTECTED]; Wed, 13 Dec 2000 06:35:44 -0500 (EST)
Received: from www.opencard.org (www.opencard.org [195.212.119.145])
        by w103.web2010.com (8.9.3/8.9.0) with ESMTP id GAA03354
        for <[EMAIL PROTECTED]>; Wed, 13 Dec 2000 06:35:43 -0500 (EST)
Received: by www.opencard.org (Postfix)
        id 1D7A9C309C; Wed, 13 Dec 2000 12:31:11 +0100 (CET)
Delivered-To: [EMAIL PROTECTED]
Received: by www.opencard.org (Postfix, from userid 0)
        id CD0C7C30A7; Wed, 13 Dec 2000 12:31:09 +0100 (CET)
Old-Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 13 Dec 2000 11:33:18 +0000
From: Brian McGuiness <[EMAIL PROTECTED]>
Organization: eCEBS Ltd
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: opencard <[EMAIL PROTECTED]>
Subject: Re: [OCF]  Too many terminals
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <[EMAIL PROTECTED]>
Resent-From: [EMAIL PROTECTED]
X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/1728
X-Loop: [EMAIL PROTECTED]
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
Resent-Date: Wed, 13 Dec 2000 12:31:09 +0100 (CET)

Christophe Muller wrote:
> 
> Hello,
> 
> Brian McGuiness wrote:
> > I'm having a problem in that the OCF card registry tells me that I
> > have four terminals available when I only have two connected to my
> > machine.
[snip]

Thanks for the info.

I solved my problem.  I was using the following piece of code that I had
picked up from this very mailing list:

SmartCard.start();
Pcsc10CardTerminalFactory pcsc_ctr = new Pcsc10CardTerminalFactory();
ctr = CardTerminalRegistry.getRegistry();
String [] term = {"tr","PCSC",""};
pcsc_ctr.createCardTerminals(ctr,term);

After the line "ctr = CardTerminalRegistry.getRegistry();" my card
registry did only list two readers.
After the line "pcsc_ctr.createCardTerminals(ctr,term);" the number
increased to four.

Once I read the API documentation for the createCardTerminals method it
seems that the second parameter (term) should just be set to null.  I
tried this but it made no difference.

I then removed the "pcsc_ctr.createCardTerminals(ctr,term);" line and it
works fine now.

I'm not sure why the extra stuff was there in the first place - maybe it
was needed in an earlier release of OCF.

cheers
Brian


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.



---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to