Class番号の詳細 †
Descriptor 情報の bDeviceClass、bDeviceSubClass、bDeviceProtocol で定義されている Class 仕様について纏めてみました。
Defined 1.0 Class Codes (USB.org) と各 Device Class 仕様書 (USB.org) を参考にしました。
| 値(10) | 値(16) | 詳細 |
| 0 | 0x0 | Interface descriptorに詳細が記述されています |
| 2 | 0x2 | Communication (or with WMC 1.0 class information at interface level) |
| 9 | 0x9 | HUB |
| 220 | 0xDC | Diagnostic Device*1 |
| 224 | 0xE0 | 無線*2 |
| 239 | 0xEF | Misc. Device |
| 255 | 0xFF | ベンダー独自クラス |
| 値(10) | 値(16) | 詳細 |
| 1 | 0x1 | Audio |
| 2 | 0x2 | CDC-Control |
| 3 | 0x3 | HID |
| 5 | 0x5 | Physical |
| 6 | 0x6 | Image (subclass & protocol must be 1) |
| 7 | 0x7 | Printer |
| 8 | 0x8 | Mass-Storage |
| 9 | 0x9 | HUB |
| 10 | 0xA | CDC-Data |
| 11 | 0xB | Chip/Smart Card |
| 13 | 0xD | Content-Security |
| 14 | 0xE | Video |
| 220 | 0xDC | Diagnostic Device |
| 224 | 0xE0 | 無線 |
| 254 | 0xFE | Application-Specific |
| 255 | 0xFF | ベンダー独自クラス |