CONTROL instruction

The CONTROL instruction allows to encapsulate a SCardControl command through a SCardTransmit stream.

See Direct Protocol through PC/SC for the implementation details.

Command format

Field Value Remark
CLA FF
INS F0
P1 CLAss of the Direct INStruction
P2 INStruction code for the Direct Protocol
Lc Length of DataIn
DataIn Control payload Can't be empty
Le 00 Can be 0

Response

Field Value
DataOut Control response (is status is OK)
SW 90xx where xx is the STAtus