Protocol property – MagTek IntelliStripe 320 99875168 User Manual

Page 89

Advertising
background image

Section 9. Host Communications Application

83

PROTOCOL PROPERTY

Property ID: 08 (Hex)

Property Type: Dword

Power Up/Reset Value: 00 (hex) (MCP)

Get/Set/Save support: All

Description:

This property contains the value of the communications protocol used by this device. The
communications protocol is independent of the communications interface that is used. For
example, both the RS232 and USB interfaces can use any protocol. After changing this property,
the property will also need to be saved in non-volatile memory (Save property command) and the
device will need to be power cycled or reset before the change will take affect.

Values:
Value (hex)

Protocol

00 MCP
01 ASCII

Hex


MCP Protocol:

This binary protocol is described in MagTek’s MCP Serial Transport Protocol reference manual,
part number 99875163. This is the default protocol used by this device. MagTek’s MCP
Windows Driver for the RS232 and USB interfaces uses this protocol. This protocol is rather
complicated, however, it can be extremely simplified by adjusting some of the other properties
found in this application such as the Error Recovery Enable property.

ASCII Hex Protocol:

This is a very simple ASCII based protocol. This protocol is very simple to implement. For the
RS232 interface, a terminal emulation application such as Window’s HyperTerminal can be used
to communicate to the device using this protocol. USB drivers can be designed to use this
protocol if they follow the pipe structure described in the USB section of MagTek’s MCP Serial
Transport Protocol reference manual, part number 99875163. Since this is an ASCII based
protocol used to send Binary data, it is twice as slow as the binary MCP protocol because it
requires twice as many bytes to be sent.


Only the following ASCII characters are valid for this protocol. All other characters will be
ignored by the device.

Advertising