Mercurial > hg > ucis.core
annotate USBLib/Descriptor/UsbDescriptorType.cs @ 68:e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Wed, 16 Oct 2013 16:58:39 +0200 |
parents | USBLib/Communication/UsbDescriptorType.cs@dcfec2be27c9 |
children |
rev | line source |
---|---|
21 | 1 ???using System; |
2 | |
68
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
3 namespace UCIS.USBLib.Descriptor { |
21 | 4 public enum UsbDescriptorType : byte { |
5 /// <summary> | |
6 /// Device descriptor type. | |
7 /// </summary> | |
8 Device = 1, | |
9 /// <summary> | |
10 /// Configuration descriptor type. | |
11 /// </summary> | |
12 Configuration = 2, | |
13 /// <summary> | |
14 /// String descriptor type. | |
15 /// </summary> | |
16 String = 3, | |
17 /// <summary> | |
18 /// Interface descriptor type. | |
19 /// </summary> | |
20 Interface = 4, | |
21 /// <summary> | |
22 /// Endpoint descriptor type. | |
23 /// </summary> | |
24 Endpoint = 5, | |
25 /// <summary> | |
26 /// Device Qualifier descriptor type. | |
27 /// </summary> | |
28 DeviceQualifier = 6, | |
29 /// <summary> | |
30 /// Other Speed Configuration descriptor type. | |
31 /// </summary> | |
32 OtherSpeedConfiguration = 7, | |
33 /// <summary> | |
34 /// Interface Power descriptor type. | |
35 /// </summary> | |
36 InterfacePower = 8, | |
37 /// <summary> | |
38 /// OTG descriptor type. | |
39 /// </summary> | |
40 OTG = 9, | |
41 /// <summary> | |
42 /// Debug descriptor type. | |
43 /// </summary> | |
44 Debug = 10, | |
45 /// <summary> | |
46 /// Interface Association descriptor type. | |
47 /// </summary> | |
48 InterfaceAssociation = 11, | |
49 | |
50 ///<summary> HID descriptor</summary> | |
51 Hid = 0x21, | |
52 | |
53 ///<summary> HID report descriptor</summary> | |
54 HidReport = 0x22, | |
55 | |
56 ///<summary> Physical descriptor</summary> | |
57 Physical = 0x23, | |
58 | |
59 ///<summary> Hub descriptor</summary> | |
60 Hub = 0x29 | |
61 } | |
68
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
62 public enum UsbClassCode : byte { |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
63 Unspecified = 0x00, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
64 Audio = 0x01, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
65 Communications = 0x02, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
66 HID = 0x03, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
67 PID = 0x05, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
68 Image = 0x06, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
69 Printer = 0x07, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
70 MassStorage = 0x08, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
71 Hub = 0x09, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
72 Data = 0x0A, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
73 SmartCard = 0x0B, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
74 ContentSecurity = 0x0D, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
75 Video = 0x0E, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
76 Healthcare = 0x0F, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
77 AV = 0x10, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
78 Diagnostic = 0xDC, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
79 Wireless = 0xE0, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
80 Miscellaneous = 0xEF, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
81 ApplicationSpecific = 0xFE, |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
82 VendorSpecific = 0xFF |
e811297f5aa4
Updated USBLib: removed old LibUsbDotNet compatibility code and added new information helper classes
Ivo Smits <Ivo@UCIS.nl>
parents:
21
diff
changeset
|
83 } |
21 | 84 } |