GHI Electronics,LLC USBwiz User Manual
USBwiz Command Set
Example IF<SP>TEST.TXT<CR>
!00<CR>
$00000F34<SP>$00<SP>$34210000<CR>
!00<CR>
File has been found and its
size is 3892 bytes with no
special attributes.
Last modification time is
00:00:00 date is 1/1/2006
* File Attributes are one byte Standard Attribute Structure in FAT system.
7 6 5 4 3 2 1 0
Reserved Archive Folder Volume
ID
System Hidden Read Only
** Time and Date structure is a 32-bits standard structure used in FAT system. For
example, 0x34212002 is 01/01/2006 – 04:00:04
Bits(s) Field Description
0x34212000 Bits in Binary
31..25 Year1980 Years since 1980 001 1010
24..21 Month 1..12 0001
20..16 Day 1..31 0 0001
15..11 Hour 0..23 0 0100
10..5 Minute 0..59 00 0000
4..0 Second2 Seconds divided by 2 (0..30) 0 0010
ND - Rename File or Folder
Format ND<SP>filename<SP>newname<CR>
!00<CR>
Example ND<SP>TEST.TXT<SP>CURRENT.
LOG<CR>
!00<CR>
Rename the file with the name
TEST.TXT with name
CURRENT.LOG
UH - Register USB Human Interface Device
USBwiz has an internal HID Driver that can control 2 HID devices like Mice, Keyboards
and Joysticks. This command must be used to access these devices.
Format UH<SP>p<CR>
!00<CR>
p is USB port number, can be 0 or 1
Example UH<SP>0<CR>
!00<CR>
Register USB device that is connected to port 0
Rev.2.27 Page 47 of 64 www.ghielectronics.com
Comentários a estes Manuais