comparison 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
comparison
equal deleted inserted replaced
67:2d16447eff12 68:e811297f5aa4
1 using System;
2
3 namespace UCIS.USBLib.Descriptor {
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 }
62 public enum UsbClassCode : byte {
63 Unspecified = 0x00,
64 Audio = 0x01,
65 Communications = 0x02,
66 HID = 0x03,
67 PID = 0x05,
68 Image = 0x06,
69 Printer = 0x07,
70 MassStorage = 0x08,
71 Hub = 0x09,
72 Data = 0x0A,
73 SmartCard = 0x0B,
74 ContentSecurity = 0x0D,
75 Video = 0x0E,
76 Healthcare = 0x0F,
77 AV = 0x10,
78 Diagnostic = 0xDC,
79 Wireless = 0xE0,
80 Miscellaneous = 0xEF,
81 ApplicationSpecific = 0xFE,
82 VendorSpecific = 0xFF
83 }
84 }