Title: jpcsc

Hello,
I'm having issues with the Context class ListReaders method.  It appears that no matter how many readers have been registered with pc/sc, ListReaders only returns the first reader.  For example, there are 3 readers registered with pc/sc, but in the following code snippet, c.ListReaders() returns an array of one string, that string being the first registered reader:

        Context     c       = Context.c;
        String[]    sa      = c.ListReaders();
        for(int i=0;i<sa.length;i++){
            System.out.println("Reader["+ i + "] = " + sa[i]);
        }

I looked at Context.c, but saw nothing that looked out of the ordinary, but I am not too familiar with jni.  Any comments or suggestions?

Thanks,
John

Reply via email to