Section 5. usb communications (kb), Host applications – MagTek P-SERIES USB User Manual

Page 35

Advertising
background image

27

SECTION 5. USB COMMUNICATIONS (KB)


The Reader can be operated in two different modes:

• HID (herein referred to as “HID mode”) and

• HID with Keyboard Emulation (herein referred to as “KB mode”)


Note that only readers 21065148 and 21065151 with firmware version 21042817C01 or newer
support both modes. The other readers only support HID mode.

When operating in the HID mode, this device will not use keyboard emulation. It behaves like a
vendor defined HID device so that a direct communication path can be established between the
host application and the device, without interference from other HID devices.

When configured for the Keyboard Emulation (KB) mode, the Reader emulates a USB HID
United States keyboard or, optionally, any international keyboard using ALT ASCII code keypad
key combinations or customizable key maps. This allows host applications designed to acquire
card data from keyboard input to seamlessly acquire the card data from the USB swipe reader.

This section only describes USB communications when the device is in the KB mode. See the
USB communications (HID) section for a description of USB communication when the device is
in the HID mode. (Refer to

Interface_Type Property

for information on how to change modes.)


This device conforms to the USB specification revision 1.1. This device also conforms with the
Human Interface Device (HID) class specification version 1.1. The device communicates to the
host as a HID keyboard device. The latest versions of the Windows operating systems come
with a standard Windows USB HID keyboard driver.

This is a full speed USB device. This device has a number of programmable configuration
properties. These properties are stored in non-volatile memory. These properties can be
configured at the factory or by the end user. More details about these properties can be found
later in this document in the command section.

The device will go into suspend mode when directed to do so by the host. The device will wake
up from suspend mode when directed to do so by the host. The device does not support remote
wakeup.

This device is powered from the USB bus. The vendor ID is 0x0801 and the product ID is
0x0001.

HOST APPLICATIONS

This device can be used with existing applications that acquire card data via keyboard input.
Also, applications that communicate to this device can be easily developed. These applications
can be developed using compilers such as Microsoft’s Visual Basic or Visual C++. To
demonstrate this device’s card reading capabilities any application that accepts keyboard input
such as Window’s Notepad can be used.

Advertising