williamr@2
|
1 |
/*
|
williamr@2
|
2 |
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
3 |
* All rights reserved.
|
williamr@2
|
4 |
* This component and the accompanying materials are made available
|
williamr@4
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
williamr@2
|
6 |
* which accompanies this distribution, and is available
|
williamr@4
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
williamr@2
|
8 |
*
|
williamr@2
|
9 |
* Initial Contributors:
|
williamr@2
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@2
|
11 |
*
|
williamr@2
|
12 |
* Contributors:
|
williamr@2
|
13 |
*
|
williamr@2
|
14 |
* Description: Definition of attributes used by every Connection Methods.
|
williamr@2
|
15 |
*
|
williamr@2
|
16 |
*/
|
williamr@2
|
17 |
|
williamr@2
|
18 |
#ifndef CMCONNECTIONMETHODDEF_H
|
williamr@2
|
19 |
#define CMCONNECTIONMETHODDEF_H
|
williamr@2
|
20 |
|
williamr@2
|
21 |
// INCLUDES
|
williamr@2
|
22 |
#include <e32base.h>
|
williamr@2
|
23 |
|
williamr@2
|
24 |
// CONSTANTS
|
williamr@2
|
25 |
|
williamr@2
|
26 |
// Beginning of the CMManager enum range (internal use)
|
williamr@2
|
27 |
const TUint KLanBaseSpecificAttributes = 20000;
|
williamr@2
|
28 |
const TUint KLanBaseIfNetworks = 20100;
|
williamr@2
|
29 |
// End of the CMManager enum range (internal use)
|
williamr@2
|
30 |
const TUint KLanBaseRangeMax = 29999;
|
williamr@2
|
31 |
|
williamr@2
|
32 |
/** ECOM interface UID */
|
williamr@2
|
33 |
const TUint KCMPluginInterfaceUid = 0x10207377;
|
williamr@2
|
34 |
|
williamr@2
|
35 |
namespace CMManager
|
williamr@2
|
36 |
{
|
williamr@2
|
37 |
//Enumeration for possible values of seamlessness field
|
williamr@2
|
38 |
//in IAP Metadata table
|
williamr@2
|
39 |
/** Naming method options */
|
williamr@2
|
40 |
enum TNamingMethod
|
williamr@2
|
41 |
{
|
williamr@2
|
42 |
ENamingNothing, ///< Do nothing with name set via ECmName
|
williamr@2
|
43 |
ENamingUnique, ///< Make name unique when ECmName is set.
|
williamr@2
|
44 |
ENamingNotAccept ///< Do not accept duplication. It will leave with
|
williamr@2
|
45 |
///< KErrArgument.
|
williamr@2
|
46 |
};
|
williamr@2
|
47 |
|
williamr@2
|
48 |
// Enumeration for IPv6 types
|
williamr@2
|
49 |
enum TIPv6Types
|
williamr@2
|
50 |
{
|
williamr@2
|
51 |
EIPv6Unspecified, ///< Unspecified IPv6 type
|
williamr@2
|
52 |
EIPv6WellKnown, ///< Well known IPv6 type
|
williamr@2
|
53 |
EIPv6UserDefined ///< User defined IPv6 type
|
williamr@2
|
54 |
};
|
williamr@2
|
55 |
|
williamr@2
|
56 |
enum TSeamlessnessValue
|
williamr@2
|
57 |
{
|
williamr@2
|
58 |
ESeamlessnessNotRoamedTo, // NOT supported
|
williamr@2
|
59 |
ESeamlessnessConfirmFirst, // Confirm first
|
williamr@2
|
60 |
ESeamlessnessShowprogress, // Shows progress
|
williamr@2
|
61 |
ESeamlessnessFullySeamless // NOT supported
|
williamr@2
|
62 |
};
|
williamr@2
|
63 |
|
williamr@2
|
64 |
|
williamr@2
|
65 |
/// Unspecified IPv4 address
|
williamr@2
|
66 |
_LIT( KUnspecifiedIPv4, "0.0.0.0" );
|
williamr@2
|
67 |
|
williamr@2
|
68 |
/// Known IPv6 name server 1
|
williamr@2
|
69 |
_LIT( KKnownIp6NameServer1, "fec0:000:0000:ffff::1" );
|
williamr@2
|
70 |
/// Known IPv6 name server 2
|
williamr@2
|
71 |
_LIT( KKnownIp6NameServer2, "fec0:000:0000:ffff::2" );
|
williamr@2
|
72 |
|
williamr@2
|
73 |
/// Dynamic IPv6 address
|
williamr@2
|
74 |
_LIT( KDynamicIpv6Address, "0:0:0:0:0:0:0:0" );
|
williamr@2
|
75 |
|
williamr@2
|
76 |
/// Default proxy protocol name
|
williamr@2
|
77 |
_LIT( KDefProxyProtocolName, "http" );
|
williamr@2
|
78 |
|
williamr@2
|
79 |
/// Default proxy port number
|
williamr@2
|
80 |
_LIT( KDefaultProxyPortNumber, "0" );
|
williamr@2
|
81 |
|
williamr@2
|
82 |
/// IPv4 network protocol
|
williamr@2
|
83 |
_LIT( KDefIspIfNetworksIPv4, "ip" );
|
williamr@2
|
84 |
/// IPv6 network protocol
|
williamr@2
|
85 |
_LIT( KDefIspIfNetworksIPv6, "ip6" );
|
williamr@2
|
86 |
/// IPv4 and IPv6 network protocols
|
williamr@2
|
87 |
_LIT( KDefIspIfNetworksIPv4IPv6, "ip,ip6" );
|
williamr@2
|
88 |
/// IPv4 and IPv6 network protocols for LAN bearers
|
williamr@2
|
89 |
_LIT( KDefIspIfNetworksIPv4IPv6LAN, "ip" );
|
williamr@2
|
90 |
|
williamr@2
|
91 |
_LIT( KDaemonManagerName, "NetCfgExtnDhcp" );
|
williamr@2
|
92 |
_LIT( KConfigDaemonName, "!DhcpServ" );
|
williamr@2
|
93 |
|
williamr@2
|
94 |
|
williamr@2
|
95 |
/**
|
williamr@2
|
96 |
* This enum lists all the common attributes of Connection Methods.
|
williamr@2
|
97 |
*/
|
williamr@2
|
98 |
enum TConnectionMethodCommonAttributes
|
williamr@2
|
99 |
{
|
williamr@2
|
100 |
/**
|
williamr@2
|
101 |
* The following attributes can be queried via both
|
williamr@2
|
102 |
* the manager interface's and connection method interface's ::Get functions.
|
williamr@2
|
103 |
*/
|
williamr@2
|
104 |
ECmCoverage, /**<
|
williamr@2
|
105 |
* Checks if there's coverage for this bearer.
|
williamr@2
|
106 |
* (TBool - default: none - read only)
|
williamr@2
|
107 |
*/
|
williamr@2
|
108 |
|
williamr@2
|
109 |
ECmDefaultPriority, /**<
|
williamr@2
|
110 |
* Default global priority of the CM's bearer
|
williamr@2
|
111 |
* type.
|
williamr@2
|
112 |
* (TUint32 - default: none - read only)
|
williamr@2
|
113 |
*/
|
williamr@2
|
114 |
|
williamr@2
|
115 |
ECmDestination, /**<
|
williamr@2
|
116 |
* ETrue if this connection method is
|
williamr@2
|
117 |
* an embedded destination.
|
williamr@2
|
118 |
* (TBool - default: none - read only)
|
williamr@2
|
119 |
*/
|
williamr@2
|
120 |
|
williamr@2
|
121 |
ECmBearerHasUi, /**<
|
williamr@2
|
122 |
* Indicates whether the bearer has any UI.
|
williamr@2
|
123 |
* (TBool - default: none - read only)
|
williamr@2
|
124 |
*/
|
williamr@2
|
125 |
|
williamr@2
|
126 |
ECmIPv6Supported, /**<
|
williamr@2
|
127 |
* Returns ETrue if IPv6 is supported.
|
williamr@2
|
128 |
* (TBool - default: none - read only)
|
williamr@2
|
129 |
*/
|
williamr@2
|
130 |
|
williamr@2
|
131 |
ECmDefaultUiPriority, /**<
|
williamr@2
|
132 |
* Priority of this bearer type when shown in UI for
|
williamr@2
|
133 |
* configuring a new IAP.
|
williamr@2
|
134 |
* (TUint32 - default: none - read only)
|
williamr@2
|
135 |
*/
|
williamr@2
|
136 |
|
williamr@2
|
137 |
ECmBearerIcon = 100, /**<
|
williamr@2
|
138 |
* Return the bearer specific icon. Assumes that
|
williamr@2
|
139 |
* there's an existing EEikEnv in the client.
|
williamr@2
|
140 |
* Type cast return value from TUint32 to
|
williamr@2
|
141 |
* CGuiIcon*.
|
williamr@2
|
142 |
* Return value 0 means bearer has no icon.
|
williamr@2
|
143 |
* (TUint32 - default: none - read only)
|
williamr@2
|
144 |
*/
|
williamr@2
|
145 |
|
williamr@2
|
146 |
ECmBearerAvailableIcon, /**<
|
williamr@2
|
147 |
* Return the bearer available specific icon.
|
williamr@2
|
148 |
* Assumes that there's an existing EEikEnv
|
williamr@2
|
149 |
* in the client. Type cast return value from
|
williamr@2
|
150 |
* TUint32 to CGuiIcon*.
|
williamr@2
|
151 |
* Return value 0 means bearer has no icon.
|
williamr@2
|
152 |
* (TUint32 - default: none - read only)
|
williamr@2
|
153 |
*/
|
williamr@2
|
154 |
|
williamr@2
|
155 |
ECmBearerAvailableName = 200, /**<
|
williamr@2
|
156 |
* Name of the bearer. Can be used in
|
williamr@2
|
157 |
* layout
|
williamr@2
|
158 |
* list_double_large_graphic_popup_menu_pane.
|
williamr@2
|
159 |
* (String - default: none - read only)
|
williamr@2
|
160 |
*/
|
williamr@2
|
161 |
|
williamr@2
|
162 |
ECmBearerSupportedName, /**<
|
williamr@2
|
163 |
* Name of the bearer. Can be used in
|
williamr@2
|
164 |
* layout list_single_popup_menu_pane_1.
|
williamr@2
|
165 |
* (String - default: none - read only)
|
williamr@2
|
166 |
*/
|
williamr@2
|
167 |
|
williamr@2
|
168 |
ECmBearerAvailableText, /**<
|
williamr@2
|
169 |
* Localized text 'Available'. Can be used in
|
williamr@2
|
170 |
* layout
|
williamr@2
|
171 |
* list_double_large_graphic_popup_menu_pane.
|
williamr@2
|
172 |
* (String - default: none - read only)
|
williamr@2
|
173 |
*/
|
williamr@2
|
174 |
|
williamr@2
|
175 |
ECmBearerNamePopupNote, /**<
|
williamr@2
|
176 |
* Localized text of the bearer type name.
|
williamr@2
|
177 |
* Can be used in layout popup note.
|
williamr@2
|
178 |
* (String - default: none - read only)
|
williamr@2
|
179 |
*/
|
williamr@2
|
180 |
|
williamr@2
|
181 |
ECmCommsDBBearerType, /**<
|
williamr@2
|
182 |
* For backward compatibility, connection method
|
williamr@2
|
183 |
* can return its CommsDB specific bearer type.
|
williamr@2
|
184 |
* (TUint32 - default: none - read only)
|
williamr@2
|
185 |
* Leaves with KErrUnknown if no associated bearer
|
williamr@2
|
186 |
* type exists in CommsDat.
|
williamr@2
|
187 |
*/
|
williamr@2
|
188 |
|
williamr@2
|
189 |
ECmBearerSettingName, /**<
|
williamr@2
|
190 |
* Name of the data bearer used when
|
williamr@2
|
191 |
* accessing external network.
|
williamr@2
|
192 |
* (String - default: none - read only)
|
williamr@2
|
193 |
*/
|
williamr@2
|
194 |
|
williamr@2
|
195 |
ECmVirtual, /**<
|
williamr@2
|
196 |
* Is the given connection method virtual?
|
williamr@2
|
197 |
* (TBool - default: none - read only)
|
williamr@2
|
198 |
*/
|
williamr@2
|
199 |
|
williamr@2
|
200 |
/**
|
williamr@2
|
201 |
* These are not bearer specific, but controling attributes.
|
williamr@2
|
202 |
*/
|
williamr@2
|
203 |
ECmInvalidAttribute = 400, /**<
|
williamr@2
|
204 |
* Client application can check which attribute
|
williamr@2
|
205 |
* was incorrect in UpdateL().
|
williamr@2
|
206 |
* (TUint32 - default: none - read only)
|
williamr@2
|
207 |
*/
|
williamr@2
|
208 |
|
williamr@2
|
209 |
ECmAddToAvailableList, /**<
|
williamr@2
|
210 |
* Bearer type has to be added to the avaialable
|
williamr@2
|
211 |
* bearer type list.
|
williamr@2
|
212 |
* (TBool - default: EFalse - read only)
|
williamr@2
|
213 |
*/
|
williamr@2
|
214 |
|
williamr@2
|
215 |
ECmLoadResult, /**<
|
williamr@2
|
216 |
* Result of the load process. KErrNone if there
|
williamr@2
|
217 |
* was no error. Otherwise a system wide
|
williamr@2
|
218 |
* error code.
|
williamr@2
|
219 |
* (TUint32 - default: KErrNone - read only)
|
williamr@2
|
220 |
*/
|
williamr@2
|
221 |
|
williamr@2
|
222 |
/**
|
williamr@2
|
223 |
* Attributes the can be queried only via
|
williamr@2
|
224 |
* - connection method's GetXXXAttributeL()
|
williamr@2
|
225 |
* - connection manager's function GetConnectionMethodInfoXXXL()
|
williamr@2
|
226 |
* functions
|
williamr@2
|
227 |
*/
|
williamr@2
|
228 |
ECmBearerType = 500, /**<
|
williamr@2
|
229 |
* Bearer type of the CM
|
williamr@2
|
230 |
* (TUint - default: none - read only)
|
williamr@2
|
231 |
*/
|
williamr@2
|
232 |
|
williamr@2
|
233 |
ECmName, /**<
|
williamr@2
|
234 |
* Name of the CM
|
williamr@2
|
235 |
* (String - default: none)
|
williamr@2
|
236 |
*/
|
williamr@2
|
237 |
|
williamr@2
|
238 |
ECmIapId, /**<
|
williamr@2
|
239 |
* IAP id
|
williamr@2
|
240 |
* (TUint32 - default: none - read only)
|
williamr@2
|
241 |
*/
|
williamr@2
|
242 |
|
williamr@2
|
243 |
ECmStartPage, /**<
|
williamr@2
|
244 |
* Start page of the connection method
|
williamr@2
|
245 |
* (String - default: empty string)
|
williamr@2
|
246 |
*/
|
williamr@2
|
247 |
|
williamr@2
|
248 |
ECmHidden, /**<
|
williamr@2
|
249 |
* Connection method is hidden.
|
williamr@2
|
250 |
* (not supported yet)
|
williamr@2
|
251 |
* (TBool - default: EFalse)
|
williamr@2
|
252 |
*/
|
williamr@2
|
253 |
|
williamr@2
|
254 |
ECmProtected, /**<
|
williamr@2
|
255 |
* This connection method is protected.
|
williamr@2
|
256 |
* Modifying it needs NetworkControl capability.
|
williamr@2
|
257 |
* (TBool - default: EFalse)
|
williamr@2
|
258 |
*/
|
williamr@2
|
259 |
|
williamr@2
|
260 |
ECmNamingMethod, /**<
|
williamr@2
|
261 |
* See acceptable values in TNamingControl.
|
williamr@2
|
262 |
* (TUint32 - default: ENamingUnique)
|
williamr@2
|
263 |
*/
|
williamr@2
|
264 |
|
williamr@2
|
265 |
ECmSeamlessnessLevel, /**<
|
williamr@2
|
266 |
* Defines whether an IAP can be roamed to.
|
williamr@2
|
267 |
* See details in TSeamlessnessValue.
|
williamr@2
|
268 |
* (TUint32 - default: ESeamlessnessConfirmFirst )
|
williamr@2
|
269 |
*/
|
williamr@2
|
270 |
|
williamr@2
|
271 |
ECmElementID, /**<
|
williamr@2
|
272 |
* Element id of the connection method in IAP table.
|
williamr@2
|
273 |
* (TUint32 - default: none - read only)
|
williamr@2
|
274 |
*/
|
williamr@2
|
275 |
|
williamr@2
|
276 |
ECmNetworkId, /**<
|
williamr@2
|
277 |
* Network id of the connection method.
|
williamr@2
|
278 |
* (TUint32 - default: none - read only)
|
williamr@2
|
279 |
*/
|
williamr@2
|
280 |
|
williamr@2
|
281 |
ECmConnected, /**<
|
williamr@2
|
282 |
* Is network connection created with connection
|
williamr@2
|
283 |
* method?
|
williamr@2
|
284 |
* (TBool - default: none - read only)
|
williamr@2
|
285 |
*/
|
williamr@2
|
286 |
|
williamr@2
|
287 |
ECmId, /**<
|
williamr@2
|
288 |
* ID to uniquely identify the connection
|
williamr@2
|
289 |
* methods
|
williamr@2
|
290 |
* It is guaranteed that every connection
|
williamr@2
|
291 |
* method has an ECmId
|
williamr@2
|
292 |
* (TUint32 - default: none - read only)
|
williamr@2
|
293 |
*/
|
williamr@2
|
294 |
|
williamr@2
|
295 |
ECmWapId, /**
|
williamr@2
|
296 |
* Provided for backwards compatibility only.
|
williamr@2
|
297 |
* The record ID of the connection methods'
|
williamr@2
|
298 |
* corresponding WAP_ACCESS_POINT record, which
|
williamr@2
|
299 |
* use had been deprecated as the main ID
|
williamr@2
|
300 |
* should now be ECmIapId, ECmElementID or ECmId.
|
williamr@2
|
301 |
* (TUint32 - default: none - read only)
|
williamr@2
|
302 |
*/
|
williamr@2
|
303 |
|
williamr@2
|
304 |
ECmIapServiceId, /**
|
williamr@2
|
305 |
* Provided for backwards compatibility only.
|
williamr@2
|
306 |
* The record ID of the connection methods'
|
williamr@2
|
307 |
* service record
|
williamr@2
|
308 |
* (TUint32 - default: none - read only)
|
williamr@2
|
309 |
*/
|
williamr@2
|
310 |
|
williamr@2
|
311 |
/**
|
williamr@2
|
312 |
* The following attributes are stored in the connection method's
|
williamr@2
|
313 |
* meta data record.
|
williamr@2
|
314 |
*/
|
williamr@2
|
315 |
ECmMetaHighlight = 600, /**<
|
williamr@2
|
316 |
* Set to indicate that this connection method is
|
williamr@2
|
317 |
* highlighted in Agent dialog. Only one connection
|
williamr@2
|
318 |
* method can have this flag set.
|
williamr@2
|
319 |
* (TBool - default: EFalse)
|
williamr@2
|
320 |
*/
|
williamr@2
|
321 |
|
williamr@2
|
322 |
ECmMetaHiddenAgent, /**<
|
williamr@2
|
323 |
* Set to hide this connection method in Agent
|
williamr@2
|
324 |
* dialog.
|
williamr@2
|
325 |
* (TBool - default: EFalse)
|
williamr@2
|
326 |
*/
|
williamr@2
|
327 |
|
williamr@2
|
328 |
// These attributes can be used with virtual bearer type
|
williamr@2
|
329 |
// connection methods.
|
williamr@2
|
330 |
ECmNextLayerIapId, /**<
|
williamr@2
|
331 |
* Returns the linked connection method's IAP id.
|
williamr@2
|
332 |
* (TUint32 - default: None)
|
williamr@2
|
333 |
*/
|
williamr@2
|
334 |
|
williamr@2
|
335 |
ECmNextLayerSNAPId, /**<
|
williamr@2
|
336 |
* Returns the linked connection method's SNAP id.
|
williamr@2
|
337 |
* (TUint32 - default: None)
|
williamr@2
|
338 |
*/
|
williamr@2
|
339 |
|
williamr@2
|
340 |
// Proxy attributes
|
williamr@2
|
341 |
ECmProxyUsageEnabled = 1000, /**<
|
williamr@2
|
342 |
* Set to enable/disable proxy setting
|
williamr@2
|
343 |
* of connection method.
|
williamr@2
|
344 |
* Disabling: record is deleted from proxy
|
williamr@2
|
345 |
* when UpdateL() is called.
|
williamr@2
|
346 |
* Proxy record is deleted on UpdateL()
|
williamr@2
|
347 |
* if ECmProxyServerName is an empty string.
|
williamr@2
|
348 |
* It can be queried only via the
|
williamr@2
|
349 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
350 |
* (TBool: default: EFalse)
|
williamr@2
|
351 |
*/
|
williamr@2
|
352 |
|
williamr@2
|
353 |
ECmProxyServerName, /**<
|
williamr@2
|
354 |
* Name of the host.
|
williamr@2
|
355 |
* It can be queried only via the
|
williamr@2
|
356 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
357 |
* (String - default: none)
|
williamr@2
|
358 |
*/
|
williamr@2
|
359 |
|
williamr@2
|
360 |
ECmProxyProtocolName, /**<
|
williamr@2
|
361 |
* Name of the protocol for which this proxy
|
williamr@2
|
362 |
* can be used.
|
williamr@2
|
363 |
* It can be queried only via the
|
williamr@2
|
364 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
365 |
* (String - default: none)
|
williamr@2
|
366 |
*/
|
williamr@2
|
367 |
|
williamr@2
|
368 |
ECmProxyPortNumber, /**<
|
williamr@2
|
369 |
* Port number
|
williamr@2
|
370 |
* It can be queried only via the
|
williamr@2
|
371 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
372 |
* (TUint32 - default: none)
|
williamr@2
|
373 |
*/
|
williamr@2
|
374 |
|
williamr@2
|
375 |
ECmProxyExceptions, /**<
|
williamr@2
|
376 |
* ";" separated list of the addresses for
|
williamr@2
|
377 |
* which the proxy server should not be used.
|
williamr@2
|
378 |
* It can be queried only via the
|
williamr@2
|
379 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
380 |
* (String - default: none)
|
williamr@2
|
381 |
*/
|
williamr@2
|
382 |
|
williamr@2
|
383 |
ECmProxyRangeMax = 1999, /**<
|
williamr@2
|
384 |
* Marks the end of the proxy range
|
williamr@2
|
385 |
*/
|
williamr@2
|
386 |
|
williamr@2
|
387 |
ECmChargeCardUsageEnabled = 2000, /**<
|
williamr@2
|
388 |
* Same as in ECmProxyUsageEnabled but
|
williamr@2
|
389 |
* for charge card.
|
williamr@2
|
390 |
* (TBool - default: EFalse)
|
williamr@2
|
391 |
*/
|
williamr@2
|
392 |
|
williamr@2
|
393 |
ECmChargeCardAccountNumber, /**<
|
williamr@2
|
394 |
* Account number
|
williamr@2
|
395 |
* (String - default: none)
|
williamr@2
|
396 |
*/
|
williamr@2
|
397 |
|
williamr@2
|
398 |
ECmChargeCardPIN, /**<
|
williamr@2
|
399 |
* PIN number
|
williamr@2
|
400 |
* (String - default: none)
|
williamr@2
|
401 |
*/
|
williamr@2
|
402 |
|
williamr@2
|
403 |
ECmChargeCardLocalRule, /**<
|
williamr@2
|
404 |
* Order of dialling account number,
|
williamr@2
|
405 |
* PIN and phone number for local calls.
|
williamr@2
|
406 |
* (String - default: none)
|
williamr@2
|
407 |
*/
|
williamr@2
|
408 |
|
williamr@2
|
409 |
ECmChargeCardNatRule, /**<
|
williamr@2
|
410 |
* Order of dialling account number,
|
williamr@2
|
411 |
* PIN and phone number for national
|
williamr@2
|
412 |
* calls.
|
williamr@2
|
413 |
* (String - default: none)
|
williamr@2
|
414 |
*/
|
williamr@2
|
415 |
|
williamr@2
|
416 |
ECmChargeCardIntlRule, /**<
|
williamr@2
|
417 |
* Order of dialling account number,
|
williamr@2
|
418 |
* PIN and phone number for
|
williamr@2
|
419 |
* international calls.
|
williamr@2
|
420 |
* (String - default: none)
|
williamr@2
|
421 |
*/
|
williamr@2
|
422 |
|
williamr@2
|
423 |
ECmChargeCardRangeMax = 2999, /**<
|
williamr@2
|
424 |
* Marks the end of the chargecard range
|
williamr@2
|
425 |
*/
|
williamr@2
|
426 |
|
williamr@2
|
427 |
ECmLocationUsageEnabled = 3000, /**<
|
williamr@2
|
428 |
* Same as in ECmProxyUsageEnabled but
|
williamr@2
|
429 |
* for location.
|
williamr@2
|
430 |
* (TBool - default: EFalse)
|
williamr@2
|
431 |
*/
|
williamr@2
|
432 |
|
williamr@2
|
433 |
ECmLocationIntlPrefixCode, /**<
|
williamr@2
|
434 |
* International prefix code.
|
williamr@2
|
435 |
* (String - default: none)
|
williamr@2
|
436 |
*/
|
williamr@2
|
437 |
|
williamr@2
|
438 |
ECmLocationNatPrefixCode, /**<
|
williamr@2
|
439 |
* National prefix code.
|
williamr@2
|
440 |
* (String - default: none)
|
williamr@2
|
441 |
*/
|
williamr@2
|
442 |
|
williamr@2
|
443 |
ECmLocationNatCode, /**<
|
williamr@2
|
444 |
* National code
|
williamr@2
|
445 |
* (String - default: none)
|
williamr@2
|
446 |
*/
|
williamr@2
|
447 |
|
williamr@2
|
448 |
ECmLocationAreaCode, /**<
|
williamr@2
|
449 |
* Area code.
|
williamr@2
|
450 |
* (String - default: none)
|
williamr@2
|
451 |
*/
|
williamr@2
|
452 |
|
williamr@2
|
453 |
ECmLocationDialOutCode, /**<
|
williamr@2
|
454 |
* Number to dial for an outside line.
|
williamr@2
|
455 |
* (String - default: none)
|
williamr@2
|
456 |
*/
|
williamr@2
|
457 |
|
williamr@2
|
458 |
ECmLocationDisableCallWaitingCode, /**<
|
williamr@2
|
459 |
* Code to dial to disable call waiting
|
williamr@2
|
460 |
* facility.
|
williamr@2
|
461 |
* (String - default: none)
|
williamr@2
|
462 |
*/
|
williamr@2
|
463 |
|
williamr@2
|
464 |
ECmLocationMobile, /**<
|
williamr@2
|
465 |
* Mobile phone?
|
williamr@2
|
466 |
* (TBool - default: none)
|
williamr@2
|
467 |
*/
|
williamr@2
|
468 |
|
williamr@2
|
469 |
ECmLocationUsePulseDial, /**<
|
williamr@2
|
470 |
* Use pulse dialling?
|
williamr@2
|
471 |
* (TBool - default: none)
|
williamr@2
|
472 |
*/
|
williamr@2
|
473 |
|
williamr@2
|
474 |
ECmLocationWaitForDialTone, /**<
|
williamr@2
|
475 |
* Wait for the dial tone?
|
williamr@2
|
476 |
* (TBool - default: none)
|
williamr@2
|
477 |
*/
|
williamr@2
|
478 |
|
williamr@2
|
479 |
ECmLocationPauseAfterDialOut, /**<
|
williamr@2
|
480 |
* Pause time after dial out.
|
williamr@2
|
481 |
* (TUint32 - default: none)
|
williamr@2
|
482 |
*/
|
williamr@2
|
483 |
|
williamr@2
|
484 |
ECmLocationRangeMax = 3999, /**<
|
williamr@2
|
485 |
* Marks the end of the location
|
williamr@2
|
486 |
* range
|
williamr@2
|
487 |
*/
|
williamr@2
|
488 |
|
williamr@2
|
489 |
// WAP specific attributes
|
williamr@2
|
490 |
ECmWapIPGatewayAddress = 4000, /**<
|
williamr@2
|
491 |
* WAP Gateway address, in this case an
|
williamr@2
|
492 |
* IP address.
|
williamr@2
|
493 |
* (String - default: none)
|
williamr@2
|
494 |
*/
|
williamr@2
|
495 |
|
williamr@2
|
496 |
ECmWapIPWSPOption, /**<
|
williamr@2
|
497 |
* Enum value indicating whether
|
williamr@2
|
498 |
* connection-oriented
|
williamr@2
|
499 |
* or connectionless API should be used.
|
williamr@2
|
500 |
* See valid values in TWapWSPOption.
|
williamr@2
|
501 |
* (TUint32 - default:
|
williamr@2
|
502 |
* ECmWapWspOptionConnectionless)
|
williamr@2
|
503 |
*/
|
williamr@2
|
504 |
|
williamr@2
|
505 |
ECmWapIPSecurity, /**<
|
williamr@2
|
506 |
* Attempt secure WTLS connection to the gateway
|
williamr@2
|
507 |
* (TBool - default: EFalse)
|
williamr@2
|
508 |
*/
|
williamr@2
|
509 |
|
williamr@2
|
510 |
ECmWapIPProxyPort, /**<
|
williamr@2
|
511 |
* Proxy port number. Required for WAP2.0 only.
|
williamr@2
|
512 |
* (TUint32 - default: none)
|
williamr@2
|
513 |
*/
|
williamr@2
|
514 |
|
williamr@2
|
515 |
ECmWapIPProxyLoginName, /**<
|
williamr@2
|
516 |
* Proxy login name. Required for WAP2.0 only.
|
williamr@2
|
517 |
* (String - default: none)
|
williamr@2
|
518 |
*/
|
williamr@2
|
519 |
|
williamr@2
|
520 |
ECmWapIPProxyLoginPass, /**<
|
williamr@2
|
521 |
* Proxy login password.
|
williamr@2
|
522 |
* Required for WAP2.0 only.
|
williamr@2
|
523 |
* (String - default: none)
|
williamr@2
|
524 |
*/
|
williamr@2
|
525 |
|
williamr@2
|
526 |
ECmWapRangeMax = 4099, /**<
|
williamr@2
|
527 |
* Marks the end of the WAP specific range
|
williamr@2
|
528 |
*/
|
williamr@2
|
529 |
|
williamr@2
|
530 |
/**
|
williamr@2
|
531 |
* The following attributes are common for many bearer types.
|
williamr@2
|
532 |
* It's not sure that every IF or IP attribute is supported by
|
williamr@2
|
533 |
* all bearer types.
|
williamr@2
|
534 |
* It's not possible to query these attributes via
|
williamr@2
|
535 |
* GetConnectionInfoXXX() functions.
|
williamr@2
|
536 |
*/
|
williamr@2
|
537 |
ECmCommonAttributesStart = 5000, /**<
|
williamr@2
|
538 |
* Marks the beginning of the common
|
williamr@2
|
539 |
* attributes
|
williamr@2
|
540 |
*/
|
williamr@2
|
541 |
|
williamr@2
|
542 |
ECmIFName, /**<
|
williamr@2
|
543 |
* Interface name
|
williamr@2
|
544 |
* It can be queried only via the
|
williamr@2
|
545 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
546 |
* (String - default: none)
|
williamr@2
|
547 |
*/
|
williamr@2
|
548 |
|
williamr@2
|
549 |
ECmIFParams, /**<
|
williamr@2
|
550 |
* Interface parameter string
|
williamr@2
|
551 |
* It can be queried only via the
|
williamr@2
|
552 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
553 |
* (String - default: none)
|
williamr@2
|
554 |
*/
|
williamr@2
|
555 |
|
williamr@2
|
556 |
ECmIFNetworks, /**<
|
williamr@2
|
557 |
* List of network protocols
|
williamr@2
|
558 |
* It can be queried only via the
|
williamr@2
|
559 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
560 |
* (String - default: none)
|
williamr@2
|
561 |
*/
|
williamr@2
|
562 |
|
williamr@2
|
563 |
ECmIFPromptForAuth, /**<
|
williamr@2
|
564 |
* Prompt user for authentication
|
williamr@2
|
565 |
* It can be queried only via the
|
williamr@2
|
566 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
567 |
* (TBool - default: none)
|
williamr@2
|
568 |
*/
|
williamr@2
|
569 |
|
williamr@2
|
570 |
ECmIFAuthName, /**<
|
williamr@2
|
571 |
* Authentication user name used by PPP
|
williamr@2
|
572 |
* It can be queried only via the
|
williamr@2
|
573 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
574 |
* (String - default: none)
|
williamr@2
|
575 |
*/
|
williamr@2
|
576 |
|
williamr@2
|
577 |
ECmIFAuthPass, /**<
|
williamr@2
|
578 |
* Authentication password used by PPP
|
williamr@2
|
579 |
* It can be queried only via the
|
williamr@2
|
580 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
581 |
* (String - default: none)
|
williamr@2
|
582 |
*/
|
williamr@2
|
583 |
|
williamr@2
|
584 |
ECmIFAuthRetries, /**<
|
williamr@2
|
585 |
* Number of times for retrying authentication
|
williamr@2
|
586 |
* if it fails
|
williamr@2
|
587 |
* It can be queried only via the
|
williamr@2
|
588 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
589 |
* (TUint32 - default: none)
|
williamr@2
|
590 |
*/
|
williamr@2
|
591 |
|
williamr@2
|
592 |
ECmIPNetmask = 5050, /**<
|
williamr@2
|
593 |
* IP net mask of interface
|
williamr@2
|
594 |
* It can be queried only via the
|
williamr@2
|
595 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
596 |
* (String - default: none)
|
williamr@2
|
597 |
*/
|
williamr@2
|
598 |
|
williamr@2
|
599 |
ECmIPGateway, /**<
|
williamr@2
|
600 |
* IP address of gateway
|
williamr@2
|
601 |
* It can be queried only via the
|
williamr@2
|
602 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
603 |
* (String - default: none)
|
williamr@2
|
604 |
*/
|
williamr@2
|
605 |
|
williamr@2
|
606 |
ECmIPAddFromServer, /**<
|
williamr@2
|
607 |
* Get IP address from server?
|
williamr@2
|
608 |
* It can be queried only via the
|
williamr@2
|
609 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
610 |
* (TBool - default: none)
|
williamr@2
|
611 |
*/
|
williamr@2
|
612 |
|
williamr@2
|
613 |
ECmIPAddress, /**<
|
williamr@2
|
614 |
* IP address of interface
|
williamr@2
|
615 |
* It can be queried only via the
|
williamr@2
|
616 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
617 |
* (String - default: none)
|
williamr@2
|
618 |
*/
|
williamr@2
|
619 |
|
williamr@2
|
620 |
ECmIPDNSAddrFromServer, /**<
|
williamr@2
|
621 |
* Get DNS addresses from server?
|
williamr@2
|
622 |
* It can be queried only via the
|
williamr@2
|
623 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
624 |
* (TBool - default: none)
|
williamr@2
|
625 |
*/
|
williamr@2
|
626 |
|
williamr@2
|
627 |
ECmIPNameServer1, /**<
|
williamr@2
|
628 |
* IP address of primary name server
|
williamr@2
|
629 |
* It can be queried only via the
|
williamr@2
|
630 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
631 |
* (String - default: none)
|
williamr@2
|
632 |
*/
|
williamr@2
|
633 |
|
williamr@2
|
634 |
ECmIPNameServer2, /**<
|
williamr@2
|
635 |
* IP address of secondary name server
|
williamr@2
|
636 |
* It can be queried only via the
|
williamr@2
|
637 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
638 |
* (String - default: none)
|
williamr@2
|
639 |
*/
|
williamr@2
|
640 |
|
williamr@2
|
641 |
ECmIP6DNSAddrFromServer, /**<
|
williamr@2
|
642 |
* Get IP6 DNS addresses from server?
|
williamr@2
|
643 |
* It can be queried only via the
|
williamr@2
|
644 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
645 |
* (TBool - default: none)
|
williamr@2
|
646 |
*/
|
williamr@2
|
647 |
|
williamr@2
|
648 |
ECmIP6NameServer1, /**<
|
williamr@2
|
649 |
* IP6 address of primary name server
|
williamr@2
|
650 |
* It can be queried only via the
|
williamr@2
|
651 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
652 |
* (String - default: none)
|
williamr@2
|
653 |
*/
|
williamr@2
|
654 |
|
williamr@2
|
655 |
ECmIP6NameServer2, /**<
|
williamr@2
|
656 |
* IP6 address of secondary name server
|
williamr@2
|
657 |
* It can be queried only via the
|
williamr@2
|
658 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
659 |
* (String - default: none)
|
williamr@2
|
660 |
*/
|
williamr@2
|
661 |
|
williamr@2
|
662 |
ECmIPAddrLeaseValidFrom, /**<
|
williamr@2
|
663 |
* IP address valid from this time, used to
|
williamr@2
|
664 |
* store dynamically assigned address lease
|
williamr@2
|
665 |
* info
|
williamr@2
|
666 |
* It can be queried only via the
|
williamr@2
|
667 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
668 |
* (String - default: none)
|
williamr@2
|
669 |
*/
|
williamr@2
|
670 |
|
williamr@2
|
671 |
ECmIPAddrLeaseValidTo, /**<
|
williamr@2
|
672 |
* IP address valid for use until this time,
|
williamr@2
|
673 |
* used to store dynamically assigned
|
williamr@2
|
674 |
* address lease info
|
williamr@2
|
675 |
* It can be queried only via the
|
williamr@2
|
676 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
677 |
* (String - default: none)
|
williamr@2
|
678 |
*/
|
williamr@2
|
679 |
|
williamr@2
|
680 |
ECmConfigDaemonManagerName = 5100, /**<
|
williamr@2
|
681 |
* Name of the ECom configuration
|
williamr@2
|
682 |
* daemon manager component. This
|
williamr@2
|
683 |
* component interfaces with the
|
williamr@2
|
684 |
* server identified in
|
williamr@2
|
685 |
* ECmConfigDaemonName. If
|
williamr@2
|
686 |
* specified, ECmConfigDaemonName
|
williamr@2
|
687 |
* should also be specified.
|
williamr@2
|
688 |
* It can be queried only via the
|
williamr@2
|
689 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
690 |
* (String - default: none)
|
williamr@2
|
691 |
*/
|
williamr@2
|
692 |
|
williamr@2
|
693 |
ECmConfigDaemonName, /**<
|
williamr@2
|
694 |
* Name of the configuration daemon server.
|
williamr@2
|
695 |
* This server is used to provide further
|
williamr@2
|
696 |
* configuration for a connection, e.g.
|
williamr@2
|
697 |
* dynamic IP address assignment. If
|
williamr@2
|
698 |
* specified, ECmConfigDaemonManagerName
|
williamr@2
|
699 |
* should also be specified.
|
williamr@2
|
700 |
* It can be queried only via the
|
williamr@2
|
701 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
702 |
* (String - default: none)
|
williamr@2
|
703 |
*/
|
williamr@2
|
704 |
|
williamr@2
|
705 |
ECmEnableLPCExtension = 5110, /**<
|
williamr@2
|
706 |
* Enable LCP extensions?
|
williamr@2
|
707 |
* It can be queried only via the
|
williamr@2
|
708 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
709 |
* (TBool - default: none)
|
williamr@2
|
710 |
*/
|
williamr@2
|
711 |
|
williamr@2
|
712 |
ECmDisablePlainTextAuth, /**<
|
williamr@2
|
713 |
* Disable plaintext authentication?
|
williamr@2
|
714 |
* It can be queried only via the
|
williamr@2
|
715 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
716 |
* (TBool - default: none)
|
williamr@2
|
717 |
*/
|
williamr@2
|
718 |
|
williamr@2
|
719 |
ECmCommonAttributesEnd = 5999, /**<
|
williamr@2
|
720 |
* Marks the end of common attributes
|
williamr@2
|
721 |
*/
|
williamr@2
|
722 |
|
williamr@2
|
723 |
/**
|
williamr@2
|
724 |
* The following methods can be queried only via
|
williamr@2
|
725 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
726 |
*/
|
williamr@2
|
727 |
ECmSpecialAttributes = 6000, /**<
|
williamr@2
|
728 |
* Marks the beginning of special
|
williamr@2
|
729 |
* attributes
|
williamr@2
|
730 |
*/
|
williamr@2
|
731 |
|
williamr@2
|
732 |
ECmIsLinked, /**<
|
williamr@2
|
733 |
* Is connection method linked to any
|
williamr@2
|
734 |
* virtual connection method?
|
williamr@2
|
735 |
* It can be queried only via the
|
williamr@2
|
736 |
* connection method's GetXXXAttributeL()
|
williamr@2
|
737 |
* (TBool - default: none)
|
williamr@2
|
738 |
*/
|
williamr@2
|
739 |
|
williamr@2
|
740 |
ECmSpecialAttributesEnd = 8999 /**<
|
williamr@2
|
741 |
* Marks the end of special attributes
|
williamr@2
|
742 |
*/
|
williamr@2
|
743 |
};
|
williamr@2
|
744 |
|
williamr@2
|
745 |
/** WAP WSP options */
|
williamr@2
|
746 |
enum TWapWSPOption
|
williamr@2
|
747 |
{
|
williamr@2
|
748 |
/**
|
williamr@2
|
749 |
* Indicates that connectionless APIs should be used
|
williamr@2
|
750 |
*/
|
williamr@2
|
751 |
ECmWapWspOptionConnectionless,
|
williamr@2
|
752 |
|
williamr@2
|
753 |
/**
|
williamr@2
|
754 |
* Indicates that connection oriented APIs should be used
|
williamr@2
|
755 |
*/
|
williamr@2
|
756 |
ECmWapWspOptionConnectionOriented
|
williamr@2
|
757 |
};
|
williamr@2
|
758 |
|
williamr@2
|
759 |
} // namespace CMManager
|
williamr@2
|
760 |
|
williamr@2
|
761 |
#endif // CMCONNECTIONMETHODDEF_H
|