Hello,
>how can I get the list of Card Readers connected to my computer?
Try, CardTerminalRegistry.getRegistry( ).getCardTerminals( );

>And how to select the one I want to use?
Your question is still not very clear to me.  I presume that you need to
send a command apdu.  This is how you do,
(CardTerminal)terminal.sendAPDU( slotChannel sc, CommandAPDU command );
Note: - terminal is an object of type CardTerminal.


Hope this helps,

Regards,

(Embedded image moved to file: pic12623.gif)


                                                                                       
                                         
                    gdzzt                                                              
                                         
                    <zzt_linux@21        To:     "[EMAIL PROTECTED]" 
<[EMAIL PROTECTED]>                                
                    cn.com>              cc:                                           
                                         
                                         Subject:     [OCF]  How to deal with system 
which has multi-card reader?               
                    11/14/01                                                           
                                         
                    02:58 PM                                                           
                                         
                    Please                                                             
                                         
                    respond to                                                         
                                         
                    zzt_linux                                                          
                                         
                                                                                       
                                         
                                                                                       
                                         




Hi, *.*

           Suppose that there are more than one card reader which is
connected to my computer and all of them are using pcsc.
    Then when I program with OCF, how can I get the list of
Card Readers connected to my computer? And how to select the
one I want to use?

           Thank you for your advice.
           Best Regards,
zzt


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



Attachment: pic12623.gif
Description: GIF image

Reply via email to