3M M2256PW User Manual - Page 22

Receiving Reports from the Controller, Command Set, Set Feature - Calibration - 22

Page 22 highlights

22 3M™ Display M2256PW User Guide You need to know product ID (0502H) and the vendor ID (0596H) to write your own driver. These values are required for identifying the controller. Receiving Reports from the Controller The controller sends a variety of reports to the computer. The first byte of each report is the Report ID that defines the structure and content of the report. The controller sends some reports as a direct response to a computer request (synchronous). The controller will also send some reports as the result of an external event, such as a touch (asynchronous). Command Set The USB command set is implemented by using HID Get Feature and Set Feature commands. The various requests and reports are grouped together by report size under a common feature ID. HID Class Requests The following table summarizes the available HID class requests. Table 1. HID Class Requests Summary HID Report Command Name bmRequest Type Get Feature Set Feature Set Feature Set Feature Get Feature GetStatus Calibrate Reset Restore Defaults GetMaxCount 0xA1 (D2H) 0x21 (H2D) 0x21 (H2D) 0x21 (H2D) 0xA1 (D2H) bRequest 0x01 0x09 0x09 0x09 0x01 Feature Report ID 0x06 0x03 0x03 0x03 0x12 Report Subtype -4 7 8 -- Data Stage Bytes 8 8 8 8 2 Set Feature - Calibration This is a command to do a Calibrate Extended style calibration. The controller will autoorient on this 2 point calibration. 3M Touch Systems, Inc. Proprietary Information

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41

22
3M™ Display M2256PW User Guide
3M Touch Systems, Inc. Proprietary Information
You need to know product ID (0502H) and the vendor ID (0596H) to write your own
driver. These values are required for identifying the controller.
Receiving Reports from the Controller
The controller sends a variety of reports to the computer. The first byte of each report is
the Report ID that defines the structure and content of the report. The controller sends
some reports as a direct response to a computer request (synchronous).
The controller
will also send some reports as the result of an external event, such as a touch
(asynchronous).
Command Set
The USB command set is implemented by using HID Get Feature and Set Feature
commands.
The various requests and reports are grouped together by report size under a
common feature ID.
HID Class Requests
The following table summarizes the available HID class requests.
Table 1. HID Class Requests Summary
Set Feature - Calibration
This is a command to do a Calibrate Extended style calibration.
The controller will auto-
orient on this 2 point calibration.
HID Report
Command
Name
bmRequest
Type
bRequest
Feature
Report ID
Report
Subtype
Data
Stage
Bytes
Get Feature
GetStatus
0xA1 (D2H)
0x01
0x06
--
8
Set Feature
Calibrate
0x21 (H2D)
0x09
0x03
4
8
Set Feature
Reset
0x21 (H2D)
0x09
0x03
7
8
Set Feature
Restore Defaults
0x21 (H2D)
0x09
0x03
8
8
Get Feature
GetMaxCount
0xA1 (D2H)
0x01
0x12
--
2