OBID
®
classic-pro
Manual
ID CPR30.xx
FEIG ELECTRONIC GmbH
Page 94 of 126
H01114-0e-ID-B.docx
7. [0xC0] SAM Commands
The [0xC0] commands are supposed for communication with SAMs (security application modules)
which could be installed inside the reader, if the reader type is equipped with a SAM socket. CPU-
based SAM with T0= and/or T=1 protocol are supported as defined in ISO7816-4.
The SAM interface has implemented only the common functionality of a smartcard reader. Smart-
card functions as WTX handling, chaining and some error recovering proceedings are not imple-
mented into the reader firmware and have do done by the host computer or device driver on host
side.
Host Reader
1
2
3
4
5
6
7
8...n-2
n-1,n
STX
(0x02)
MSB
ALENGTH
LSB
ALENGTH
COM-ADR
[0xC0]
SLOT
SC_TIMEO
UT
REQUEST
-DATA
CRC16
Host Reader
1
2
3
4
5
6
7...n-2
n-1,n
STX
(0x02)
MSB
ALENGTH
LSB
ALENGTH
COM-ADR
[0xC0]
STATUS
RESPONSE
-DATA
CRC16
SLOT:
Defines
the physical address of the requested smartcard slot.
1:
addresses the smartcard in Slot 1 (SD1)
2:
addresses the smartcard in Slot 2 (SD2)
SC_TIMEOUT:
Defines the individual timeout for the current command. If the reader can not finish the cur-
rent command within the defined SC_TIMEOUT it will respond an timeout error.
0:
- do not use -
1..255: timeout in 100 ms increments.
The host application has to consider the SC_TIMOUT for setting the timeout on host side.
REQUEST-DATA:
Command specific request (see sub-commands in the following chapters)
RESPONSE-DATA:
Command specific response