2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Interface Manager Standard Variable Names
29 #if !defined(__NIFVAR_H__)
33 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
34 #include <nifvar_internal.h>
38 Generic Progress Constant
40 @note These ranges must be obeyed by all network adapters
41 @note These are augmented by the PSD and CSD constants below
46 const TInt KConnectionUninitialised = 0; // From NIFMAN
47 const TInt KStartingSelection = 1000; // From NIFMAN
48 const TInt KFinishedSelection = 2000; // From NIFMAN
49 const TInt KConnectionFailure = 2001; // From NIFMAN
51 const TInt KMinAgtProgress = 2500;
52 const TInt KConnectionOpen = 3500; // From an Agent
53 const TInt KConnectionClosed = 4500; // From an Agent
54 const TInt KMaxAgtProgress = 5500;
56 const TInt KMinNifProgress = 6000;
57 const TInt KMaxNifProgress = 9000;
60 Do no use in new code. Use KConnectionUp or KConnectionDown
61 from es_sock.h instead.
66 const TInt KLinkLayerOpen = 7000; // From a NIF
67 const TInt KLinkLayerClosed = 8000; // From a NIF
70 Additional generic progress constantfrom an agent
71 @note These values may be implemented by network adapters (nifs/agents)
72 @see KPsdStartingConfiguration
73 @see KCsdStartingDialling
78 const TInt KStartingConnection = 3000; // from an agent
79 const TInt KIncomingConnectionInProgress = 3350; // from an agent
80 const TInt KDataTransferTemporarilyBlocked = 4000; // eg. suspended (GPRS); from an agent
81 //const TInt KDataTransferUnblocked = 4001; // eg. resume (GPRS); from an agent - declared in nifvar_internal.h
82 const TInt KConnectionStartingClose = 4250; // from an agent
85 Additional generic progress constant
87 @note These values may be implemented by network adapters (nifs/agents)
88 @see KPsdStartingConfiguration
89 @see KCsdStartingDialling
94 const TInt KPsdStartingConfiguration = KMinAgtProgress; // required
95 const TInt KPsdFinishedConfiguration = 2750; // desirable
97 const TInt KPsdAnsweringIncoming = KIncomingConnectionInProgress; // required if supporting incoming connections
99 const TInt KPsdStartingActivation = KStartingConnection; // required
100 const TInt KPsdFinishedActivation = KConnectionOpen; // required
102 const TInt KPsdSuspended = KDataTransferTemporarilyBlocked; // required if this case can occur
104 const TInt KPsdStartingDeactivation = KConnectionStartingClose; // desirable
105 const TInt KPsdFinishedDeactivation = KConnectionClosed; // required
108 Additional generic progress constant
109 eg. suspended (GPRS); from an agent
110 @note These values may be implemented by network adapters (nifs/agents)
111 @see KPsdStartingConfiguration
112 @see KCsdStartingDialling
117 const TInt KCsdStartingDialling = KMinAgtProgress; // optional
118 const TInt KCsdFinishedDialling = 2600; // desirable
119 const TInt KCsdScanningScript = 2650; // optional
120 const TInt KCsdScannedScript = 2750; // optional
121 const TInt KCsdGettingLoginInfo = 2800; // optional
122 const TInt KCsdGotLoginInfo = 2900; // optional
123 const TInt KCsdStartingConnect = KStartingConnection; // optional
124 const TInt KCsdFinishedConnect = 3100; // desirable
125 const TInt KCsdStartingLogIn = 3200; // optional
126 const TInt KCsdFinishedLogIn = 3250; // optional
128 const TInt KCsdStartingAnswer = KIncomingConnectionInProgress; // required if supporting incoming connections/callback
129 const TInt KCsdAnswered = 3400; // required if supporting incoming connections/callback
131 const TInt KCsdConnectionOpen = KConnectionOpen; // required
132 const TInt KCsdStartingHangUp = KConnectionStartingClose; // desirable
133 const TInt KCsdFinishedHangUp = KConnectionClosed; // required
136 Generic progress notifications from the configuration daemon.
140 const TInt KMinConfigDaemonProgress = 8100;
141 const TInt KConfigDaemonLoading = 8100;
142 const TInt KConfigDaemonLoaded = 8200;
143 const TInt KConfigDaemonStartingRegistration = 8300;
144 const TInt KConfigDaemonFinishedRegistration = 8400;
145 const TInt KConfigDaemonStartingDeregistration = 8600;
146 const TInt KConfigDaemonFinishedDeregistrationStop = 8700;
147 const TInt KConfigDaemonFinishedDeregistrationPreserve = 8701;
148 const TInt KConfigDaemonFinishedDormantMode = 8750;
149 const TInt KConfigDaemonUnloading = 8800;
150 const TInt KConfigDaemonUnloaded = 8900;
151 const TInt KMaxConfigDaemonProgress = 8900;
154 New software should use the progress ranges defined above
157 @deprecated 7.0s - maintained for compatibility with 6.1
159 const TInt KAgentUninitialised = KConnectionUninitialised;
160 const TInt KAgentUnconnected = 1;
161 const TInt KMaxAgentProgress = 999;
162 const TInt KMinInterfaceProgress = 1000;
163 const TInt KMaxInterfaceProgress = 1999;
166 The type of connection provided by the network interface
170 @note It is acceptable for clients to check that a TConnectionType falls within a
171 specified range, and assume that the basic parameters can be obtained. For example,
172 if the returned TConnectionType is between 2000 and 2499, it would be acceptable for
173 a client to assume that it was a GPRS connection, and that TGPRSSubConnectionInfo
174 is an acceptable class to use for GetSubConnectionInfo() calls
178 /** Connection values <1000 for generic interface values
179 These are used to indicate an interface does not support extended
180 management functionality, and a limited subset of information is made
181 available through a compatibility layer
185 /** Connection values 1000-1999 for CSD connections
187 EConnectionCSD = 1000,
189 /** Connection values > 2000 for PSD connections
190 Connection values 2000-2499 for subsets of GPRS/UMTS
192 EConnectionGPRS = 2000,
199 /** Connection values 3000 for IEEE802.3 (Ethernet)
201 EConnectionEthernet = 3000,
203 /** Connection values 3100 for IEEE802.11 (WLAN)
205 EConnectionWLAN = 3100,
207 /** Connection values 4000 - 4099 for Bluetooth PAN profile interfaces
209 EConnectionBTPAN = 4000
211 /** Connection values 4100+ for other PS technologies
222 ECallbackActionIETFType0 =0,
223 ECallbackActionIETFType1 =1,
224 ECallbackActionIETFType2 =2,
225 ECallbackActionIETFType3 =3,
226 ECallbackActionIETFType4 =4,
227 ECallbackActionIETFType5 =5,
229 ECallbackActionMSCBCPRequireClientSpecifiedNumber = 1001,
230 ECallbackActionMSCBCPAcceptServerSpecifiedNumber = 1002,
231 ECallbackActionMSCBCPOverrideServerSpecifiedNumber = 1003