User's Manual

Table Of Contents
SDI011 REFERENCE MANUAL 51
6.5.12. READER_CNTLESS_RAW_XMIT_EX
This escape command can only be executed by the firmware once SDI011 is put in raw mode
using the READER_CNTLESS_RAW_CFG escape command.
This escape command can be used to send commands to smart card when SDI011 is in raw
mode
The input buffer is
Byte #
Value
Description
B0
0xAE
Escape Function code
B1
Wait Time
B2
Is CRC required?
B3
No of bits per command
B4
Card Type
0 Type A
1 type B
B5
Command length
B6 - Bn
Command
The output buffer contains the response to the command from the offset B6 onwards.
The following example uses the raw mode to send a REQB command
First, we have to switch the SDI011 into raw mode for type B communication
Byte #
Value
Description
B0
0x97
READER_CNTLESS_RAW_CONFIG code
B1
0x01
Type B will be used
Then, we can send the following bytes to obtain the ATQB response of any type B user token in
the field
Byte #
Value
Description
B0
0xAE
READER_CNTLESS_RAW_XMIT_EX code
B1
0x03
FWI is set to 3
B2
0x01
Enable CRC (CRC will be calculated by the
RF front end of SDI011)
B3
0x00
Number of bits to be sent in the command
0 Entire byte will be sent
B4
0x01
Type B
B5
0x03
Command length in bytes
B6
0x05
REQB command‘s anti-collision prefix byte
B7
0x00
REQB command‘s application family
identifier
B8
0x01
REQB command parameter with slot number
set as 1