Commands sent to device – de – MagTek IMAGESAFE99875500 User Manual

Page 47

Advertising
background image

39

SECTION 4. COMMANDS SENT TO DEVICE

Section 4 describes device commands that can be sent to the MagneSafe Reader
MTMICRSendCommand (see Section 3). The MagneSafe Reader reply will include the
CommandStatus and/or DeviceStatus sections (and their corresponding Key-Value pairs) as described in
later chapters.


The command is sent using a string with the following format:

MSRCommand=[Command Number][Data Length][Data]*[Carriage Return 0x0D]**

*For detailed information on [Command Number], [Data Length] and [Data] you can refer to PN
99875398 “COMMANDS” section page 20.
**Each command and response is composed of a series of readable ASCII characters followed by the
ASCII character CR (0x0D). For detailed information on command format, refer to PN 99875398 page
21.


The response from the MagneSafe Reader is saved in
<DeviceInformation><CommandStatus><ReturnMsg> key.

The response format is [Result Code][Data Length][Data]*

* For detailed information on the result code refer to PN 99875398 “COMMANDS” section page 20

If the command is NOT correct, the response will be 0200

Note - The total maximum string length is 255 characters.

Advertising
This manual is related to the following products: