MSRE206 Programmer’s Manual
Rev. 2.8
Hongkong Unique Electronic INT'L LTD
www.ylk-ic.com
6
Section
Section
Section
Section 6
6
6
6 Command
Command
Command
Command and
and
and
and Response
Response
Response
Response
This section gives detailed description of commands to the MSRE206 and the corresponding responses from
MSRE206.
Notional Conventions:
<ESC>
Control character named
[[[[ [sname]
Special string named sname, meaning can be found in section 7.
ie.[Data Block] [Status Byte] [Select Byte] etc.
X
Standard ANSI character
Command Description:
1. Command:
RESET
RESET
RESET
RESET
Command code: <ESC> a
Hex code: 1B 61
Response: none
Description: This command reset the MSRE206 to initial state.
2. Command: READ (ISO format only)
Command code: <ESC> r
Hex code: 1B 72
Response: [Data Block] <ESC> [Status Byte]
Description: This command request MSRE206 to read a card swiped and respond with the data read.
3. Command: WRITE (ISO format only)
Command code: <ESC> w [Data Block]
Hex code: 1B 77 [Data Block]
Response: <ESC> [Status Byte]
Description: This command request MSRE206 to write the Data Block into the card swiped.
4. Command: Communication test
Command code: <ESC> e
Hex code: 1B 65
Response: <ESC> y [1B] [79]
Description: This command is used to verify that the communication link between computer and MSRE206 is up
and good.
5. Command: All LED off
Command code: <ESC> <81>
Hex code: 1B 81