User's Manual

Table Of Contents
SDI011 REFERENCE MANUAL 47
6.5.3. READER_GETCARDINFO
This escape command is used to get information about the card placed on the reader. The
SDI011 returns an error if no card is placed on it.
The input buffer shall contain the escape command code
Input buffer
0x11
The output buffer contents are described below.
Output buffer
Value
Description
B0
0x01
Contactless card present
B1
0xNN
Baud rate of card-reader communication
B2
0xXY
X Upper nibble indicates 0 - memory card
1 - T=CL card
2 - Dual mode card
Y Lower nibble indicates 0 - Type A card
1 - Type B card
The Baud rate of card-reader communication 0xNN shall indicate a BYTE as follows
b8
b7
b6
b5
b4
b3
b2
b1
0
b1 212kbps supported (direction reader to card)
b2 424kbps supported (direction reader to card)
b3 848kbps supported (direction reader to card)
b5 212kbps supported (direction card to reader)
b6 424kbps supported (direction card to reader)
b7 848kbps supported (direction card to reader)
b8 1 indicates same baud rate in both directions
0 indicates different baud rates in opposite directions
For Example:
If 0xNN = 0x77, the card supports all baud rates namely 106, 212, 424 and 848 kbps in both
directions. This card can be forced to work at different baud rates in the send and receive
directions using the escape command
READER_CNTLESS_FORCE_BAUDRATE_PCSC_REV2.
If 0xNN = 0xB3, the card supports 106, 212 and 424 kbps in both directions. This card can be
made to work only at the same baud rate in the send and receive directions using the escape
command READER_CNTLESS_FORCE_BAUDRATE_PCSC_REV2.