SCM Microsystems SCL01X Reference Manual page 71

Multiprotocol contactless stationary reader
Table of Contents

Advertisement

SCL01X R
M
EFERENCE
SCARD_READERSTATE
// please add the name of the used reader here or use SCardListReaders
// to find the right reader name
char
*ReaderName[] = {"SCM Microsystems Inc. SCL01X USB ContactlessReader 0",
/***************************************************************************************
*****************/
ContextHandle = -1;
ret = SCardEstablishContext(SCARD_SCOPE_USER, NULL, NULL, &ContextHandle);
if (ret == SCARD_S_SUCCESS)
{
ret = SCardConnect(
if (ret == SCARD_S_SUCCESS)
{
IOCTL_CCID_ESCAPE,
1,
&ResLen);
ANUAL
Reader[1];
NULL};
/* get actual PUPI status: ON/OFF */
InBufLen = 2;
InWord = CCID_GET_PUPI_STATUS;
ret = SCardControl (CardHandle,
InBufLen,
printf ("\n Get PUPI status: %lx: %.2x", ret,OutByte);
Reader[0].dwCurrentState = SCARD_STATE_UNAWARE;
Reader[0].dwEventState = SCARD_STATE_UNAWARE;
Reader[0].szReader = ReaderName[0];
ContextHandle,
ReaderName[0],
SCARD_SHARE_SHARED,
SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1,
&CardHandle,
&ActiveProtocol);
&InWord,
&OutByte,
71

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SCL01X and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents