|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @internalComponent |
|
18 */ |
|
19 |
|
20 #ifndef PTPIPROTOCOLCONSTANTS_H |
|
21 #define PTPIPROTOCOLCONSTANTS_H |
|
22 |
|
23 #include <e32def.h> |
|
24 |
|
25 /** |
|
26 Defines constant values specified in the PTPIP protocol. |
|
27 @internalComponent |
|
28 */ |
|
29 |
|
30 /** |
|
31 The PTPIP Protocol constants as defined in the PTPIP specification. |
|
32 */ |
|
33 enum TPTPIPPacketTypeCode |
|
34 { |
|
35 EPTPIPPacketTypeUndefined = 0x0000, |
|
36 EPTPIPPacketTypeCmdReq = 0x0001, |
|
37 EPTPIPPacketTypeCmdAck = 0x0002, |
|
38 EPTPIPPacketTypeEventReq = 0x0003, |
|
39 EPTPIPPacketTypeEventAck = 0x0004, |
|
40 EPTPIPPacketTypeEventFail = 0x0005, |
|
41 EPTPIPPacketTypeOperationRequest = 0x0006, |
|
42 EPTPIPPacketTypeOperationResponse = 0x0007, |
|
43 EPTPIPPacketTypeEvent = 0x0008, |
|
44 EPTPIPPacketTypeStartData = 0x0009, |
|
45 EPTPIPPacketTypeData = 0x000A, |
|
46 EPTPIPPacketTypeCancel = 0x000B, |
|
47 EPTPIPPacketTypeEndData = 0x000C, |
|
48 EPTPIPPacketTypeProbeRequest = 0x000D, |
|
49 EPTPIPPacketTypeProbeResponse = 0x000E, |
|
50 }; |
|
51 |
|
52 /* |
|
53 * PTPIP transport implementation UID |
|
54 */ |
|
55 const TUint KMTPPTPIPTransportImplementationUid = 0xA0004A60; |
|
56 |
|
57 #endif // PTPIPROTOCOLCONSTANTS_H |