MiniMag USB HID Reader Interface Reference
6. HID
Usages
This HID reader sends data reports. Elements of data in a report are identified by
unique identifiers called usages. The structure of the reader’s reports and the
reader’s capabilities are reported to the host in a report descriptor. The host
usually gets the report descriptor only once and after the reader is powered. The
report descriptor usages identify the reader’s capabilities and report structures.
Usages are four byte integers. 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.
6.1
IDTECH format reader usage page 0xff00
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
38 Card encode type
Data
Input
30 Total Data Length
Data
Input
31 Output Data
Data
Input
20 Command message
Data
Feature
Copyright © 2006, International Technologies & Systems Corporation. All rights reserved.
Page 14 of 15