3M™ MicroTouch™ Controller RX181 Reference Guide
19
3M Touch Systems, Inc. Proprietary Information
Offset
Field
Size
Value
Description
2
wValue
2
0x03XX
Used to specify command parameters.
03 = Feature
XX = Feature Report ID
4
wIndex
2
0
Must be 0 (zero)
6
wLength
2
0xXXXX
Number of bytes to transfer, multiple of 8. Same
as Data Stage Bytes in Table 8.
HID Class Requests
The following table summarizes the available HID class requests.
Table 8. HID Class Requests Summary
Some possible reasons for a command failure include:
•
The command was not formatted correctly.
•
The system parameters were not set up to allow command execution.
•
The controller does not support the command.
Controller Initialization
To initialize the RX181 controller, 3M Touch Systems recommends that the host system
issue a Reset command whenever the host system is powered on and is attempting to
establish communication with the controller.
Set Feature – Set Asynchronous Report
This starts or stops the sending of various asynchronous reports via the interrupt pipe.
Once a report is turned on, that report is sent whenever data is available. The firmware
defaults to the HID-compatible report after power-up or reset. Only one report may be
activated at a time.
HID Report Command
Name
bmRequest
Type
bRequest
Feature
Report ID
Report
Subtype
Data
Stage
Bytes
Set
Feature
SetAsyncReport
0x21 0x09 0x03 0x05
8
Set
Feature
Calibrate 0x21 0x09 0x03 0x04
8
Get
Feature
GetStatus 0xA1 0x01 0x06 --- 8
Set
Feature
Reset
0x21 0x09 0x03 0x07
8
Set Feature
Restore Defaults
0x21
0x09
0x03
0x08
8
Set Feature
Set Controller
Number
0x21 0x09 0x05 0x01
8
Get Feature
Get Controller
Number
0xA1 0x01 0x05 --- 72