Hid usages – MagTek P-SERIES USB User Manual

Page 20

Advertising
background image

P-Series USB Insertion Reader

12

The device will go into suspend mode when directed to do so by the host. The device will
wakeup 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. Its vendor ID is 0x0801 and its product ID is 0x0003.

HID USAGES

HID devices send data in reports. Elements of data in a report are identified by unique identifiers
called usages. The structure of the device’s reports and the device’s capabilities are reported to
the host in a report descriptor. The host usually gets the report descriptor only once, right after
the device is plugged in. The report descriptor usages identify the devices capabilities and report
structures. For example, a device could be identified as a keyboard by analyzing the device’s
report descriptor. Usages are four byte integers. The most significant two bytes are called the
usage page and the least significant two bytes are called usage IDs. Usages that are related can
share a common usage page. Usages can be standardized or they can be vendor defined.
Standardized usages such as usages for mice and keyboards can be found in the HID Usage
Tables document and can be downloaded free at www.usb.org. Vendor defined usages must
have a usage page in the range 0xff00 – 0xffff. All usages for this device use vendor defined
magnetic stripe reader usage page 0xff00. The usage IDs for this device are defined in the
following table. The usage types are also listed. These usage types are defined in the HID
Usage Tables document.

Magnetic Stripe Reader usage page 0xff00:

Usage ID

(Hex)

Usage Name

Usage

Type

Report

Type

1

Decoding reader device

Collection

None

20

Track 1 decode status

Data

Input

21

Track 2 decode status

Data

Input

22

Track 3 decode status

Data

Input

28

Track 1 data length

Data

Input

29

Track 2 data length

Data

Input

2A

Track 3 data length

Data

Input

30

Track 1 data

Data

Input

31

Track 2 data

Data

Input

32

Track 3 data

Data

Input

38

Card encode type

Data

Input

39

Card status

Data

Input

20

Command message

Data

Feature

Advertising