Usages are non-contiguous assigned in a way that rarely-used usages occupy 16-bit (0x0100 upto 0xFFFF) whereas basic usages are 8-bit only (0x00 upto 0xFF). This helps for short HID report descriptors.
Usage ID (hex.) | Usage Name | Usage Type | Section |
---|---|---|---|
00 | unassigned | ||
Top-level collections | |||
01 | PnP Sensor | CA | |
02 | PnP Actor | CA | |
03 | PnP Sensor+Actor (with builtin, configurable or at least describeable fast control path) | CA | |
04 | Interface emulation | CA | |
05 | TMC (or other classes like Imaging or Audio) supplemental description data | CA | |
Typical laboratory equipment | |||
21 | Multimeter | CL | |
22 | Oscilloscope | CL | |
23 | Power Source | CL | |
24 | Function Generator | CL | |
25 | Network Analyzer | CL | |
26 | Logic Analyzer | CL | |
27 | Bus Analyzer | CL | |
28 | Power Analyzer | CL | |
29 | Chemical Analyzer | CL | |
2A | Amateur radio | CL | |
2B | Programmable chip (microcontroller) | CL | |
2C | Serial Port | CL | |
2D | Parallel Port | CL | |
30 | Home appliance, Presentation room controls | CL | |
31 | Stage illumination, Discothek equipment | CL | |
32 | Automotive | CL | |
Simple equipment | |||
41 | Single sensor | CL | |
42 | Multi-channel DAQ system | CL | |
43 | Triggerable DAQ system | CL | |
Measurement values, electrical | |||
61 | Simple ADC | DV | No unit |
62 | Voltage in V | DV | |
63 | Current in A | DV | |
64 | Resistance in Ω | DV | |
65 | Conduction in S | DV | |
66 | Capacitance in F | DV | |
67 | Inductance in H | DV | |
68 | hFE | DV | |
69 | Continuity in V or Ω | DV | |
6A | Phase angle in ° | DV | |
6B | Loss factor in % | DV | |
6C | Quality factor in % | DV | |
6E | Frequency in Hz | DV | |
6F | Period in s | DV | |
70 | Duty Cycle in % | DV | |
71 | BFO frequency in Hz | DV | |
72 | Power in W | DV | |
73 | Work in Ws | DV | |
74 | cosφ | DV | |
75 | Apparent power in VA | DV | |
76 | Blindleistung in var | DV | |
77 | Verzerrungsblindleistungen | DV? | |
Measurement values, mechanical | |||
E1 | Force in N | DV | |
E2 | Momentum in mN | DV | |
E3 | Pressure in Pa | DV | |
E4 | Volume flow in m³/s | DV | |
E5 | Mass flow in kg/s | DV | |
E6 | Mass in kg | DV | |
E7 | Temperature in K | DV | |
E8 | Time in s | DV | |
E9 | World Time | DV | |
EA | Humidity in % | DV | |
Modifiers & attributes | |||
80 | Direct sample value | C0,DF | |
81 | DC, mean Value (should be used for integrating ADC) | C0,DF | |
82 | AC (DC is removed by a capacitor, time constant τ s) | CV,DF | |
83 | AC+DC | C0,DF | |
84 | rectified mean value | C0,DF | |
85 | +peak value | C0,DF | |
86 | -peak value | C0,DF | |
87 | mean of rectified peak values | C0,DF | |
88 | peak-peak value | C0,DF | |
89 | Sine shape | C0,DF | |
8A | Triangular shape | C0,DF | |
8B | Rectangular shape | C0,DF | |
8C | Noise | C0,DF | |
8D | Arbitrary waveform | C0,DF | |
8E | Lower Side Band | ||
8F | Upper Side Band | ||
90 | time constant τ in s for the sensor channel | CV | |
91 | Measurement rate | ? | |
92 | USB frame clock | ? | |
93 | External physical clock | ? | |
94 | Internal fixed clock | ? | |
95 | Radio clock | ? | |
96 | Mains supply clock (50 or 60 Hz) | ||
97 | Has physical clock output | ||
98 | Clock is allowed to be unstable | UM | |
99 | Supports software clock (client) | UM | |
9A | Supports software clock (server) | UM | |
9B | Possible sample rates | CV | |
9C | Possible measurement rates | CV | |
A0 | Sum of phases | UM | |
A1 | Mean of phases | UM | |
A2 | Phase L1 (electrical), X (force), A (momentum) | UM | |
A3 | Phase L2 (electrical), Y (force), B (momentum) | UM | |
A4 | Phase L3 (electrical), Z (force), C (momentum) | UM | |
A5 | liquid | UM | |
A6 | gas | UM | |
A7 | gas, normalized | UM | |
A8 | plasma | UM | |
A9 | differential value between two probes | UM,DF | |
AA | difference to a previously set zero value | UM,DF | |
AB | Supports software trigger (client) | UM | |
AC | Supports software trigger (server) | UM | |
AD | Flash | UM | |
AE | RAM | UM | |
AF | XRAM | UM | |
B0 | ROM | UM | |
B1 | EEPROM | UM | |
B2 | Boot Area | UM | |
B3 | Fuses and lock bits | UM | |
B4 | von-Neumann address space | UM | |
?? | Size of | CV | |
?? | Page Size of | CV | |
B5 | Baud rate | DV | |
B6 | Data bits | DV | |
B7 | Stop bits | DV | |
B8 | Parity | DV | |
B9 | RTS/CTS flow | DF,DV,Nary,CF,CV | |
BA | DSR/DTR flow | DF,DV,Nary,CF,CV | |
BB | XON/XOFF flow | DF,Nary,CF | |
180 | RS-232 | CL,Nary | |
181 | RS-422 | CL,Nary | |
182 | RS-485 | CL,Nary | |
183 | Profibus | CL,Nary | |
184 | OneWire | CL,Nary | |
185 | I²C | CL,Nary | |
186 | SPI | CL,Nary | |
187 | AppleTalk | CL,Nary | |
188 | IEEE488 serial bus (C64) | CL,Nary | |
189 | DMX (mostly: light control) | CL,Nary | |
1A8 | Half stop bits | DF,DV | |
1AD | Binary mode | DF | |
1AE | For sending only | UM | |
1AF | For receiving only | UM | |
1B0 | No parity | Nary | |
1B1 | Odd parity | Nary | |
1B2 | Even parity | Nary | |
1B4 | Parity bit = 0 (mark parity) | Nary | |
1B5 | Parity bit = 1 (space parity) | Nary | |
1B3 | Toggling parity bit | Nary | |
1B6 | 1 stop bit | Nary | |
1B7 | 1½ stop bits | Nary | |
1B8 | 2 stop bits | Nary | |
1BA | XON char | DV,CV | |
1BB | XOFF char | DV,CV | |
1BC | Error char | DV,CV | |
1BD | Eof char | DV,CV | |
1BE | Event char | DV,CV | |
1C0 | XON lim | DV,CV | |
1C1 | XOFF lim | DV,CV | |
1C2 | Maximum Baudrate | CV | |
1C3 | TXContinueOnXoff | DF,CF | |
1C4 | Synchronous | DF,CF | |
1C5 | MSB first | DF,CF | |
1C6 | Null discard | DF,CF | |
1C7 | Abort on error | DF,CF | |
1C8 | Baudrate divider capabilities | CV | |
1CF | Microcode for serial port operation | BufB | |
100 | Data port | DV | |
101 | Status port | DV | |
102 | Control port | DV | |
103 | EPP address port | DV | |
104 | EPP data port | DV | |
105 | Wait 4µs | DV | |
106 | Read port | DV | |
107 | Microcode for parallel port operation | BufB | |
108 | ECP FIFO port or Configuration register “A” | DV,CV | |
109 | Configuration register “B” | CV,DV | |
10A | ECR port | DV,CV | |
10C | Data direction register | CV,DV | |
10D | Status direction register | CV,DV | |
10E | Control direction register | CV,DV | |
10F | Other features | DV | |
Other collections | |||
C1 | Same sample rate | C? | |
C2 | Rational sample rate | C? | |
C3 | Chain of conditioners (measurement processing) | C? | |
C4 | Feature output value and measured value (Soll- und Istwert) | CL | |
C5 | Values with associated time stamp | CL | |
Features | |||
F1 | Channel on/off | OOC | |
F2 | Set Zero | OOC | |
F3 | Release Zero | OOC | |
F4 | Start auto-calibration | OOC | |
F5 | Continuous sampling | OOC | |
F6 | Triggered sampling | OOC | |
F7 | Trigger value | DV | |
F8 | Trigger type | DV | |
F9 | Byte Address | DV | |
FA | Length, in bytes | DV | |
F8 | Section size, in bytes | DV | |
F9 | Data bytes | ||
FA | receiving | OOC | |
FB | on air | OOC | |
Auxiliary | |||
220 | Resolution control | OOC,DV | |
221 | No OTP reload | OOC | |
222 | Heater | OOC,DV | |
223 | Device self-test | OOC | |
226 | Low battery warning | OOC,DV |
0x3001
1000 (Hz for example)
0x03E8
1000 (Hz for example, prefered coding)
0x0000
0 (zero value; while the exponent is not important here, it should be 0 for –2046 upto +2846)
0xD00A
0.01 (relative uncertainty of measurement value: 1 %)
15 00 // Logical Minimum (0)
14 // Logical Minimum ()
8 bit: 0x7F, 16 bit: 0x7FFF, 32 bit: 0x7FFFFFFF = +∞
8 bit: 0x80, 16 bit: 0x8000, 32 bit: 0x80000000 = NaN
(no measured value, empty slot)
8 bit: 0x81, 16 bit: 0x8001, 32 bit: 0x80000001 = –∞
long expand(char x) { long t=(char)(x^0x80); if ((unsigned long)(t+1)>=3UL) return x; return t^0x80000000L; } |
HidP_GetExtendedAttributes()
.
Sometimes, Graphs are more useful. Graphs can be represented by trees with links.
Moreover, Tables (at least two-dimensional) are needed. There is no efficient tree representation for tables, therefore, an extra collection type seems to be useful, and changed processing for the items herein are necessary. Sparse tables (with some or mire empty fields) should be supported.
This bridge has the following capabilities:
This bridge has the following capabilities:
While drivers for TCP and Serial Line has to be written by the Standard maker, other drivers are intended to be vendor specific.