Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Delcom</strong> <strong>Products</strong> <strong>Inc</strong>.<br />
USBIOHID Datasheet<br />
Revision 8 – 04/12/2010<br />
Writing and reading to the device is done by passing a small buffer to the write and read<br />
system API functions. The buffer we call a data packet. This data packet is preset by the user<br />
to the command numbers and parameters we want and then sent down to the USB device.<br />
The USB device acts on the data packet and in a read commands returns data in the same<br />
data packet that we passed. All data packets are at least 8 byte long. The transmit(TX) and<br />
receive(RX) data/command packets are defined below.<br />
6.2 TX Command Packet Format:<br />
Major Command 1 Byte<br />
Minor Command 1 Byte<br />
Data LSB<br />
1 Byte<br />
Data MSB<br />
1 Byte<br />
DataHID[0..3] 4 Bytes<br />
DataExt[0..7]<br />
8 Bytes(Optional)<br />
6.3 Rx Command Packet Format:<br />
ReadData[0..15]<br />
8-16 Bytes<br />
USBIOHID.pdf Copyright © DELCOM PRODUCTS INC. 2009. All Rights Reserved. Page 14 of 36<br />
<strong>Delcom</strong> <strong>Products</strong> <strong>Inc</strong>. 200 William St STE302 – Port Chester NY 10573 USA (914)934-5170 www.delcomproducts.com