equal
deleted
inserted
replaced
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of the License "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
82 // |
82 // |
83 const TUint KUsbDescSize_Device = 18; |
83 const TUint KUsbDescSize_Device = 18; |
84 const TUint KUsbDescSize_Config = 9; |
84 const TUint KUsbDescSize_Config = 9; |
85 const TUint KUsbDescSize_Interface = 9; |
85 const TUint KUsbDescSize_Interface = 9; |
86 const TUint KUsbDescSize_Endpoint = 7; |
86 const TUint KUsbDescSize_Endpoint = 7; |
87 const TUint KUsbDescSize_Otg = 3; |
87 const TUint KUsbDescSize_Otg = 5; |
88 const TUint KUsbDescSize_DeviceQualifier = 10; |
88 const TUint KUsbDescSize_DeviceQualifier = 10; |
89 const TUint KUsbDescSize_OtherSpeedConfig = 9; |
89 const TUint KUsbDescSize_OtherSpeedConfig = 9; |
90 const TUint KUsbDescSize_InterfaceAssociation = 8; |
90 const TUint KUsbDescSize_InterfaceAssociation = 8; |
91 const TUint KUsbDescMaxSize_String = 255; |
91 const TUint KUsbDescMaxSize_String = 255; |
92 const TUint KUsbStringDescStringMaxSize = 252; // it's actually 253, but that's awkward |
92 const TUint KUsbStringDescStringMaxSize = 252; // it's actually 253, but that's awkward |
135 const TUint8 KUsbOtgAttr_SrpSupp = 0x01; |
135 const TUint8 KUsbOtgAttr_SrpSupp = 0x01; |
136 const TUint8 KUsbOtgAttr_HnpSupp = 0x02; |
136 const TUint8 KUsbOtgAttr_HnpSupp = 0x02; |
137 const TUint8 KUsbOtgAttr_B_HnpEnable = 0x04; |
137 const TUint8 KUsbOtgAttr_B_HnpEnable = 0x04; |
138 const TUint8 KUsbOtgAttr_A_HnpSupport = 0x08; |
138 const TUint8 KUsbOtgAttr_A_HnpSupport = 0x08; |
139 const TUint8 KUsbOtgAttr_A_AltHnpSupport = 0x10; |
139 const TUint8 KUsbOtgAttr_A_AltHnpSupport = 0x10; |
|
140 const TUint16 KUsbOtgDesc_bcdOTG = 0x0200; |
140 |
141 |
141 // |
142 // |
142 // Feature Settings |
143 // Feature Settings |
143 // |
144 // |
144 const TUint KUsbFeature_EndpointHalt = 0; |
145 const TUint KUsbFeature_EndpointHalt = 0; |