GHI Electronics,LLC USBwiz User Manual
1. USBwiz Functions
SI
Find an Endpoint that belongs to the previously found Interface
FE 03 02
transfer= interrupt, direction= input
Output: found Endpoint descriptor size + the data
Open Pipe to the selected endpoint and assign handle 6 to it,
OP 6
It is also possible to search for any kind of descriptors in the loaded internal buffer using
the FD command,
Example: Find the 1st HID descriptor in a previously loaded configuration descriptor,
FD 21 00
Output:
!00
$09
09 21 10 01 00 01 22 34 00
!00
Stage 3:
Read 4 bytes from Pipe 6
RP 6>04
Close Pipe
CP 6
Also, using the Setup command, it is possible to send setup requests on the default
control pipe using the SS command,
Example: Get Device descriptor
SS device_handle>80 06 0100 0000 0012
Output:
0x12 0x01 0x10 0x01 0x00 0x00 0x00 0x08 0x2A 0x06 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x01
Rev.2.27 Page 31 of 64 www.ghielectronics.com
Komentáře k této Příručce