author | Chad Peckham <chad.peckham@nokia.com> |
Thu, 11 Feb 2010 16:07:33 -0600 | |
branch | RCL_2_4 |
changeset 941 | e90e6ea44529 |
parent 869 | cb5e1f0959c9 |
permissions | -rw-r--r-- |
869
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
1 |
/* |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
3 |
* All rights reserved. |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
8 |
* |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
9 |
* Initial Contributors: |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
11 |
* |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
12 |
* Contributors: |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
13 |
* |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
14 |
* Description: |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
15 |
* |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
16 |
*/ |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
17 |
package com.nokia.carbide.remoteconnections.discovery.pccs.pccsnative; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
18 |
|
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
19 |
public class UPAPIDefinitions { |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
20 |
// ---------------------------------------------------- |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
21 |
// Data direction used in UPAPI_SendCommandToDevice() |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
22 |
// function. |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
23 |
// |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
24 |
public static final int UPAPI_DATA_DIRECTION_HOST_TO_DEVICE =0x01; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
25 |
public static final int UPAPI_DATA_DIRECTION_DEVICE_TO_HOST =0x02; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
26 |
// ---------------------------------------------------- |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
27 |
// Personality codes |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
28 |
// |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
29 |
public static final int UPAPI_PERSONALITY_CODE_PC_SUITE =0x01; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
30 |
public static final int UPAPI_PERSONALITY_CODE_REMOVABLE_DISC =0x02; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
31 |
public static final int UPAPI_PERSONALITY_CODE_PICTURE_TRANSFER =0x03; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
32 |
public static final int UPAPI_PERSONALITY_CODE_MEDIA_TRANSFER =0x04; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
33 |
public static final int UPAPI_PERSONALITY_CODE_COMBINED =0x05; |
941
e90e6ea44529
PnP development for switching USB personalities. Bug 10604.
Chad Peckham <chad.peckham@nokia.com>
parents:
869
diff
changeset
|
34 |
public static final int UPAPI_PERSONALITY_CODE_OVI_SUITE =UPAPI_PERSONALITY_CODE_COMBINED; |
869
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
35 |
public static final int UPAPI_PERSONALITY_CODE_PC_TO_WEB =0x06; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
36 |
|
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
37 |
// not from documentation - from email only |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
38 |
public static final int UPAPI_PERSONALITY_CODE_RNDIS =0x08; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
39 |
|
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
40 |
//========================================================= |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
41 |
// USB Personality API version |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
42 |
// |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
43 |
public static final int UPAPI_VERSION_10 =10; |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
44 |
//========================================================= |
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
45 |
|
cb5e1f0959c9
move com.nokia.carbide.remoteConnections.discovery.pccs to carbidecpp repository
cawthron
parents:
diff
changeset
|
46 |
} |