User manual
A I R E N C E - U S B M a n u a l P a g e 40
HID Control Protocol for soware engineers
Introducon
PID=0x2402, and the VID=0x03EB.
On top of the HID protocol, a custom message based protocol provides the commands to send and receive data which will be
described in more detail in this chapter.
Message format
only reportID 0 may be used.
www.usb.org
reports with reportID = 0.
SIZE byte, COMMAND byte, and a PAYLOAD
The SIZE byte contains the number of bytes used (max. 8) in the message, including this SIZE byte.
byte 0 1 2 3 4 5 6 7
SIZE COMMAND PAYLOAD
n cmd p0 p1 p2 p3 p4 p5
Command byte
The command byte consists of a 2-bit TYPE and a 6-bit ID
bit 7 6 5 4 3 2 1 0
TYPE ID
t1 t0 id5 id4 id3 id2 id1 id0
Bit Symbol Value Value
ID -
TYPE 00
Write command, from host to device
01
Request command, from host to device
10
Response command, reply from device to host on a request
11
Command ID
VALUE DESCRIPTION
0x01
0x02
0x03
0x04 -
0x05
0x06
0x07