|
1 // Copyright (c) 2003-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 #ifndef PANPROG_H |
|
17 #define PANPROG_H |
|
18 |
|
19 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
20 #include <panctrl.h> |
|
21 #endif |
|
22 |
|
23 #include <nifvar.h> |
|
24 #include <es_sock.h> |
|
25 |
|
26 enum TPANAgentProgress |
|
27 /** |
|
28 PAN agent progress values |
|
29 @publishedAll |
|
30 @released |
|
31 */ |
|
32 { |
|
33 EPanAgtInitialising = KMinAgtProgress, |
|
34 EPanAgtConnected = KConnectionOpen, //< Agent is up and running |
|
35 EPanAgtIdle, //< Agent is idle |
|
36 EPanAgtListening, //< Listening for incoming connections |
|
37 EPanAgtURole, //< In U role |
|
38 EPanAgtGnRole, //< In GN role |
|
39 EPanAgtNapRole, //< In NAP role |
|
40 EPanAgtConnectedNewDevice, //< A device has connected |
|
41 EPanAgtDisconnectedDevice, //< A device has disconnected |
|
42 EPanAgtReconfiguringPiconet, //< Role change is in progress |
|
43 EPanAgtUplinkRequired, //< A connection authorised to use the uplink exists |
|
44 EPanAgtUplinkNotRequired, //< A connection authorised to use the uplink does not exists |
|
45 EPanAgtNoResourceForPanConnection, //< Lack of resource to setup a BT PAN connection |
|
46 EPanAgtDisconnecting = KConnectionStartingClose, |
|
47 EPanAgtDisconnected = KConnectionClosed |
|
48 }; |
|
49 |
|
50 enum TPanNapNetworkType |
|
51 /** |
|
52 Type of network provided by the NAP gateway |
|
53 @publishedAll |
|
54 @released |
|
55 */ |
|
56 { |
|
57 EPstn = 0x0000, |
|
58 EIsdn = 0x0001, |
|
59 EDsl = 0x0002, |
|
60 ECableModem = 0x0003, |
|
61 E10MbEthernet = 0x0004, |
|
62 E100MbEthernet = 0x0005, |
|
63 E4MbTokenRing = 0x0006, |
|
64 E16MbTokenRing = 0x0007, |
|
65 E100MbTokenRing = 0x0008, |
|
66 EFddi = 0x0009, |
|
67 EGsm = 0x000A, |
|
68 ECdma = 0x000B, |
|
69 EGprs = 0x000C, |
|
70 E3GCellular = 0x000D, |
|
71 EOther = 0xFFFE |
|
72 }; |
|
73 |
|
74 #endif // PANPROG_H |