2.2.5 Protocol Identifier
A Protocol Identifier.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
ProtocolIdentifier |
|||||||||||||||||||||||||||||||
ProtocolIdentifier (4 bytes): This field MUST have a value from Table A which is logically OR'ed with a value from Table B.
-
Table A
-
Value
Meaning
SCARD_PROTOCOL_UNDEFINED
0x00000000
No transmission protocol is active.
SCARD_PROTOCOL_T0
0x00000001
Transmission protocol 0 (T=0) is active. It is the asynchronous half-duplex character transmission protocol.
SCARD_PROTOCOL_T1
0x00000002
Transmission protocol 1 (T=1) is active. It is the asynchronous half-duplex block transmission protocol.
SCARD_PROTOCOL_Tx
0x00000003
Bitwise OR combination of both of the two International Standards Organization (IS0) transmission protocols SCARD_PROTOCOL_T0 and SCARD_PROTOCOL_T1. This value can be used as a bitmask.
SCARD_PROTOCOL_RAW
0x00010000
Transmission protocol raw is active. The data from the smart card is raw and does not conform to any transmission protocol.
-
Table B
-
Value
Meaning
SCARD_PROTOCOL_DEFAULT
0x80000000
A bitwise OR with this value forces the use of the default transmission parameters and card clock frequency.
SCARD_PROTOCOL_OPTIMAL
0x00000000
Optimal transmission parameters and card clock frequency MUST be used. This flag is considered the default. No actual value is defined for this flag; it is there for compatibility with [PCSC5] section 3.1.3.