usbmgmt/usbmgr/usbman/server/public/usbhostdefs.h
changeset 55 3b97f0de7605
parent 49 93c0009bd947
equal deleted inserted replaced
49:93c0009bd947 55:3b97f0de7605
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   116 	{
   116 	{
   117 public:
   117 public:
   118 	inline TOtgDescriptor()
   118 	inline TOtgDescriptor()
   119 		:	iDeviceId(0),
   119 		:	iDeviceId(0),
   120 		    iAttributes(0),
   120 		    iAttributes(0),
       
   121 		    iBcdOTG(0),
   121 		    iReserved1(0),
   122 		    iReserved1(0),
   122 		    iReserved2(0),
   123 		    iReserved2(0),
   123 		    iReserved3(0)
   124 		    iReserved3(0)
   124 		{}
   125 		{}
   125 
   126 
   127 	TUint iDeviceId;
   128 	TUint iDeviceId;
   128     
   129     
   129 	// The OTG attributes - currently only D0 and D1 are used for SRP and HNP.
   130 	// The OTG attributes - currently only D0 and D1 are used for SRP and HNP.
   130 	TUint8 iAttributes;
   131 	TUint8 iAttributes;
   131 	
   132 	
       
   133 	TUint16 iBcdOTG;
   132 	// Reserved
   134 	// Reserved
   133 	TInt iReserved1;
   135 	TUint16 iReserved1;
   134 	
   136 	
   135 	// Reserved
   137 	// Reserved
   136 	TInt iReserved2;
   138 	TInt iReserved2;
   137 
   139 
   138 	// Reserved
   140 	// Reserved