Re: [opensc-devel] SCardConnect(), dwPreferredProtocols and detecting Pinpad

2009-12-03 Thread Ludovic Rousseau
2009/12/3 Viktor TARASOV : > Hi, Hello, > for me, PinPad is not detected with dwPreferredProtocols=0 > in the preceding SCardConnect() call (src/libopensc/reader-pcsc.c +917). > > With dwPreferredProtocols=SCARD_PROTOCOL_ANY it's detected normally. > > Is it question of version of PCSC(1.4.3-16)

Re: [opensc-devel] SCardConnect(), dwPreferredProtocols and detecting Pinpad

2009-12-03 Thread Viktor TARASOV
Martin Paljak wrote: > On 03.12.2009, at 11:57, Viktor TARASOV wrote: > > >> Hi, >> >> for me, PinPad is not detected with dwPreferredProtocols=0 >> in the preceding SCardConnect() call (src/libopensc/reader-pcsc.c +917). >> >> With dwPreferredProtocols=SCARD_PROTOCOL_ANY it's detected normally.

Re: [opensc-devel] SCardConnect(), dwPreferredProtocols and detecting Pinpad

2009-12-03 Thread Martin Paljak
On 03.12.2009, at 11:57, Viktor TARASOV wrote: > Hi, > > for me, PinPad is not detected with dwPreferredProtocols=0 > in the preceding SCardConnect() call (src/libopensc/reader-pcsc.c +917). > > With dwPreferredProtocols=SCARD_PROTOCOL_ANY it's detected normally. > > Is it question of version o

[opensc-devel] SCardConnect(), dwPreferredProtocols and detecting Pinpad

2009-12-03 Thread Viktor TARASOV
Hi, for me, PinPad is not detected with dwPreferredProtocols=0 in the preceding SCardConnect() call (src/libopensc/reader-pcsc.c +917). With dwPreferredProtocols=SCARD_PROTOCOL_ANY it's detected normally. Is it question of version of PCSC(1.4.3-16) or CCID(1.3.0-15)? By the way, in pcsc_connect