| Previous | Next |
| SCARD_E_CANT_DISPOSE | SCARD_E_NOT_READY |
SCARD_E_PROTO_MISMATCH
SCARD_E_PROTO_MISMATCH The protocol requested by the caller is incompatible with the protocol currently active for the card. PC/SC negotiates T=0, T=1, Raw, or direct-access behavior during connection, and later APDU calls must match that state.
What to check
- Read the active protocol returned by
SCardConnectorSCardStatusbefore choosing a PCI structure forSCardTransmit. - Use the matching
SCARD_PCI_T0,SCARD_PCI_T1, or documented direct-access path. - After a reset or reconnect, renegotiate and refresh the protocol instead of reusing a previous connection's settings.
Looking for a different code? Search another status or error code.
