|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef MSMM_PUB_DEF_H |
|
24 #define MSMM_PUB_DEF_H |
|
25 |
|
26 /** |
|
27 USB Mass Storage Device description structure |
|
28 Used to identifier a particular USB MS device when the MSFDC adds a |
|
29 function or removes a device. |
|
30 */ |
|
31 NONSHARABLE_CLASS(TUSBMSDeviceDescription) |
|
32 { |
|
33 public: |
|
34 /** Device Release Number */ |
|
35 TUint16 iBcdDevice; |
|
36 /** Number of Possible Configurations */ |
|
37 TUint8 iConfigurationNumber; |
|
38 /** Device identifier */ |
|
39 TUint iDeviceId; |
|
40 /** Reservered for Otg Host information */ |
|
41 TUint32 iOtgInformation; |
|
42 /** Product ID (Assigned by Manufacturer) */ |
|
43 TUint16 iProductId; |
|
44 /** Vendor ID (Assigned by USB Org) */ |
|
45 TUint16 iVendorId; |
|
46 /** Serial Number String Descriptor */ |
|
47 TName iSerialNumber; |
|
48 /** Manufacturer String Descriptor */ |
|
49 TName iManufacturerString; |
|
50 /** Product String Descriptor */ |
|
51 TName iProductString; |
|
52 /** Protocol to be used by the MSC */ |
|
53 TUint8 iProtocolId; |
|
54 /** Transport to be used by the MSC */ |
|
55 TUint8 iTransportId; |
|
56 /** Device's capabilitiy for RemoteWakeup */ |
|
57 TUint8 iRemoteWakeup; |
|
58 /** OTG capability of the device */ |
|
59 TUint8 iIsOtgClient; |
|
60 }; |
|
61 |
|
62 #endif /*MSMM_PUB_DEF_H*/ |