GHI Electronics,LLC USBwiz User Manual
USBwiz Command Set
Command Description Command Description
ZF Resize File DF Delete File
IF Find File or Folder ND Rename File or Folder
UH Register USB Human
Interface Device
HR Read HID Report
UP Register USB Printer PR Reset USB Printer
PS Get USB Printer Status PP Send Data to USB Printer to
print
US Register Serial
Communication Device
SR Read Serial Device
SW Write to Serial Device EV Enable Events
SK Store Key CK Check Key
TF Print File UI Enumerate USB Device
UR Release USB Device Handle LD Load USB Descriptor
DB Display Internal buffer SC Set Configuration
FI Find Interface SI Set Interface
FE Find Endpoint FD Find Descriptor
SS Send Setup Request OP Open USB Pipe
CP Close Pipe Handle RP Read Pipe
WP Write Pipe
Notes on commander:
● Any command must not exceed 38 bytes and must be terminated with a carriage
return.
● The user must read back the responses for each command properly and check
whether the command was successful.
● The command format must be followed with the same number of arguments. Also,
extra spaces count as errors.
● All numbers are Hexadecimal represented in ASCII. For example, to send the
decimal number 16 to USBwiz which is 10 in Hexadecimal, you send 0x31 which is
ASCII for 1 and 0x30 which is ASCII for 0. Also, for Hexadecimal numbers A to F,
they must be entered in upper case letters.
● In all command's output description below, will assume the commands succeeded.
n case of failure, the command would return an error code instead of success and
alt. In other words, in any command, a !00 denotes success and the command can
resume operation. But in case of failure, the error code is !xx, where xx is the error
number and then the current command halt and the commander resume processing
Rev.2.27 Page 34 of 64 www.ghielectronics.com
Comentários a estes Manuais