Section 4. USB Communications
data. The HID specification requires that Reports be fixed in length. Command data may vary in length. Therefore, the Report should be filled with zeros after the valid data.
RESULT CODE
This
Value | Result Code | Description |
(Hex) |
|
|
00 | SUCCESS | The command completed successfully. |
01 | FAILURE | The command failed. |
02 | BAD_PARAMETER | The command failed due to a bad |
|
| parameter or command syntax error. |
GET AND SET PROPERTY COMMANDS
The Get Property command gets a property from the device. The Get Property command number is 0x00.
The Set Property command sets a property in the device. The Set Property command number is 0x01.
The Get and Set Property command data fields for the requests and responses are structured as follows:
Get Property Request Data:
Data Offset | Value |
0 | Property ID |
Get Property Response Data:
Data Offset | Value |
0 – n | Property Value |
Set Property Request Data:
| Data Offset | Value |
| 0 | Property ID |
| 1 – n | Property Value |
Set Property Response Data: |
| |
None |
|
15