epoc32/include/cdbcols.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
williamr@2
     1
// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@2
     2
// All rights reserved.
williamr@2
     3
// This component and the accompanying materials are made available
williamr@2
     4
// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
williamr@2
     5
// which accompanies this distribution, and is available
williamr@2
     6
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
williamr@2
     7
//
williamr@2
     8
// Initial Contributors:
williamr@2
     9
// Nokia Corporation - initial contribution.
williamr@2
    10
//
williamr@2
    11
// Contributors:
williamr@2
    12
//
williamr@2
    13
// Description:
williamr@2
    14
// - General definitions for client use
williamr@2
    15
// - Table and column names,
williamr@2
    16
// - Enums and constants use in tables,
williamr@2
    17
// - UIDs for notifications
williamr@2
    18
// 
williamr@2
    19
//
williamr@2
    20
williamr@2
    21
williamr@2
    22
williamr@2
    23
/**
williamr@2
    24
 @file
williamr@2
    25
 @publishedAll 
williamr@2
    26
 @deprecated since v9.1. Functionality is replaced with commsdat.
williamr@2
    27
*/
williamr@2
    28
williamr@2
    29
williamr@2
    30
#ifndef CDBCOLS_H
williamr@2
    31
#define CDBCOLS_H
williamr@2
    32
williamr@2
    33
#include <e32std.h>
williamr@2
    34
// Database table names. The name (a string) of each table is defined by a macro.
williamr@2
    35
#define NETWORK											_S("Network")
williamr@2
    36
/** Internet access point table identifier.*/
williamr@2
    37
#define IAP												_S("IAP")
williamr@2
    38
/** Identifier of default dial-out ISP table.
williamr@2
    39
williamr@2
    40
Field type: TUint32 */
williamr@2
    41
#define DIAL_OUT_ISP									_S("DialOutISP")
williamr@2
    42
/** Dial-in Internet Service Provider.
williamr@2
    43
*/
williamr@2
    44
#define DIAL_IN_ISP										_S("DialInISP")
williamr@2
    45
/** Outgoing WCDMA table.
williamr@2
    46
*/
williamr@2
    47
#define OUTGOING_WCDMA									_S("OutgoingGPRS")
williamr@2
    48
/**
williamr@2
    49
Not used in v7.0 */
williamr@2
    50
#define INCOMING_WCDMA									_S("IncomingGPRS")	
williamr@2
    51
#define LAN_SERVICE										_S("LANService")	// test use only
williamr@2
    52
#define PAN_SERVICE_EXTENSIONS							_S("PANServiceExtensions")
williamr@2
    53
#define WLAN_SERVICE_EXTENSIONS							_S("WLANServiceExtensions")
williamr@2
    54
/**
williamr@2
    55
Identifier of modem settings table.
williamr@2
    56
In v7.0s, this table changed its name from MODEM to MODEM_BEARER.
williamr@2
    57
In v6.1, it is possible to define only a single record for this table. */
williamr@2
    58
#define MODEM_BEARER									_S("ModemBearer")
williamr@2
    59
#define LAN_BEARER										_S("LANBearer")
williamr@2
    60
/** Identifier of the default location table.
williamr@2
    61
In 6.1, it is possible to define only a single record for this table.
williamr@2
    62
Field type: TUint32 */
williamr@2
    63
#define LOCATION										_S("Location")
williamr@2
    64
/** Identifier of the default chargecard table.
williamr@2
    65
williamr@2
    66
Field type: TUint32 */
williamr@2
    67
#define CHARGECARD										_S("Chargecard")
williamr@2
    68
/** Identifier of proxy server settings table.*/
williamr@2
    69
#define PROXIES											_S("Proxies")
williamr@2
    70
/** Identifier of default WAP Access Point table.
williamr@2
    71
williamr@2
    72
Field type: TUint32 */
williamr@2
    73
#define WAP_ACCESS_POINT								_S("WAPAccessPoint")
williamr@2
    74
/** WAP IP bearer. */
williamr@2
    75
#define WAP_IP_BEARER									_S("WAPIPBearer")
williamr@2
    76
/** WAP SMS bearer. */
williamr@2
    77
#define WAP_SMS_BEARER									_S("WAPSMSBearer")
williamr@2
    78
/** GPRS default settings.
williamr@2
    79
williamr@2
    80
It is possible to define only one record for  this table.
williamr@2
    81
*/
williamr@2
    82
#define DEFAULT_GPRS									_S("DefaultGPRS")
williamr@2
    83
/** Bluetooth device table. */
williamr@2
    84
#define BT_DEVICE_TABLE									_S("BTDeviceTable")
williamr@2
    85
/** Bluetooth default table. */
williamr@2
    86
#define BT_DEFAULT_TABLE								_S("BTDefaultTable")
williamr@2
    87
/** Bluetooth security table. */
williamr@2
    88
#define BT_SECURITY_TABLE								_S("BTSecurityTable")
williamr@2
    89
/** Bluetooth persist table. */
williamr@2
    90
#define BT_PERSIST_TABLE								_S("BTPersistTable") 
williamr@2
    91
/** Identifier of the sockets table.*/
williamr@2
    92
#define SS_PROTO_TABLE									_S("SecureSocketTable")
williamr@2
    93
/** Agent lookup table identifier*/
williamr@2
    94
#define AGENT_LOOKUP									_S("AgentLookup")
williamr@2
    95
/** CDMA2000 packet service table.*/
williamr@2
    96
#define CDMA2000_PACKET_SERVICE_TABLE					_S("CDMA2000PacketServiceTable")
williamr@2
    97
/** CDMA2000 default settings.*/
williamr@2
    98
#define DEFAULT_CDMA2000_SETTINGS_TABLE					_S("DefaultCDMA2000SettingsTable")
williamr@2
    99
#define VIRTUAL_BEARER									_S("VirtualBearer")
williamr@2
   100
#define VPN_SERVICE										_S("VpnService")
williamr@2
   101
#define WLAN_SERVICE_EXTENSION_TABLE					_S("WLANServiceExtensionTable")
williamr@2
   102
williamr@2
   103
#define ACCESS_POINT_TABLE								_S("AccessPointTable")
williamr@2
   104
#define IAP_PRIORITY_SELECTION_POLICY_TABLE				_S("IAPPrioritySelectionPolicyTable")
williamr@2
   105
#define XML_ACCESS_POINT_TABLE							_S("AccessPoint")
williamr@2
   106
williamr@2
   107
#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
   108
williamr@2
   109
#define AP_PRIORITY_SELECTION_POLICY_TABLE				_S("APPrioritySelectionPolicyTable")
williamr@2
   110
#define TIER_TABLE										_S("TierTable")
williamr@2
   111
#define MCPR_TABLE										_S("MCprTable")
williamr@2
   112
#define CPR_TABLE										_S("CprTable")
williamr@2
   113
#define SCPR_TABLE										_S("SCprTable")
williamr@2
   114
#define PROTOCOL_TABLE									_S("ProtocolTable")
williamr@2
   115
#define BEARER_TYPE_TABLE								_S("BearerTypeTable")
williamr@2
   116
#define CONFIG_ACCESS_POINT_TABLE                                                       _S("ConfigAccessPointTable")
williamr@2
   117
williamr@2
   118
#define XML_AP_PRIORITY_SELECTION_POLICY_TABLE			_S("APPrioritySelectionPolicy")
williamr@2
   119
#define XML_TIER_TABLE									_S("Tier")
williamr@2
   120
#define XML_MCPR_TABLE									_S("MCpr")
williamr@2
   121
#define XML_CPR_TABLE									_S("Cpr")
williamr@2
   122
#define XML_SCPR_TABLE									_S("SCpr")
williamr@2
   123
#define XML_PROTOCOL_TABLE								_S("Protocol")
williamr@2
   124
#define XML_BEARER_TYPE_TABLE							_S("BearerType")
williamr@2
   125
#define XML_CONFIG_ACCESS_POINT_TABLE                                                       _S("ConfigAccessPoint")
williamr@2
   126
williamr@2
   127
#endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
   128
williamr@2
   129
#define	EAP_SEC_TABLE									_S("EAPSecuritySettingsTable")
williamr@2
   130
#define	TUN_EAP_TABLE									_S("TunnelledEAPSettingsTable")
williamr@2
   131
#define	EAP_TLS_TABLE									_S("EAPTLSSettingsTable")
williamr@2
   132
#define	LEAP_TABLE										_S("LEAPSettingsTable")
williamr@2
   133
#define EAPSIM_PROTOCOL_TABLE							_S("EapSimProtocolTable")
williamr@2
   134
#define EAPAKA_PROTOCOL_TABLE							_S("EapAkaProtocolTable")
williamr@2
   135
williamr@2
   136
#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
   137
williamr@2
   138
#define POLICY_SELECTOR_TABLE                     		_S("PolicySelectorTable")
williamr@2
   139
#define XML_POLICY_SELECTOR_TABLE                 		_S("PolicySelector")
williamr@2
   140
williamr@2
   141
#define POLICYSELECTOR2QOSPARAMETERS_TABLE 				_S("PolicySelector2QosParametersTable")
williamr@2
   142
#define XML_POLICYSELECTOR2QOSPARAMETERS_TABLE 			_S("PolicySelector2QosParameters")
williamr@2
   143
williamr@2
   144
#define GENERIC_QOS_TABLE 								_S("GenericQosTable")
williamr@2
   145
#define XML_GENERIC_QOS_TABLE 							_S("GenericQos")
williamr@2
   146
williamr@2
   147
// need to preserve compatibility, soon to become internalTechnology
williamr@2
   148
//#ifdef SYMBIAN_NETWORKING_WIFI
williamr@2
   149
#define WIFI_SCANENGINE_TABLE                     		_S("WifiScanEngineTable")
williamr@2
   150
//#endif //SYMBIAN_NETWORKING_WIFI
williamr@2
   151
williamr@2
   152
#endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
   153
williamr@2
   154
williamr@2
   155
//DEPRECATED : MODEM has been reassigned so as to maintain backwards compatibility
williamr@2
   156
/** Identifier of default modem.
williamr@2
   157
williamr@2
   158
Field type: TUint32
williamr@2
   159
@deprecated Unsupported since v7.0 */
williamr@2
   160
#define MODEM											MODEM_BEARER
williamr@2
   161
// Just in case any applications use the literal pre-7.0s string for the ModemBearer table.
williamr@2
   162
/** @deprecated Unsupported since v7.0 */
williamr@2
   163
#define OLD_MODEM_TABLE									_S("Modem")
williamr@2
   164
williamr@2
   165
williamr@2
   166
//
williamr@2
   167
// Global settings.
williamr@2
   168
// The following macros define values for the Global table fields.
williamr@2
   169
// Note that Global table fields are accessed through CCommsDatabase.
williamr@2
   170
//
williamr@2
   171
/** Number of times to attempt redial when the ISP number is busy.
williamr@2
   172
williamr@2
   173
Field type: TUint32 */
williamr@2
   174
#define REDIAL_ATTEMPTS									_S("RedialAttempts")				
williamr@2
   175
/** The bearer for sending SMS.
williamr@2
   176
williamr@2
   177
Values for this are defined by the enum RMobileSmsMessaging::TMobileSmsBearer
williamr@2
   178
williamr@2
   179
Field type: TUint32 */
williamr@2
   180
#define SMS_BEARER										_S("SmsBearer")				// Takes the values of RGprs::TSmsBearer from ETEL
williamr@2
   181
/** The SMS receive mode, taken from RMobileSmsMessaging::TMobileSmsReceiveMode.
williamr@2
   182
williamr@2
   183
Field type: TUint32 */
williamr@2
   184
#define SMS_RECEIVE_MODE								_S("SmsReceiveMode")		// Takes the values of RMobileSmsMessaging::TMobileSmsReceiveMode from ETel MM
williamr@2
   185
/** The GPRS attach mode, i.e. whether to attach at the boot-up of the device or 
williamr@2
   186
at a later time.
williamr@2
   187
williamr@2
   188
Values for this are defined by the enum RPacketService::TAttachMode
williamr@2
   189
Field type: TUint32 */
williamr@2
   190
#define GPRS_ATTACH_MODE								_S("GPRSAttachMode")				// Takes the values of RGprs::TGprsAttachMode from ETEL
williamr@2
   191
/** Whether or not to allow incoming requests for PDP context activation to be automatically 
williamr@2
   192
accepted (when there is a waiting application).
williamr@2
   193
williamr@2
   194
Use a TBool to specify the value.
williamr@2
   195
williamr@2
   196
Field type: TUint32 */
williamr@2
   197
#define ACCEPT_INCOMING_GPRS							_S("AcceptIncomingGprs")			// Takes a TBool value - ETrue = accept incoming requests, EFalse = reject incoming requests
williamr@2
   198
/** The preferred bearer when device is forced into GPRS Class C operation.
williamr@2
   199
williamr@2
   200
The values for this field are defined by TCommDbGprsClassCBearer.
williamr@2
   201
williamr@2
   202
Field type: TUint32
williamr@2
   203
williamr@2
   204
@see TCommDbGprsClassCBearer */
williamr@2
   205
#define GPRS_CLASS_C_BEARER								_S("GPRSClassCBearer")				// Takes the values of TCommDbGprsClassCBearer
williamr@2
   206
/** The number of connection attempts (preferences) to make. 
williamr@2
   207
williamr@2
   208
This is limited to a maximum of 2.
williamr@2
   209
williamr@2
   210
Field type: TUint32 */
williamr@2
   211
#define CONNECTION_ATTEMPTS								_S("ConnectionAttempts")			// Number of connection preferences, with incremental rank, to try
williamr@2
   212
/** Specifies the ID of the modem record to be used for data transactions.
williamr@2
   213
williamr@2
   214
Field type: TUint32 */
williamr@2
   215
#define MODEM_DATA_FAX									_S("ModemForDataAndFax")
williamr@2
   216
/** Specifies the ID of the modem record to be used for phone services such as SMS.
williamr@2
   217
williamr@2
   218
Field type: TUint32 */
williamr@2
   219
#define MODEM_PHONE_SERVICES_SMS						_S("ModemForPhoneServicesAndSMS")
williamr@2
   220
/** Specifies the location to be used with the default modem for data transactions.
williamr@2
   221
williamr@2
   222
Field type: TUint32 */
williamr@2
   223
#define LOCATION_DATA_FAX								_S("LocationForDataAndFax")
williamr@2
   224
/** Specifies the location to be used with default modem for phone services such 
williamr@2
   225
as SMS.
williamr@2
   226
williamr@2
   227
Field type: TUint32 */
williamr@2
   228
#define LOCATION_PHONE_SERVICES_SMS						_S("LocationForPhoneServicesAndSMS")
williamr@2
   229
/** Maximum RMBuf heap size.
williamr@2
   230
williamr@2
   231
Field type: TUint32 */
williamr@2
   232
#define MAXMBUF_HEAP									_S("MaxMBufHeap")
williamr@2
   233
#define DEFAULT_AGENT									_S("DefaultAgent")
williamr@2
   234
#define DEFAULT_NETWORK									_S("DefaultNetwork")
williamr@2
   235
#define BEARER_AVAILABILITY_CHECK_TSY					_S("BearerAvailabilityCheckTSY")
williamr@2
   236
williamr@2
   237
// The following fields define the specific CDMA parameters provisioned through OTA 
williamr@2
   238
// and  defined in TIA-683B section 3.5.8 
williamr@2
   239
williamr@2
   240
/** Operation capability bitmap to indicate which operations are supported by the MS. 
williamr@2
   241
Bit allocation:
williamr@2
   242
williamr@2
   243
bit 0 - SimpleIP supported
williamr@2
   244
williamr@2
   245
bit 1 - MobileIP supported
williamr@2
   246
williamr@2
   247
bit 2 - MobileIP with simple IP fallback supported
williamr@2
   248
williamr@2
   249
bits 3-7 - reserved 
williamr@2
   250
williamr@2
   251
Field type: TUint32 */
williamr@2
   252
#define CDMA_OP_CAPABILITY								_S("CDMAOperationCapability")
williamr@2
   253
/** Maximum number of SimpleIP NAI entries.
williamr@2
   254
williamr@2
   255
Field type: TUint32 */
williamr@2
   256
#define CDMA_SIMIP_MAX_NUM_NAI							_S("CDMASimpleIpMaxNumNai")
williamr@2
   257
/** Maximum SimpleIP NAI length (min 72 octets).
williamr@2
   258
williamr@2
   259
Field type: TUint32 */
williamr@2
   260
#define CDMA_SIMIP_MAX_NAI_LENGTH						_S("CDMASimpleIpMaxNaiLength")
williamr@2
   261
/** Maximum length of SimpleIP shared secret data.
williamr@2
   262
williamr@2
   263
Field type: TUint32 */
williamr@2
   264
#define CDMA_SIMIP_MAX_SS_LENGTH						_S("CDMASimpleIpMaxSsLength")
williamr@2
   265
/** SimpleIP authentication algorithm bitmap supported by the MS.
williamr@2
   266
Bit allocation:
williamr@2
   267
williamr@2
   268
bit 0 - CHAP supported
williamr@2
   269
williamr@2
   270
bit 1 - PAP supported
williamr@2
   271
williamr@2
   272
bits 2-7 - reserved 
williamr@2
   273
williamr@2
   274
Field type: TUint32 */
williamr@2
   275
#define CDMA_SIMIP_AUTH_SUPPORTED						_S("CDMASimpleIpAuthSupported")
williamr@2
   276
/** Maximum number of mobile IP NAI entries.
williamr@2
   277
williamr@2
   278
Field type: TUint32 */
williamr@2
   279
#define CDMA_MIP_MAX_NUM_NAI							_S("CDMAMobileIpMaxNumNai")
williamr@2
   280
/** Maximum MobileIP NAI length (min 72 octets).
williamr@2
   281
williamr@2
   282
Field type: TUint32 */
williamr@2
   283
#define CDMA_MIP_MAX_NAI_LENGTH							_S("CDMAMobileIpMaxNAILength")
williamr@2
   284
/** Maximum length of the shared secret data (MN-AAA)
williamr@2
   285
williamr@2
   286
Field type: TUint32 */
williamr@2
   287
#define CDMA_MIP_MAX_MN_AAA_SS_LENGTH					_S("CDMAMobileIpMaxMnAaaSsLength")
williamr@2
   288
/** Authentication algorithm bitmap (MN-AAA) supported by the mobile station.
williamr@2
   289
Bit allocation:
williamr@2
   290
williamr@2
   291
bit 0 - MD5 authentication supported (RFC 3012)
williamr@2
   292
williamr@2
   293
bits 1-7 - reserved 
williamr@2
   294
williamr@2
   295
Field type: TUint32 */
williamr@2
   296
#define CDMA_MIP_MN_AAA_AUTH_ALGORITHM					_S("CDMAMobileIpMnAaaAuthAlgorithm")
williamr@2
   297
/** Maximum length of the shared secret data (MN-HA)
williamr@2
   298
williamr@2
   299
Field type: TUint32 */
williamr@2
   300
#define CDMA_MIP_MAX_MN_HA_SS_LENGTH					_S("CDMAMobileIpMaxMnHaSsLength")
williamr@2
   301
/** Authentication algorithm bitmap (MN-HA) supported by the mobile station. 
williamr@2
   302
Bit allocation:
williamr@2
   303
williamr@2
   304
bit 0 - MD5 authentication supported (RFC 3012)
williamr@2
   305
williamr@2
   306
bits 1-7 - reserved 
williamr@2
   307
williamr@2
   308
Field type: TUint32 */
williamr@2
   309
#define CDMA_MIP_MN_HA_AUTH_ALGORITHM					_S("CDMAMobileIpMnHaAuthAlgorithm")
williamr@2
   310
williamr@2
   311
/** Prompt for an Access Point if used.
williamr@2
   312
williamr@2
   313
Field type: TBool*/
williamr@2
   314
#define PROMPT_FOR_AP									_S("PromptForSnap")
williamr@2
   315
williamr@2
   316
williamr@2
   317
#ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
   318
williamr@2
   319
/** If default Access Point is defined, use default Access Point. Otherwise use connection preferences.
williamr@2
   320
williamr@2
   321
Field type: TUint32 */
williamr@2
   322
#define DEFAULT_AP										_S("DefaultSnap")
williamr@2
   323
williamr@2
   324
#else
williamr@2
   325
williamr@2
   326
/** This field differentiate the Bravo selection from the 399 selection
williamr@2
   327
(needed for implicit scenarios where prefs are not available).
williamr@2
   328
williamr@2
   329
Field type: TUint32 */
williamr@2
   330
#define DEFAULT_SNAP									_S("DefaultSnap")
williamr@2
   331
williamr@2
   332
/** Default tier.
williamr@2
   333
williamr@2
   334
Field type: TUint32 */
williamr@2
   335
#define DEFAULT_TIER	      							_S("DefaultTier")
williamr@2
   336
williamr@2
   337
/** Prompt the User.
williamr@2
   338
williamr@2
   339
Field type: TBool*/
williamr@2
   340
#define PROMPT_USER									    _S("PromptUser")
williamr@2
   341
#endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
   342
williamr@2
   343
/** This field  defines the default or current IEEE 802.11 regulatory domain or country code. 
williamr@2
   344
Field type: TCommsDatWlanRegDomain */
williamr@2
   345
#define REGULATORY_DOMAIN						_S("RegulatoryDomain")
williamr@2
   346
williamr@2
   347
/**
williamr@2
   348
Maintained for backwards compatibility.
williamr@2
   349
Specifies whether to show the connection dialog.
williamr@2
   350
Field type: TUint32 (Boolean) 
williamr@2
   351
@deprecated v7.0 */
williamr@2
   352
#define ASK_USER_BEFORE_DIAL							_S("AskUserBeforeDial")		
williamr@2
   353
/** Identifier of default dial-out IAP.
williamr@2
   354
williamr@2
   355
Field type: TUint32
williamr@2
   356
@deprecated v7.0 */
williamr@2
   357
#define DIAL_OUT_IAP									_S("DialOutIAP")
williamr@2
   358
#define DIAL_IN_IAP										_S("DialInIAP")
williamr@2
   359
/** Identifier of (dial out) ISP in this IAP.
williamr@2
   360
Field type: TUint32. This field may not be left as NULL.
williamr@2
   361
@deprecated v7.0 */
williamr@2
   362
#define IAP_ISP											_S("IAPISP")
williamr@2
   363
/** Time to stay online when all clients have closed.
williamr@2
   364
williamr@2
   365
Field type: TUint32
williamr@2
   366
@deprecated v7.0 */
williamr@2
   367
#define CLIENT_TIMEOUT									_S("ClientTimout")
williamr@2
   368
/** Time to stay online when idle.
williamr@2
   369
williamr@2
   370
Field type: TUint32
williamr@2
   371
@deprecated v7.0 */
williamr@2
   372
#define ROUTE_TIMEOUT									_S("RouteTimeout")
williamr@2
   373
/** Outgoing GPRS table.
williamr@2
   374
*/
williamr@2
   375
#define OUTGOING_GPRS									OUTGOING_WCDMA
williamr@2
   376
/** Incoming GPRS table.
williamr@2
   377
*/
williamr@2
   378
#define INCOMING_GPRS									INCOMING_WCDMA
williamr@2
   379
#define ECommDbBearerUnknown							KCommDbBearerUnknown
williamr@2
   380
#define ECommDbBearerCSD								KCommDbBearerCSD
williamr@2
   381
#define ECommDbBearerWcdma								KCommDbBearerWcdma
williamr@2
   382
#define ECommDbBearerLAN								KCommDbBearerLAN
williamr@2
   383
#define ECommDbBearerCdma2000							KCommDbBearerCdma2000
williamr@2
   384
#define ECommDbBearerPSD								KCommDbBearerPSD
williamr@2
   385
#define ECommDbBearerVirtual							KCommDbBearerVirtual
williamr@2
   386
#define ECommDbBearerPAN								KCommDbBearerPAN
williamr@2
   387
#define ECommDbBearerWLAN								KCommDbBearerWLAN
williamr@2
   388
/** Avoids the need for lots of search & replace in migrations from v6.1 */
williamr@2
   389
#define ECommDbBearerGPRS                               ECommDbBearerWcdma
williamr@2
   390
williamr@2
   391
// Columns common to all tables 
williamr@2
   392
/**Unique ID assigned by the server for identification of records by the server.
williamr@2
   393
williamr@2
   394
Field type: TUint32 */
williamr@2
   395
#define COMMDB_ID										_S("Id")			// Id of the row
williamr@2
   396
/**Name of the record for easy identification by the user.
williamr@2
   397
williamr@2
   398
This is not present in the some tables.
williamr@2
   399
Field type: Text. */
williamr@2
   400
#define COMMDB_NAME										_S("Name")			// Name of the row
williamr@2
   401
williamr@2
   402
// COMMDB_UNUSED_NAME with COMMDB_ID appended, is inserted in the name column of entries that 
williamr@2
   403
// have been deleted, but are required to be inserted by ceddump, inserted and subsequently 
williamr@2
   404
// deleted by ced so that the COMMDB_ID indices are preserved. Such entries may be modified
williamr@2
   405
// but ideally should not be deleted as this will require all the indices to be recalculated.
williamr@2
   406
_LIT(COMMDB_UNUSED_NAME, "__UNUSED_ENTRY_DO_NOT_DELETE__");
williamr@2
   407
williamr@2
   408
// Columns for `IAP` table
williamr@2
   409
// The following macros define values for the IAP table fields.
williamr@2
   410
// An IAP table allows a group of related records for service information (including service
williamr@2
   411
// type), and chargecard (optional) to be identified.
williamr@2
   412
/** Identifier of the dialog preference in this IAP.
williamr@2
   413
williamr@2
   414
Field type: TUint32. This field may be left as NULL. */
williamr@2
   415
#define IAP_DIALOG_PREF									_S("DialogPref")
williamr@2
   416
/** Identifier of the service in this IAP.
williamr@2
   417
williamr@2
   418
Field type: TUint32. This field may not be left as NULL. */
williamr@2
   419
#define IAP_SERVICE										_S("IAPService")
williamr@2
   420
/** Name of the service table (e.g. DIAL_OUT_ISP, OUTGOING_GPRS) 
williamr@2
   421
in this IAP.
williamr@2
   422
williamr@2
   423
Field type: Text. This field may not be left as NULL. */
williamr@2
   424
#define IAP_SERVICE_TYPE								_S("IAPServiceType")
williamr@2
   425
/** Identifier of the bearer in this IAP.
williamr@2
   426
williamr@2
   427
Field type: TUint32. This field may be left as NULL. */
williamr@2
   428
#define IAP_BEARER										_S("IAPBearer")
williamr@2
   429
/** Identifier of the type of the bearer in this IAP.
williamr@2
   430
williamr@2
   431
Field type: Text. This field may be left as NULL. */
williamr@2
   432
#define IAP_BEARER_TYPE									_S("IAPBearerType")
williamr@2
   433
/** Identifier of the network in this IAP.
williamr@2
   434
williamr@2
   435
Field type: TUint32. This field may be left as NULL. */
williamr@2
   436
#define IAP_NETWORK										_S("IAPNetwork")
williamr@2
   437
#ifdef SYMBIAN_NETWORKING_UMTSR5
williamr@2
   438
/** Identifier of the Application secure ID in this IAP.
williamr@2
   439
williamr@2
   440
Field type: TUint32. This field may be left as NULL. */
williamr@2
   441
#define IAP_APPSID                                      _S("IAPAppSid")
williamr@2
   442
williamr@2
   443
#endif //SYMBIAN_NETWORKING_UMTSR5
williamr@2
   444
/** Identifier of the weighting for networks in this IAP.
williamr@2
   445
williamr@2
   446
Field type: TUint32. This field may be left as NULL. */
williamr@2
   447
#define IAP_NETWORK_WEIGHTING							_S("IAPNetworkWeighting")
williamr@2
   448
/** Identifier of the location in this IAP.
williamr@2
   449
williamr@2
   450
Field type: TUint32. This field may be left as NULL. */
williamr@2
   451
#define IAP_LOCATION									_S("Location")
williamr@2
   452
//#define IAP_CHARGECARD									_S("Chargecard")
williamr@2
   453
williamr@2
   454
#define BCA_STACK										_S("BCAStack") 						///< Comma separated list of BCAs, eg. C32BCA 
williamr@2
   455
williamr@2
   456
// Columns common to all bearer tables using IP and PPP
williamr@2
   457
#define IF_NAME											_S("IfName")						///< Interface name, e.g. "PPP" or "SLIP"
williamr@2
   458
williamr@2
   459
// Columns common to all service tables using IP and PPP
williamr@2
   460
#define SERVICE_IF_PARAMS								_S("IfParams")						///< Interface parameter string
williamr@2
   461
#define SERVICE_IF_NETWORKS								_S("IfNetworks")					///< Comma separated list of network protocols, e.g. "PPP"
williamr@2
   462
williamr@2
   463
williamr@2
   464
/**  When using external IP configuration (MobileIP or DHCP), always reject PPP peer authentication requests.
williamr@2
   465
If external IP configuration is used and this field is set to TRUE then peer authentication requests are always rejected.
williamr@2
   466
If external IP configuration is used and this field is set to FALSE then PPP allows authentication to proceed (although it may still fail later). 
williamr@2
   467
If this field is not set or absent, the result is the same as when it is set to TRUE. */
williamr@2
   468
#define SERVICE_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH	_S("IfExternIpConfigAlwaysRejectAuth")	
williamr@2
   469
williamr@2
   470
#define SERVICE_IF_PROMPT_FOR_AUTH						_S("IfPromptForAuth")				///< Prompt user for authentication name and password?
williamr@2
   471
#define SERVICE_IF_AUTH_NAME							_S("IfAuthName")					///< Authentication username used by PPP
williamr@2
   472
#define SERVICE_IF_AUTH_PASS							_S("IfAuthPass")					///< Authentication password used by PPP
williamr@2
   473
#define SERVICE_IF_AUTH_RETRIES							_S("AuthRetries")					///< No of times to retry authentication if it fails
williamr@2
   474
#define SERVICE_IF_CALLBACK_ENABLED						_S("IfCallbackEnabled")				///< Callback enabled?
williamr@2
   475
#define SERVICE_IF_CALLBACK_TYPE						_S("IfCallbackType")				///< Type of callback if enabled
williamr@2
   476
#define SERVICE_IF_CALLBACK_INFO						_S("IfCallbackInfo")				///< Info for callback request if enabled
williamr@2
   477
#define SERVICE_CALLBACK_TIMEOUT						_S("CallbackTimeout")				///< time to wait for callback
williamr@2
   478
#define SERVICE_IF_SERVER_MODE							_S("IfServerMode")					///< PPP in server mode?
williamr@2
   479
williamr@2
   480
#define SERVICE_IP_ADDR_FROM_SERVER						_S("IpAddrFromServer")				///< Get IP address from server?
williamr@2
   481
#define SERVICE_IP_ADDR									_S("IpAddr")						///< IP Address of Interface
williamr@2
   482
#define SERVICE_IP_NETMASK								_S("IpNetMask")						///< IP Netmask of Interface
williamr@2
   483
#define SERVICE_IP_GATEWAY								_S("IpGateway")						///< IP Address of Gateway
williamr@2
   484
#define SERVICE_IP_DNS_ADDR_FROM_SERVER					_S("IpDNSAddrFromServer")			///< Get DNS addresses from server?
williamr@2
   485
#define SERVICE_IP_NAME_SERVER1							_S("IpNameServer1")					///< IP Address of primary name server reachable through this interface
williamr@2
   486
#define SERVICE_IP_NAME_SERVER2							_S("IpNameServer2")					///< IP Address of secondary name server reachable through this interface
williamr@2
   487
williamr@2
   488
#define SERVICE_IP6_DNS_ADDR_FROM_SERVER					_S("Ip6DNSAddrFromServer")			///< Get DNS addresses from server?
williamr@2
   489
#define SERVICE_IP6_NAME_SERVER1							_S("Ip6NameServer1")					///< IP Address of primary name server reachable through this interface
williamr@2
   490
#define SERVICE_IP6_NAME_SERVER2							_S("Ip6NameServer2")					///< IP Address of secondary name server reachable through this interface
williamr@2
   491
williamr@2
   492
#define SERVICE_ENABLE_IP_HEADER_COMP	 				_S("EnableIPHeaderComp")			///< Enable IP header compression
williamr@2
   493
#define SERVICE_ENABLE_LCP_EXTENSIONS					_S("EnableLCPExtension")			///< Enable LCP extension
williamr@2
   494
#define SERVICE_DISABLE_PLAIN_TEXT_AUTH					_S("DisablePlainTextAuth")			///< Disable plain text authentication
williamr@2
   495
#define SERVICE_ENABLE_SW_COMP							_S("EnableSWComp")					///< Enable S/W compression
williamr@2
   496
williamr@2
   497
#define SERVICE_IP_ADDR_LEASE_VALID_FROM				_S("IpAddrLeaseValidFrom")			///< Start of address lease (.e.g. a DHCP assigned ip address)
williamr@2
   498
#define SERVICE_IP_ADDR_LEASE_VALID_TO					_S("IpAddrLeaseValidTo")			///< End of address lease (e.g. a DHCP assigned IP address)
williamr@2
   499
#define SERVICE_CONFIG_DAEMON_MANAGER_NAME				_S("ConfigDaemonManagerName")		///< Name of the ECOM daemon manager plug-in for NIFMAN used to load a specific configuration daemon (see the next field)
williamr@2
   500
#define SERVICE_CONFIG_DAEMON_NAME						_S("ConfigDaemonName")				///< Name of the daemon used for address configuration .e.g Dhcp, MobileIp
williamr@2
   501
williamr@2
   502
/** Enable link-local multicast name resolution
williamr@2
   503
williamr@2
   504
Field type: TBool. This field may be left as NULL. */
williamr@2
   505
#define SERVICE_ENABLE_LLMNR						_S("EnableLLMNR")
williamr@2
   506
#define ISP_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR	
williamr@2
   507
#define GPRS_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
williamr@2
   508
#define LAN_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
williamr@2
   509
#define CDMA_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
williamr@2
   510
#define VPN_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
williamr@2
   511
williamr@2
   512
// Columns of the `DIAL_OUT_ISP` and `DIAL_IN_ISP` service tables.
williamr@2
   513
// The following macros define values for the dial out/in ISP table fields.
williamr@2
   514
/** Description of ISP (for use by applications etc.)
williamr@2
   515
williamr@2
   516
Field type: Text. This field may be left as NULL.*/
williamr@2
   517
#define ISP_DESCRIPTION									_S("Description")					// text field for app to use to describe ISP
williamr@2
   518
/** TCommsDbIspType value indicating ISP type, e.g. Internet, LAN, etc.
williamr@2
   519
williamr@2
   520
Field type: TUint32. This field may be left as NULL. */
williamr@2
   521
#define ISP_TYPE										_S("Type")							// int field for ISP "type" e.g. Internet, LAN, etc
williamr@2
   522
williamr@2
   523
/** Default phone number.
williamr@2
   524
williamr@2
   525
Field type: Text. This field may be left as NULL. */
williamr@2
   526
#define ISP_DEFAULT_TEL_NUM								_S("DefaultTelNum")					// The default telephone number to be used if the location does not match those below
williamr@2
   527
/** Perform dialling resolution for default phone number?
williamr@2
   528
williamr@2
   529
Field type: TBool. This field may not be left as NULL. */
williamr@2
   530
#define ISP_DIAL_RESOLUTION								_S("DialResolution")				// Perform Dialing Resolution for default phone number?
williamr@2
   531
/** Use login script?
williamr@2
   532
williamr@2
   533
Field type: TBool. This field may not be left as NULL. */
williamr@2
   534
#define ISP_USE_LOGIN_SCRIPT							_S("UseLoginScript")				// Use login script?
williamr@2
   535
/** Login script (used if ISP_USE_LOGIN_SCRIPT is ETrue).
williamr@2
   536
williamr@2
   537
Type Text. This field may be left as NULL. */
williamr@2
   538
#define ISP_LOGIN_SCRIPT								_S("LoginScript")					// Login Script
williamr@2
   539
/** Prompt user for username and password?
williamr@2
   540
williamr@2
   541
Field type: TBool. This field may not be left as NULL. */
williamr@2
   542
#define ISP_PROMPT_FOR_LOGIN							_S("PromptForLogin")				// Prompt user for username and password?
williamr@2
   543
/** Login name
williamr@2
   544
williamr@2
   545
Field type: Text. This field may be left as NULL. */
williamr@2
   546
#define ISP_LOGIN_NAME									_S("LoginName")						// Login name
williamr@2
   547
/** Login Password
williamr@2
   548
williamr@2
   549
Field type: Text. This field may be left as NULL. */
williamr@2
   550
#define ISP_LOGIN_PASS									_S("LoginPass")						// Login password
williamr@2
   551
/** Identifier of the chargecard used for this ISP (optional).
williamr@2
   552
williamr@2
   553
Field type: TUint32. This field may be left as NULL. */
williamr@2
   554
#define ISP_CHARGECARD									_S("Chargecard")
williamr@2
   555
/** Display post connection terminal (PCT) (without scanning script for READ command)?
williamr@2
   556
williamr@2
   557
Field type: TBool. This field may be left as NULL. */
williamr@2
   558
#define ISP_DISPLAY_PCT									_S("DisplayPCT")					// Display PCT (do not scan script for READ)?
williamr@2
   559
//#define ISP_IF_NAME									SERVICE_IF_NAME
williamr@2
   560
/** Interface parameter string
williamr@2
   561
williamr@2
   562
Field type: Text. This field may be left as NULL. */
williamr@2
   563
#define ISP_IF_PARAMS									SERVICE_IF_PARAMS
williamr@2
   564
/** Comma separated list of network protocols, e.g. "IP"
williamr@2
   565
williamr@2
   566
Field type: Text. This field may be left as NULL. */
williamr@2
   567
#define ISP_IF_NETWORKS									SERVICE_IF_NETWORKS
williamr@2
   568
williamr@2
   569
/** Prompt user for authentication username and password?
williamr@2
   570
williamr@2
   571
Field type: TBool. This field may not be left as NULL. */
williamr@2
   572
#define ISP_IF_PROMPT_FOR_AUTH							SERVICE_IF_PROMPT_FOR_AUTH
williamr@2
   573
/** Authentication username used by PPP
williamr@2
   574
williamr@2
   575
Field type: Text. This field may be left as NULL. */
williamr@2
   576
#define ISP_IF_AUTH_NAME								SERVICE_IF_AUTH_NAME
williamr@2
   577
/** Authentication password used by PPP
williamr@2
   578
williamr@2
   579
Field type: Text. This field may be left as NULL. */
williamr@2
   580
#define ISP_IF_AUTH_PASS								SERVICE_IF_AUTH_PASS
williamr@2
   581
/** Number of retries if authentication fails.
williamr@2
   582
williamr@2
   583
Field type: TUint32. This field may be left as NULL. */
williamr@2
   584
#define ISP_IF_AUTH_RETRIES								SERVICE_IF_AUTH_RETRIES
williamr@2
   585
/** Callback enabled?
williamr@2
   586
williamr@2
   587
Field type: TBool. This field may be left as NULL. */
williamr@2
   588
#define ISP_IF_CALLBACK_ENABLED							SERVICE_IF_CALLBACK_ENABLED
williamr@2
   589
/** TCallbackAction value indicating type of callback (if enabled)
williamr@2
   590
williamr@2
   591
Field type: TUint32. This field may be left as NULL. */
williamr@2
   592
#define ISP_IF_CALLBACK_TYPE							SERVICE_IF_CALLBACK_TYPE
williamr@2
   593
/** Callback information, e.g. phone number to call back to.
williamr@2
   594
williamr@2
   595
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
   596
#define ISP_IF_CALLBACK_INFO							SERVICE_IF_CALLBACK_INFO
williamr@2
   597
/** Time to wait for callback in microseconds (if enabled)
williamr@2
   598
williamr@2
   599
Field type: TUint32. This field may be left as NULL. */
williamr@2
   600
#define ISP_CALLBACK_TIMEOUT							SERVICE_CALLBACK_TIMEOUT
williamr@2
   601
/** PPP in server mode?
williamr@2
   602
williamr@2
   603
Field type: TBool. This field may be left as NULL. */
williamr@2
   604
#define ISP_IF_SERVER_MODE								SERVICE_IF_SERVER_MODE
williamr@2
   605
williamr@2
   606
/** Get IP address from server?
williamr@2
   607
williamr@2
   608
Field type: TBool. This field may not be left as NULL. */
williamr@2
   609
#define ISP_IP_ADDR_FROM_SERVER							SERVICE_IP_ADDR_FROM_SERVER
williamr@2
   610
/** IP address of interface
williamr@2
   611
williamr@2
   612
Field type: Text. This field may be left as NULL. */
williamr@2
   613
#define ISP_IP_ADDR										SERVICE_IP_ADDR
williamr@2
   614
/** IP net mask of interface
williamr@2
   615
williamr@2
   616
Field type: Text. This field may be left as NULL. */
williamr@2
   617
#define ISP_IP_NETMASK									SERVICE_IP_NETMASK
williamr@2
   618
/** IP address of gateway
williamr@2
   619
williamr@2
   620
Field type: Text. This field may be left as NULL. */
williamr@2
   621
#define ISP_IP_GATEWAY									SERVICE_IP_GATEWAY
williamr@2
   622
/** Get DNS addresses from server?
williamr@2
   623
williamr@2
   624
Field type: TBool. This field may not be left as NULL. */
williamr@2
   625
#define ISP_IP_DNS_ADDR_FROM_SERVER						SERVICE_IP_DNS_ADDR_FROM_SERVER
williamr@2
   626
/** IP address of primary name server
williamr@2
   627
williamr@2
   628
Field type: Text. This field may be left as NULL. */
williamr@2
   629
#define ISP_IP_NAME_SERVER1								SERVICE_IP_NAME_SERVER1
williamr@2
   630
/** IP address of secondary name server
williamr@2
   631
williamr@2
   632
Field type: Text. This field may be left as NULL. */
williamr@2
   633
#define ISP_IP_NAME_SERVER2								SERVICE_IP_NAME_SERVER2
williamr@2
   634
williamr@2
   635
#define ISP_IP6_DNS_ADDR_FROM_SERVER					SERVICE_IP6_DNS_ADDR_FROM_SERVER
williamr@2
   636
#define ISP_IP6_NAME_SERVER1							SERVICE_IP6_NAME_SERVER1
williamr@2
   637
#define ISP_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
williamr@2
   638
williamr@2
   639
#define ISP_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
williamr@2
   640
#define ISP_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
williamr@2
   641
williamr@2
   642
/** Name of the ECOM configuration daemon manager component. 
williamr@2
   643
This component interfaces with the server identified in ISP_CONFIG_DAEMON_NAME.
williamr@2
   644
If specified, ISP_CONFIG_DAEMON_NAME should also be specified.
williamr@2
   645
williamr@2
   646
Field type: Text. This field may be left as NULL.  */
williamr@2
   647
#define ISP_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
williamr@2
   648
/** Name of the configuration daemon server. This server is used to 
williamr@2
   649
provide further configuration for a connection, e.g. dynamic IP 
williamr@2
   650
address assignment. If specified, ISP_CONFIG_DAEMON_MANAGER_NAME 
williamr@2
   651
should also be specified.
williamr@2
   652
williamr@2
   653
Field type: Text. This field may be left as NULL.  */
williamr@2
   654
#define ISP_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
williamr@2
   655
williamr@2
   656
/** Enable IP header compression
williamr@2
   657
williamr@2
   658
Field type: TBool. This field may be left as NULL. */
williamr@2
   659
#define ISP_ENABLE_IP_HEADER_COMP		 				SERVICE_ENABLE_IP_HEADER_COMP
williamr@2
   660
/** Whether to enable LCP extensions.
williamr@2
   661
williamr@2
   662
Field type: TBool. This field may be left as NULL. */
williamr@2
   663
#define ISP_ENABLE_LCP_EXTENSIONS						SERVICE_ENABLE_LCP_EXTENSIONS
williamr@2
   664
/** Disable plain text authentication?
williamr@2
   665
williamr@2
   666
Field type: TBool. This field may be left as NULL. */
williamr@2
   667
#define ISP_DISABLE_PLAIN_TEXT_AUTH						SERVICE_DISABLE_PLAIN_TEXT_AUTH
williamr@2
   668
/** Enable software compression (e.g. Microsoft, STAC or Predictor compression)?
williamr@2
   669
williamr@2
   670
Field type: TBool. This field may be left as NULL. */
williamr@2
   671
#define ISP_ENABLE_SW_COMP								SERVICE_ENABLE_SW_COMP
williamr@2
   672
williamr@2
   673
/** The name of the bearer (RMobileCall::TMobileCallDataProtocol value)
williamr@2
   674
williamr@2
   675
Field type: TUint32. This field may be left as NULL. */
williamr@2
   676
#define ISP_BEARER_NAME									_S("BearerName")					// Bearer Name (for GSM)
williamr@2
   677
/** Connection speed if this is an ISDN, HSCSD or other connection (RMobileCall::TMobileCallDataSpeed 
williamr@2
   678
value).
williamr@2
   679
williamr@2
   680
Field type: TUint32. This field may be left as NULL. */
williamr@2
   681
#define ISP_BEARER_SPEED								_S("BearerSpeed")					// Bearer Speed (for GSM)
williamr@2
   682
/** The bearer CE (RMobileCall::TMobileCallTchCoding value)
williamr@2
   683
williamr@2
   684
Field type: TUint32. This field may be left as NULL. */
williamr@2
   685
#define ISP_BEARER_CE									_S("BearerCE")						// Bearer CE (for GSM)
williamr@2
   686
/** Modem initialization string to be used when this ISP is in use. This string 
williamr@2
   687
will be copied into the MODEM_ISP_INIT_STRING field by RGenericAgent.
williamr@2
   688
williamr@2
   689
Field type: TUint32. This field may be left as NULL. */
williamr@2
   690
#define ISP_INIT_STRING									_S("InitString")					// Init string specific to ISP, to be written into the MODEM_ISP_INIT_STRING by NetDial
williamr@2
   691
williamr@2
   692
/** TCommsDbBearerType value indicating connection type, e.g. Standard GSM, HSCSD.
williamr@2
   693
williamr@2
   694
Field type: TUint32. This field may be left as NULL. */
williamr@2
   695
#define ISP_BEARER_TYPE									_S("BearerType")					// HSCSD or CSD?
williamr@2
   696
/** RMobileCall::TMobileCallTchCoding value specifying HSCSD channel coding.
williamr@2
   697
williamr@2
   698
Field type: TUint32. This field may be left as NULL. */
williamr@2
   699
#define ISP_CHANNEL_CODING								_S("ChannelCoding")					// Channel coding if HSCSD connection
williamr@2
   700
/** RMobileCall::TMobileCallAiur value specifying AIUR for HSCSD.
williamr@2
   701
williamr@2
   702
Field type: TUint32. This field may be left as NULL. */
williamr@2
   703
#define ISP_AIUR										_S("AIUR")							// AIUR is HSCSD connection
williamr@2
   704
/** Requested number of time slots for HSCSD.
williamr@2
   705
williamr@2
   706
Field type: TUint32. This field may be left as NULL. */
williamr@2
   707
#define ISP_REQUESTED_TIME_SLOTS						_S("RequestedTimeSlots")			// Requested time slots if HSCSD connection
williamr@2
   708
/** Maximum number of time slots for HSCSD which could be requested during this 
williamr@2
   709
connection.
williamr@2
   710
williamr@2
   711
Field type: TUint32. This field may be left as NULL. */
williamr@2
   712
#define ISP_MAXIMUM_TIME_SLOTS							_S("MaximumTimeSlots")				// Maximum time slots if HSCSD connection
williamr@2
   713
williamr@2
   714
/** Reserved for future use.
williamr@2
   715
williamr@2
   716
Field type: Text. This field may be left as NULL. */
williamr@2
   717
#define ISP_AUTHENTICATION								_S("Authentication")				// Authentication table/group (dial in only)
williamr@2
   718
williamr@2
   719
/** Enum of type RMobileCall::TMobileCallDataService.
williamr@2
   720
williamr@2
   721
Field type: TUint32. This field may be left as NULL. */
williamr@2
   722
#define ISP_BEARER_SERVICE								_S("BearerService")
williamr@2
   723
/** Enum of type RMobileCall::TMobileCallDataProtocol.
williamr@2
   724
williamr@2
   725
Field type: TUint32. This field may be left as NULL. */
williamr@2
   726
#define ISP_BEARER_PROTOCOL								_S("BearerProtocol")
williamr@2
   727
/** Enum of type RMobileCall::TMobileCallDataRLPVersion.
williamr@2
   728
williamr@2
   729
Field type: TUint32. This field may be left as NULL. */
williamr@2
   730
#define ISP_RLP_VERSION									_S("RlpVersion")
williamr@2
   731
/** Integer specifying network to MS window size.
williamr@2
   732
williamr@2
   733
Field type: TUint32. This field may be left as NULL. */
williamr@2
   734
#define ISP_IWF_TO_MS									_S("IwfToMs")
williamr@2
   735
/** Integer specifying MS to network window size.
williamr@2
   736
williamr@2
   737
Field type: TUint32. This field may be left as NULL. */
williamr@2
   738
#define ISP_MS_TO_IWF									_S("MsToIwf")
williamr@2
   739
/** Integer specifying rlp ack timeout in microseconds.
williamr@2
   740
williamr@2
   741
Field type: TUint32. This field may be left as NULL. */
williamr@2
   742
#define ISP_ACK_TIMER									_S("AckTimer")
williamr@2
   743
/** Integer specifying rlp retransmission attempts.
williamr@2
   744
williamr@2
   745
Field type: TUint32. This field may be left as NULL. */
williamr@2
   746
#define ISP_RETRANSMISSION_ATTEMPTS						_S("RetransmissionAttempts")
williamr@2
   747
/** Integer specifying resequencing period.
williamr@2
   748
williamr@2
   749
Field type: TUint32. This field may be left as NULL. */
williamr@2
   750
#define ISP_RESEQUENCE_PERIOD							_S("ResequencePeriod")
williamr@2
   751
/** Enum of type RMobileCall::TMobileCallDataV42bis.
williamr@2
   752
williamr@2
   753
Field type: TUint32. This field may be left as NULL. */
williamr@2
   754
#define ISP_V42_COMPRESSION								_S("V42Compression")
williamr@2
   755
/** Integer specifying V42bis codewords.
williamr@2
   756
williamr@2
   757
Field type: TUint32. This field may be left as NULL. */
williamr@2
   758
#define ISP_V42_CODEWORDS								_S("V42Codewords")
williamr@2
   759
/** Integer specifying V42bis maximum string length.
williamr@2
   760
williamr@2
   761
Field type: TUint32. This field may be left as NULL. */
williamr@2
   762
#define ISP_V42_MAX_LENGTH								_S("V42MaxLength")
williamr@2
   763
/** Enum of type RMobileCall::TMobileCallAsymmetry for HSCSD.
williamr@2
   764
williamr@2
   765
Field type: TUint32. This field may be left as NULL. */
williamr@2
   766
#define ISP_ASYMMETRY									_S("Asymmetry")
williamr@2
   767
/** HSCSD parameter - user init upgrade?
williamr@2
   768
williamr@2
   769
Field type: TBool. This field may be left as NULL. */
williamr@2
   770
#define ISP_USER_INIT_UPGRADE							_S("UserInitUpgrade")
williamr@2
   771
/** Use edge?
williamr@2
   772
williamr@2
   773
Field type: TBool. This field may be left as NULL. */
williamr@2
   774
#define ISP_USE_EDGE									_S("UseEdge")
williamr@2
   775
williamr@2
   776
					
williamr@2
   777
williamr@2
   778
// Columns for `OUTGOING_WCDMA` and `INCOMING_WCDMA` tables.
williamr@2
   779
// The following macros define values for the outgoing and incoming WCDMA table fields.
williamr@2
   780
// Both tables have the same set of fields.
williamr@2
   781
/** Access point name.
williamr@2
   782
williamr@2
   783
Field type: Text. This field may be left as NULL. */
williamr@2
   784
#define GPRS_APN										_S("APN")
williamr@2
   785
williamr@2
   786
/** PDP (Packet Data Protocol, e.g. IP) type.
williamr@2
   787
williamr@2
   788
Field type: TUint32. This field may not be left as NULL. */
williamr@2
   789
#define GPRS_PDP_TYPE									_S("PDPType")
williamr@2
   790
/** PDP address of the phone.
williamr@2
   791
williamr@2
   792
Field type: Text. This field may be left as NULL. */
williamr@2
   793
#define GPRS_PDP_ADDRESS								_S("PDPAddress")		// Phone IP address
williamr@2
   794
williamr@2
   795
/** Requested quality of service precedence class.
williamr@2
   796
williamr@2
   797
Field type: TUint32 from RPacketQoS::TQoSPrecedence. This field may be left as NULL. */
williamr@2
   798
#define GPRS_REQ_PRECEDENCE								_S("ReqPrecedence")
williamr@2
   799
/** Requested quality of service delay class.
williamr@2
   800
williamr@2
   801
Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
williamr@2
   802
#define GPRS_REQ_DELAY									_S("ReqDelay")
williamr@2
   803
/** Requested quality of service reliability class.
williamr@2
   804
williamr@2
   805
Field type: TUint32 from RPacketQoS::TQoSReliability. This field may be left as NULL.*/
williamr@2
   806
#define GPRS_REQ_RELIABILITY							_S("ReqReliability")
williamr@2
   807
/** Requested quality of service peak throughput.
williamr@2
   808
williamr@2
   809
Field type: TUint32 from RPacketQoS::TQoSPeakThroughput. This field may be left as NULL. */
williamr@2
   810
#define GPRS_REQ_PEAK_THROUGHPUT						_S("ReqPeakThroughput")
williamr@2
   811
/** Requested quality of service mean throughput class.
williamr@2
   812
williamr@2
   813
Field type: TUint32 from RPacketQoS::TQoSMeanThroughput. This field may be left as NULL. */
williamr@2
   814
#define GPRS_REQ_MEAN_THROUGHPUT						_S("ReqMeanThroughput")
williamr@2
   815
williamr@2
   816
/** Minimum quality of service precedence class.
williamr@2
   817
williamr@2
   818
Field type: TUint32 from RPacketQoS::TQoSPrecedence. This field may be left as NULL. */
williamr@2
   819
#define GPRS_MIN_PRECEDENCE								_S("MinPrecedence")
williamr@2
   820
/** Minimum quality of service delay class.
williamr@2
   821
williamr@2
   822
Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
williamr@2
   823
#define GPRS_MIN_DELAY									_S("MinDelay")
williamr@2
   824
/** Minimum quality of service reliability class.
williamr@2
   825
		
williamr@2
   826
Field type: TUint32 from RPacketQoS::TQoSReliability. This field may be left as NULL.*/
williamr@2
   827
#define GPRS_MIN_RELIABILITY							_S("MinReliability")
williamr@2
   828
/** Minimum quality of service peak throughput class.
williamr@2
   829
williamr@2
   830
Field type: TUint32 from RPacketQoS::TQoSMeanThroughput. This field may be left as NULL. */
williamr@2
   831
#define GPRS_MIN_PEAK_THROUGHPUT						_S("MinPeakThroughput")
williamr@2
   832
/** Minimum quality of service mean throughput class.
williamr@2
   833
williamr@2
   834
Field type: TUint32 from RPacketQoS::TQoSMeanThroughput. This field may be left as NULL. */
williamr@2
   835
#define GPRS_MIN_MEAN_THROUGHPUT						_S("MinMeanThroughput")
williamr@2
   836
williamr@2
   837
/** Whether data compression is on.
williamr@2
   838
williamr@2
   839
Field type: TBool. This field may be left as NULL. */
williamr@2
   840
#define GPRS_DATA_COMPRESSION							_S("DataCompression")
williamr@2
   841
/** Whether IP header compression is on.
williamr@2
   842
williamr@2
   843
Field type: TBool. This field may be left as NULL. */
williamr@2
   844
#define GPRS_HEADER_COMPRESSION							_S("HeaderCompression")
williamr@2
   845
williamr@2
   846
/** Whether data compression is on and what type of compression should be used when using UMTS R5
williamr@2
   847
Field type: TDataCompression. This field may be left as NULL. */
williamr@2
   848
#define GPRS_R5_DATA_COMPRESSION						_S("R5DataCompression")
williamr@2
   849
williamr@2
   850
/** Whether IP header compression is on and what type of compression should be used when using UMTS R5
williamr@2
   851
Field type: THeaderCompression. This field may be left as NULL. */
williamr@2
   852
#define GPRS_R5_HEADER_COMPRESSION						_S("R5HeaderCompression")
williamr@2
   853
williamr@2
   854
/** Packet flow indicator - See table 10.5.161 of TS 24.008
williamr@2
   855
Field type: TPacketFlowIdentifier. This field may be left as NULL. */
williamr@2
   856
#define GPRS_R4_PACKET_FLOW_IDENTIFIER                  _S("PacketFlowIdentifier")
williamr@2
   857
williamr@2
   858
/** Identifies the current UMTS/GPRS release in use.
williamr@2
   859
Field type: TUmtsGprsRelease. This field may be left as NULL. */
williamr@2
   860
#define GPRS_UMTS_GPRS_RELEASE                          _S("UmtsGprsRelease")
williamr@2
   861
williamr@2
   862
/** Whether use of anonymous access is on.
williamr@2
   863
williamr@2
   864
Field type: TBool. This field may be left as NULL. */
williamr@2
   865
#define GPRS_ANONYMOUS_ACCESS							_S("AnonymousAccess")
williamr@2
   866
williamr@2
   867
/** Use edge?
williamr@2
   868
williamr@2
   869
Field type: TBool. This field may be left as NULL. */
williamr@2
   870
#define GPRS_USE_EDGE									_S("GprsUseEdge")
williamr@2
   871
williamr@2
   872
//#define GPRS_IF_NAME									SERVICE_IF_NAME
williamr@2
   873
/** Interface parameter string.
williamr@2
   874
williamr@2
   875
Field type: Text. This field may be left as NULL. */
williamr@2
   876
#define GPRS_IF_PARAMS									SERVICE_IF_PARAMS
williamr@2
   877
/** Comma separated list of network protocols, e.g. "PPP".
williamr@2
   878
williamr@2
   879
Field type: Text. This field may be left as NULL. */
williamr@2
   880
#define GPRS_IF_NETWORKS								SERVICE_IF_NETWORKS
williamr@2
   881
/** Whether to prompt user for authentication username and password.
williamr@2
   882
williamr@2
   883
Field type: TBool. This field may not be left as NULL. */
williamr@2
   884
#define GPRS_IF_PROMPT_FOR_AUTH							SERVICE_IF_PROMPT_FOR_AUTH
williamr@2
   885
/** Authentication username used by PPP.
williamr@2
   886
williamr@2
   887
Field type: Text. This field may be left as NULL. */
williamr@2
   888
#define GPRS_IF_AUTH_NAME								SERVICE_IF_AUTH_NAME
williamr@2
   889
/** Authentication password used by PPP.
williamr@2
   890
williamr@2
   891
Field type: Text. This field may be left as NULL. */
williamr@2
   892
#define GPRS_IF_AUTH_PASS								SERVICE_IF_AUTH_PASS
williamr@2
   893
/** Number of times to retry authentication if it fails.
williamr@2
   894
williamr@2
   895
Field type: TUint32. This field may be left as NULL. */
williamr@2
   896
#define GPRS_IF_AUTH_RETRIES							SERVICE_IF_AUTH_RETRIES
williamr@2
   897
williamr@2
   898
/** IP net mask of interface.
williamr@2
   899
williamr@2
   900
Field type: Text. This field may be left as NULL. */
williamr@2
   901
#define GPRS_IP_NETMASK									SERVICE_IP_NETMASK
williamr@2
   902
/** IP address of the gateway.
williamr@2
   903
williamr@2
   904
Field type: Text. This field may be left as NULL. */
williamr@2
   905
#define GPRS_IP_GATEWAY									SERVICE_IP_GATEWAY
williamr@2
   906
/** Whether to get IP addresses (for the Symbian phone) from the server.
williamr@2
   907
williamr@2
   908
Field type: TBool. This field may not be left as NULL. */
williamr@2
   909
#define GPRS_IP_ADDR_FROM_SERVER						SERVICE_IP_ADDR_FROM_SERVER
williamr@2
   910
/** IP address of the Symbian phone
williamr@2
   911
williamr@2
   912
Field type: Text. This field may be left as NULL. */
williamr@2
   913
#define GPRS_IP_ADDR									SERVICE_IP_ADDR						// EPOC IP address
williamr@2
   914
/** Whether to get DNS addresses from the server.
williamr@2
   915
williamr@2
   916
Field type: TBool. This field may not be left as NULL. */
williamr@2
   917
#define GPRS_IP_DNS_ADDR_FROM_SERVER					SERVICE_IP_DNS_ADDR_FROM_SERVER
williamr@2
   918
/** IP address of the primary name server.
williamr@2
   919
williamr@2
   920
Field type: Text. This field may be left as NULL. */
williamr@2
   921
#define GPRS_IP_NAME_SERVER1							SERVICE_IP_NAME_SERVER1
williamr@2
   922
/** IP address of the secondary name server.
williamr@2
   923
williamr@2
   924
Field type: Text. This field may be left as NULL. */
williamr@2
   925
#define GPRS_IP_NAME_SERVER2							SERVICE_IP_NAME_SERVER2
williamr@2
   926
williamr@2
   927
#define GPRS_IP6_DNS_ADDR_FROM_SERVER					SERVICE_IP6_DNS_ADDR_FROM_SERVER
williamr@2
   928
#define GPRS_IP6_NAME_SERVER1							SERVICE_IP6_NAME_SERVER1
williamr@2
   929
#define GPRS_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
williamr@2
   930
williamr@2
   931
#define GPRS_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
williamr@2
   932
#define GPRS_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
williamr@2
   933
williamr@2
   934
/** Name of the ECOM configuration daemon manager component. 
williamr@2
   935
This component interfaces with the server identified in GPRS_CONFIG_DAEMON_NAME.
williamr@2
   936
If specified, GPRS_CONFIG_DAEMON_NAME should also be specified.
williamr@2
   937
williamr@2
   938
Field type: Text. This field may be left as NULL.  */
williamr@2
   939
#define GPRS_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
williamr@2
   940
/** Name of the configuration daemon server. This server is used to 
williamr@2
   941
provide further configuration for a connection, e.g. dynamic IP 
williamr@2
   942
address assignment. If specified, GPRS_CONFIG_DAEMON_MANAGER_NAME 
williamr@2
   943
should also be specified.
williamr@2
   944
williamr@2
   945
Field type: Text. This field may be left as NULL.  */
williamr@2
   946
#define GPRS_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
williamr@2
   947
williamr@2
   948
/** Whether to enable LCP extensions.
williamr@2
   949
williamr@2
   950
Field type: TBool. This field may be left as NULL. */
williamr@2
   951
#define GPRS_ENABLE_LCP_EXTENSIONS						SERVICE_ENABLE_LCP_EXTENSIONS
williamr@2
   952
/** Whether to disable plain text authentication.
williamr@2
   953
williamr@2
   954
Field type: TBool. This field may be left as NULL. */
williamr@2
   955
#define GPRS_DISABLE_PLAIN_TEXT_AUTH					SERVICE_DISABLE_PLAIN_TEXT_AUTH
williamr@2
   956
williamr@2
   957
/** Service supports Internet only, WAP only or both.
williamr@2
   958
williamr@2
   959
Field type: TUint32. This field may be left as NULL. */
williamr@2
   960
#define	GPRS_AP_TYPE									_S("GprsAccessPointType")
williamr@2
   961
williamr@2
   962
/** If the requested QOS can not be satisfied warn the user after this time in microseconds. 
williamr@2
   963
Set to 0xffffffff to disable.
williamr@2
   964
williamr@2
   965
Field type: TUint32. This field may be left as NULL. */
williamr@2
   966
#define GPRS_QOS_WARNING_TIMEOUT						_S("QosWarningTimeout")
williamr@2
   967
williamr@2
   968
williamr@2
   969
/**
williamr@2
   970
Link to the Gprs R99 Parameters Table
williamr@2
   971
Field type: TUint32. This field may be left as NULL
williamr@2
   972
*/
williamr@2
   973
#define QOS_UMTS_R99_AND_ON_TABLE 						_S("UmtsR99QoSAndOn")
williamr@2
   974
williamr@2
   975
// 
williamr@2
   976
// Columns of the `QOS R99 Parameters` Table.
williamr@2
   977
// 
williamr@2
   978
#define GPRS_QOS_REQ_TRAFFIC_CLASS              _S("ReqTrafficClass")
williamr@2
   979
#define GPRS_QOS_MIN_TRAFFIC_CLASS              _S("MinTrafficClass")
williamr@2
   980
#define GPRS_QOS_REQ_DELIVERY_ORDER	            _S("ReqDeliveryOrder")
williamr@2
   981
#define GPRS_QOS_MIN_DELIVERY_ORDER	            _S("MinDeliveryOrder")
williamr@2
   982
#define GPRS_QOS_REQ_DELIVER_ERRONEOUS_SDU      _S("ReqDeliverErroneousSDU")
williamr@2
   983
#define GPRS_QOS_MIN_DELIVER_ERRONEOUS_SDU      _S("MinDeliverErroneousSDU")
williamr@2
   984
#define GPRS_QOS_REQ_MAX_SDUSIZE                _S("ReqMaxSDUSize")
williamr@2
   985
#define GPRS_QOS_MIN_ACCEPTABLE_MAX_SDU_SIZE    _S("MinAcceptableMaxSDUSize")
williamr@2
   986
#define GPRS_QOS_REQ_MAX_UPLINK_RATE            _S("ReqMaxUplinkRate")
williamr@2
   987
#define GPRS_QOS_REQ_MIN_UPLINK_RATE            _S("ReqMinUplinkRate")
williamr@2
   988
#define GPRS_QOS_REQ_MAX_DOWNLINK_RATE          _S("ReqMaxDownlinkRate")
williamr@2
   989
#define GPRS_QOS_REQ_MIN_DOWNLINK_RATE          _S("ReqMinDownlinkRate")
williamr@2
   990
#define GPRS_QOS_REQ_BER                        _S("ReqBER")
williamr@2
   991
#define GPRS_QOS_MAX_BER                        _S("MaxBER")
williamr@2
   992
#define GPRS_QOS_REQ_SDU_ERROR_RATIO            _S("ReqSDUErrorRatio")
williamr@2
   993
#define GPRS_QOS_MAX_SDU_ERROR_RATIO            _S("MaxSDUErrorRatio")
williamr@2
   994
#define GPRS_QOS_REQ_TRAFFIC_HANDLING_PRIORITY  _S("ReqTrafficHandlingPriority")
williamr@2
   995
#define GPRS_QOS_MIN_TRAFFIC_HANDLING_PRIORITY  _S("MinTrafficHandlingPriority")
williamr@2
   996
#define GPRS_QOS_REQ_TRANSFER_DELAY             _S("ReqTransferDelay")
williamr@2
   997
#define GPRS_QOS_MAX_TRANSFER_DELAY             _S("MaxTransferDelay")
williamr@2
   998
#define GPRS_QOS_REQ_GUARANTEED_UPLINK_RATE     _S("ReqGuaranteedUplinkRate")
williamr@2
   999
#define GPRS_QOS_MIN_GUARANTEED_UPLINK_RATE     _S("MinGuaranteedUplinkRat")
williamr@2
  1000
#define GPRS_QOS_REQ_GUARANTEED_DOWNLINK_RATE   _S("ReqGuaranteedDownlinkRate")
williamr@2
  1001
#define GPRS_QOS_MIN_GUARANTEED_DOWNLINK_RATE   _S("MinGuaranteedDownlinkRate")
williamr@2
  1002
#define GPRS_QOS_SIGNALLING_INDICATION          _S("SignallingIndication")
williamr@2
  1003
#define GPRS_QOS_IM_CN_SIGNALLING_INDICATOR     _S("IMCNSignallingIndication")
williamr@2
  1004
#define GPRS_QOS_SOURCE_STATISTICS_DESCRIPTOR   _S("SourceStatisticsDescriptor")
williamr@2
  1005
williamr@2
  1006
williamr@2
  1007
// 
williamr@2
  1008
// Columns of the `LAN_SERVICE` Table.
williamr@2
  1009
// 
williamr@2
  1010
#define LAN_IF_NETWORKS									SERVICE_IF_NETWORKS
williamr@2
  1011
#define LAN_IP_NETMASK									SERVICE_IP_NETMASK
williamr@2
  1012
#define LAN_IP_GATEWAY									SERVICE_IP_GATEWAY
williamr@2
  1013
#define LAN_IP_ADDR_FROM_SERVER							SERVICE_IP_ADDR_FROM_SERVER
williamr@2
  1014
#define LAN_IP_ADDR										SERVICE_IP_ADDR
williamr@2
  1015
#define LAN_IP_DNS_ADDR_FROM_SERVER						SERVICE_IP_DNS_ADDR_FROM_SERVER
williamr@2
  1016
#define LAN_IP_NAME_SERVER1								SERVICE_IP_NAME_SERVER1
williamr@2
  1017
#define LAN_IP_NAME_SERVER2								SERVICE_IP_NAME_SERVER2
williamr@2
  1018
#define LAN_IP6_DNS_ADDR_FROM_SERVER					SERVICE_IP6_DNS_ADDR_FROM_SERVER
williamr@2
  1019
#define LAN_IP6_NAME_SERVER1							SERVICE_IP6_NAME_SERVER1
williamr@2
  1020
#define LAN_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
williamr@2
  1021
williamr@2
  1022
#define LAN_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
williamr@2
  1023
#define LAN_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
williamr@2
  1024
#define LAN_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
williamr@2
  1025
#define LAN_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME		
williamr@2
  1026
williamr@2
  1027
/** used when Bluetooth PAN profile or WLAN is in use */
williamr@2
  1028
#define LAN_SERVICE_EXTENSION_TABLE_NAME				_S("LanServiceExtensionTableName")	
williamr@2
  1029
#define LAN_SERVICE_EXTENSION_TABLE_RECORD_ID			_S("LanServiceExtensionTableRecordId")
williamr@2
  1030
williamr@2
  1031
// 
williamr@2
  1032
// Columns of the `PAN_SERVICE_EXTENSION` Table.
williamr@2
  1033
// 
williamr@2
  1034
williamr@2
  1035
/** PAN role that the local device will act in. To dynamically select a role, use ECommDbPanRoleUnknown.
williamr@2
  1036
Field type: TCommDbBluetoothPanRole.*/
williamr@2
  1037
#define PAN_LOCAL_ROLE									_S("LocalRole")
williamr@2
  1038
/** PAN role that the remote device will act in. To dynamically select a role, use ECommDbPanRoleUnknown.
williamr@2
  1039
Field type: TCommDbBluetoothPanRole.*/
williamr@2
  1040
#define PAN_PEER_ROLE									_S("PeerRole")
williamr@2
  1041
/** A list of Bluetooth MAC addresses.  If one address is specified, then PAN agent will connect to it.  If more than one device address is specified (in a comma seperated list), then PAN agent will discover whether any of the devices are in range, and connect to one of them.
williamr@2
  1042
Field type: Comma-separated list of Bluetooth MAC addresses, with no "0x" preamble and no colons separating the digits*/
williamr@2
  1043
#define PAN_PEER_MAC_ADDRESSES							_S("PeerMACAddresses")
williamr@2
  1044
/** Whether the agent should prompt the user to select the remote devices to which we will connect.
williamr@2
  1045
Field type: TBool*/
williamr@2
  1046
#define PAN_PROMPT_FOR_REMOTE_DEVICES					_S("PromptForRemoteDevices")
williamr@2
  1047
/** Whether the remote role defined above should be accepted without performing an SDP query to ensure the remote device supports the specified role.  Not recommended for use.
williamr@2
  1048
Field type: TBool*/
williamr@2
  1049
#define PAN_DISABLE_SDP_QUERY							_S("DisableSdpQuery")
williamr@2
  1050
/** Whether the PAN agent should support incoming connections.
williamr@2
  1051
Field type: TBool*/
williamr@2
  1052
#define PAN_ALLOW_INCOMING								_S("AllowIncomingConnections")
williamr@2
  1053
/** Whether the agent should prompt the user to select the remote device to which we will connect if we cannot connect to any device specified in the MAC list.
williamr@2
  1054
Field type: TBool*/
williamr@2
  1055
#define PAN_PROMPT_IF_MAC_LIST_FAILS					_S("PromptIfMACListFails")
williamr@2
  1056
#ifdef SYMBIAN_NETWORKING_DHCPSERVER
williamr@2
  1057
/** Whether the device is enabled for NAP service (to be used as a modem) for a particular connection
williamr@2
  1058
Field type: TBool
williamr@2
  1059
*/
williamr@2
  1060
#define PAN_NAP_SERVICE_ENABLED							_S("NapServiceEnabled")
williamr@2
  1061
#endif // SYMBIAN_NETWORKING_DHCPSERVER
williamr@2
  1062
williamr@2
  1063
/** Columns of all bearer tables */
williamr@2
  1064
#define AGENT_NAME								_S("Agent")
williamr@2
  1065
#define LAST_SOCKET_ACTIVITY_TIMEOUT				_S("LastSocketActivityTimeout")
williamr@2
  1066
#define LAST_SESSION_CLOSED_TIMEOUT				_S("LastSessionClosedTimeout")
williamr@2
  1067
#define LAST_SOCKET_CLOSED_TIMEOUT				_S("LastSocketClosedTimeout")
williamr@2
  1068
williamr@2
  1069
// Columns of the `MODEM BEARER` table.
williamr@2
  1070
// The following macros define values for the Modem Bearer table fields.
williamr@2
  1071
// Note that in v7.0s, this table changed its name from MODEM to MODEM_BEARER.
williamr@2
  1072
// In v6.1 there can be only a single record in this table.
williamr@2
  1073
/** Agent identifier.
williamr@2
  1074
williamr@2
  1075
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1076
#define MODEM_AGENT										AGENT_NAME
williamr@2
  1077
/** NIF name.
williamr@2
  1078
williamr@2
  1079
Field type: Text. This field may be left as NULL. */
williamr@2
  1080
#define MODEM_NIF_NAME									IF_NAME
williamr@2
  1081
/** BCA (Baseband Channel Adaptor) Stack.
williamr@2
  1082
williamr@2
  1083
Field type: Text. This field may be left as NULL. */
williamr@2
  1084
#define MODEM_BCA_STACK		    						BCA_STACK
williamr@2
  1085
/** Comm port name.
williamr@2
  1086
williamr@2
  1087
Field type: Text. This field may be left as NULL. */
williamr@2
  1088
#define MODEM_PORT_NAME									_S("PortName")
williamr@2
  1089
/** The modem control channel port name.
williamr@2
  1090
williamr@2
  1091
Field type: Text. This field may be left as NULL. */
williamr@2
  1092
#define MODEM_CONTROL_CHANNEL_PORT_NAME					_S("ControlChannelPortName")
williamr@2
  1093
/** TSY name.
williamr@2
  1094
williamr@2
  1095
Field type: Text. This field may be left as NULL. */
williamr@2
  1096
#define MODEM_TSY_NAME									_S("TSYName")
williamr@2
  1097
/** CSY name.
williamr@2
  1098
williamr@2
  1099
Field type: Text. This field may be left as NULL. */
williamr@2
  1100
#define MODEM_CSY_NAME									_S("CSYName")
williamr@2
  1101
/** Data bits (TDataBits value).
williamr@2
  1102
williamr@2
  1103
Field type: TUint8. This field may not be left as NULL. */
williamr@2
  1104
#define	MODEM_DATA_BITS									_S("DataBits")						// Data Bits to use for ISP or Modem
williamr@2
  1105
/** Stop bits.
williamr@2
  1106
williamr@2
  1107
This is a TStopBits value.
williamr@2
  1108
williamr@2
  1109
Field type: TUint8. This field may not be left as NULL. */
williamr@2
  1110
#define	MODEM_STOP_BITS									_S("StopBits")						// Stop Bits to use for ISP or Modem
williamr@2
  1111
/** Parity.
williamr@2
  1112
williamr@2
  1113
This is a TParity value.
williamr@2
  1114
williamr@2
  1115
Field type: TUint8. This field may not be left as NULL. */
williamr@2
  1116
#define	MODEM_PARITY									_S("Parity")						// Parity Type to use for ISP or Modem
williamr@2
  1117
/** Baud rate.
williamr@2
  1118
williamr@2
  1119
This is a TBps value.
williamr@2
  1120
williamr@2
  1121
Field type: TUint32. This field may not be left as NULL. */
williamr@2
  1122
#define MODEM_RATE										_S("Rate")
williamr@2
  1123
/** Handshaking.
williamr@2
  1124
williamr@2
  1125
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1126
#define MODEM_HANDSHAKING								_S("Handshaking")
williamr@2
  1127
/** Special rate.
williamr@2
  1128
williamr@2
  1129
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1130
#define MODEM_SPECIAL_RATE								_S("SpecialRate")
williamr@2
  1131
/** Xon character.
williamr@2
  1132
williamr@2
  1133
Field type: TUint8. This field may be left as NULL. */
williamr@2
  1134
#define MODEM_XON_CHAR									_S("XonChar")
williamr@2
  1135
/** Xoff Character.
williamr@2
  1136
williamr@2
  1137
Field type: TUint8. This field may be left as NULL. */
williamr@2
  1138
#define MODEM_XOFF_CHAR									_S("XoffChar")
williamr@2
  1139
williamr@2
  1140
/** Preferred fax class.
williamr@2
  1141
williamr@2
  1142
This is a TFaxClass value.
williamr@2
  1143
williamr@2
  1144
Field type: TUint8. This field may not be left as NULL. */
williamr@2
  1145
#define MODEM_FAX_CLASS_PREF							_S("FaxClassPref")
williamr@2
  1146
/** Preferred speaker mode.
williamr@2
  1147
williamr@2
  1148
This is a TCommsDbModemSpeakerSetting value.
williamr@2
  1149
williamr@2
  1150
Field type: TUint8. This field may not be left as NULL. */
williamr@2
  1151
#define MODEM_SPEAKER_PREF								_S("SpeakerPref")
williamr@2
  1152
/** Preferred speaker volume.
williamr@2
  1153
williamr@2
  1154
This is a TCommsDbModemSpeakerVolume value.
williamr@2
  1155
williamr@2
  1156
Field type: TUint8. This field may not be left as NULL. */
williamr@2
  1157
#define MODEM_SPEAKER_VOL_PREF							_S("SpeakerVolPref")
williamr@2
  1158
williamr@2
  1159
/** General modem initialisation string
williamr@2
  1160
williamr@2
  1161
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1162
#define MODEM_MODEM_INIT_STRING							_S("ModemInitString")
williamr@2
  1163
/** Data initialisation string
williamr@2
  1164
williamr@2
  1165
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1166
#define MODEM_DATA_INIT_STRING							_S("DataInitString")
williamr@2
  1167
/** Fax initialisation string.
williamr@2
  1168
williamr@2
  1169
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1170
#define MODEM_FAX_INIT_STRING							_S("FaxInitString")
williamr@2
  1171
/** ISP Initialisation string. This field is written from the ISP_INIT_STRING.  Should not be accessed by user.
williamr@2
  1172
williamr@2
  1173
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1174
#define MODEM_ISP_INIT_STRING							_S("IspInitString")				// To be written by NetDial from ISP_INIT_STRING.  
williamr@2
  1175
williamr@2
  1176
/** Command to modify the pause created during dialling using the comma character 
williamr@2
  1177
(',')
williamr@2
  1178
williamr@2
  1179
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1180
#define MODEM_DIAL_PAUSE_LENGTH							_S("DialPauseLength")
williamr@2
  1181
/** Command to set the time out the modem uses when establishing a link before 
williamr@2
  1182
giving up and returning to command mode.
williamr@2
  1183
williamr@2
  1184
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1185
#define MODEM_CARRIER_TIMEOUT							_S("CarrierTimeout")
williamr@2
  1186
/** Command to set the number of rings before the modem auto answers.
williamr@2
  1187
williamr@2
  1188
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1189
#define MODEM_AUTO_ANSWER_RING_COUNT					_S("AutoAnswerRingCount")
williamr@2
  1190
/** Command to set the modem speaker volume to low.
williamr@2
  1191
williamr@2
  1192
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1193
// This field is left misspelled to preserve backward compatibility
williamr@2
  1194
#define MODEM_SPEAKER_VOL_CONTROL_LOW					_S("SpeakerVolContorlLow")
williamr@2
  1195
/** Command to set the modem speaker volume to medium.
williamr@2
  1196
williamr@2
  1197
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1198
#define MODEM_SPEAKER_VOL_CONTROL_MEDIUM				_S("SpeakerVolControlMedium")
williamr@2
  1199
/** Command to set the modem speaker volume to high.
williamr@2
  1200
williamr@2
  1201
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1202
#define MODEM_SPEAKER_VOL_CONTROL_HIGH					_S("SpeakerVolControlHigh")
williamr@2
  1203
/** Command to set the modem speaker off.
williamr@2
  1204
williamr@2
  1205
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1206
#define MODEM_SPEAKER_ALWAYS_OFF						_S("SpeakerAlwaysOff")
williamr@2
  1207
/** Command to set the modem speaker on until the carrier.
williamr@2
  1208
williamr@2
  1209
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1210
#define MODEM_SPEAKER_ON_UNTIL_CARRIER					_S("SpeakerOnUntilCarrier")
williamr@2
  1211
/** Command to set the modem speaker on
williamr@2
  1212
williamr@2
  1213
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1214
#define MODEM_SPEAKER_ALWAYS_ON							_S("SpeakerAlwaysOn")
williamr@2
  1215
/** Command to set the modem speaker on except during dialling.
williamr@2
  1216
williamr@2
  1217
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1218
#define MODEM_SPEAKER_ON_AFTER_DIAL_UNTIL_CARRIER		_S("SpeakerOnAfterUntilCarrier")
williamr@2
  1219
/** The dial command modifier to wait for dial tone.
williamr@2
  1220
williamr@2
  1221
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1222
#define MODEM_DIAL_TONE_WAIT_MODIFIER					_S("DialToneWaitModifier")
williamr@2
  1223
/** Disable busy and dial tone detection.
williamr@2
  1224
williamr@2
  1225
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1226
#define MODEM_CALL_PROGRESS_1							_S("CallProgress1")					// Dialtone & busy detection disabled, result codes 0-5,10
williamr@2
  1227
/** Dial tone detection enabled, busy detection disabled.
williamr@2
  1228
williamr@2
  1229
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1230
#define MODEM_CALL_PROGRESS_2							_S("CallProgress2")					// Dialtone detection enabled & busy detection disabled, result codes 0-6,10
williamr@2
  1231
/** Dial tone detection disabled, busy detection enabled.
williamr@2
  1232
williamr@2
  1233
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1234
#define MODEM_CALL_PROGRESS_3							_S("CallProgress3")					// Dialtone detection disabled , but busy detection enabled, result codes 0-5,7,10
williamr@2
  1235
/** Dial tone and busy detection enabled.
williamr@2
  1236
williamr@2
  1237
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1238
#define MODEM_CALL_PROGRESS_4							_S("CallProgress4")					// Dialtone detection & busy detection enabled, result codes 0-7,10
williamr@2
  1239
/** Switch echo mode off.
williamr@2
  1240
williamr@2
  1241
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1242
#define MODEM_ECHO_OFF									_S("EchoOff")
williamr@2
  1243
/** Switch verbose mode on.
williamr@2
  1244
williamr@2
  1245
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1246
#define MODEM_VERBOSE_TEXT								_S("VerboseText")
williamr@2
  1247
/** Switch quiet mode on.
williamr@2
  1248
williamr@2
  1249
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1250
#define MODEM_QUIET_ON									_S("QuietOn")
williamr@2
  1251
/** Switch quiet mode off.
williamr@2
  1252
williamr@2
  1253
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1254
#define MODEM_QUIET_OFF									_S("QuietOff")
williamr@2
  1255
/** Dial command modifier to return to command mode after dialling.
williamr@2
  1256
williamr@2
  1257
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1258
#define MODEM_DIAL_COMMAND_STATE_MODIFIER				_S("DialCommandStateModifier")
williamr@2
  1259
/** Enter on-line mode from on-line command mode.
williamr@2
  1260
williamr@2
  1261
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1262
#define MODEM_ON_LINE									_S("OnLine")
williamr@2
  1263
/** Reset the modem configuration.
williamr@2
  1264
williamr@2
  1265
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1266
#define MODEM_RESET_CONFIGURATION						_S("ResetConfiguration")
williamr@2
  1267
/** Return the modem configuration to its factory defaults.
williamr@2
  1268
williamr@2
  1269
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1270
#define MODEM_RETURN_TO_FACTORY_DEFS					_S("ReturnToFactoryDefs")
williamr@2
  1271
/** Command the modem to only assert DCD when a carrier is actually detected, i.e. 
williamr@2
  1272
while the link is up.
williamr@2
  1273
williamr@2
  1274
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1275
#define MODEM_DCD_ON_DURING_LINK						_S("DCDOnDuringLink")
williamr@2
  1276
/** Command the modem to hang up the current call when the DTE drops the DTR line.
williamr@2
  1277
williamr@2
  1278
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1279
#define MODEM_DTR_HANG_UP								_S("DTRHangUp")
williamr@2
  1280
/** Command the modem to always assert DSR.
williamr@2
  1281
williamr@2
  1282
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1283
#define MODEM_DSR_ALWAYS_ON								_S("DSRAlwaysOn")
williamr@2
  1284
/** Command the modem to use RTS/CTS flow control.
williamr@2
  1285
williamr@2
  1286
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1287
#define MODEM_RTS_CTS_HANDSHAKE							_S("RTSCTSHandshake")
williamr@2
  1288
/** Command the modem to use software flow control.
williamr@2
  1289
williamr@2
  1290
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1291
#define MODEM_XON_XOFF_HANDSHAKE						_S("XonXoffHandshake")
williamr@2
  1292
/** The character used by the DTE to return to command mode from on-line mode.
williamr@2
  1293
williamr@2
  1294
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1295
#define MODEM_ESCAPE_CHARACTER							_S("EscapeCharacter")
williamr@2
  1296
/** Command the modem to use a particular escape sequence guard period.
williamr@2
  1297
williamr@2
  1298
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1299
#define MODEM_ESCAPE_GUARD_PERIOD						_S("EscapeGuardPeriod")
williamr@2
  1300
/** Ask the modem which fax modes are supported.
williamr@2
  1301
williamr@2
  1302
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1303
#define MODEM_FAX_CLASS_INTERROGATE						_S("FaxClassInterrogate")
williamr@2
  1304
/** Set the fax mode.
williamr@2
  1305
williamr@2
  1306
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1307
#define MODEM_FAX_CLASS									_S("FaxClass")
williamr@2
  1308
williamr@2
  1309
/** Modem response when no dial tone is detected.
williamr@2
  1310
williamr@2
  1311
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1312
#define MODEM_NO_DIAL_TONE								_S("NoDialTone")
williamr@2
  1313
/** Modem response when a busy tone is detected.
williamr@2
  1314
williamr@2
  1315
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1316
#define MODEM_BUSY										_S("Busy")
williamr@2
  1317
/** Modem response when no answer is detected.
williamr@2
  1318
williamr@2
  1319
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1320
#define MODEM_NO_ANSWER									_S("NoAnswer")
williamr@2
  1321
/** Carrier report message.
williamr@2
  1322
williamr@2
  1323
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1324
#define MODEM_CARRIER									_S("Carrier")
williamr@2
  1325
/** Connection report message.
williamr@2
  1326
williamr@2
  1327
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1328
#define MODEM_CONNECT									_S("Connect")
williamr@2
  1329
/** Compression Class 5 report message.
williamr@2
  1330
williamr@2
  1331
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1332
#define MODEM_COMPRESSION_CLASS_5						_S("CompressionClass5")
williamr@2
  1333
/** Compression V.42 bis report message.
williamr@2
  1334
williamr@2
  1335
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1336
#define MODEM_COMPRESSION_V42BIS						_S("CompressionV42bis")
williamr@2
  1337
/** No compression report message.
williamr@2
  1338
williamr@2
  1339
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1340
#define MODEM_COMPRESSION_NONE							_S("CompressionNone")
williamr@2
  1341
/** LAPD protocol report message.
williamr@2
  1342
williamr@2
  1343
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1344
#define MODEM_PROTOCOL_LAPD								_S("ProtocolLAPD")
williamr@2
  1345
/** ALT protocol report message.
williamr@2
  1346
williamr@2
  1347
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1348
#define MODEM_PROTOCOL_ALT								_S("ProtocolALT")
williamr@2
  1349
/** ALT-CELLULAR report message.
williamr@2
  1350
williamr@2
  1351
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1352
#define MODEM_PROTOCOL_ALTCELLULAR						_S("ProtocolALTCELLULAR")
williamr@2
  1353
/** No protocol report message.
williamr@2
  1354
williamr@2
  1355
Field type: 8-Bit Text. This field may be left as NULL. */
williamr@2
  1356
#define MODEM_PROTOCOL_NONE								_S("ProtocolNone")
williamr@2
  1357
williamr@2
  1358
/** Phone number of message centre.
williamr@2
  1359
williamr@2
  1360
Field type: TUint16. This field may be left as NULL. */
williamr@2
  1361
#define MODEM_MESSAGE_CENTRE_NUMBER						_S("MessageCentreNumber")
williamr@2
  1362
/** Validity period for SMS in minutes.
williamr@2
  1363
williamr@2
  1364
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1365
#define MODEM_MESSAGE_VALIDITY_PERIOD					_S("MessageValidityPeriod")
williamr@2
  1366
/** Whether to produce an SMS delivery report.
williamr@2
  1367
williamr@2
  1368
Field type: TBool. This field may be left as NULL. */
williamr@2
  1369
#define MODEM_MESSAGE_DELIVERY_REPORT					_S("MessageDeliveryReport")
williamr@2
  1370
/** Minimum signal level.
williamr@2
  1371
williamr@2
  1372
Field type: TUint32. This field may not be left as NULL. */
williamr@2
  1373
#define MODEM_MIN_SIGNAL_LEVEL							_S("MinimumSignalLevel")
williamr@2
  1374
/** SIR settings.
williamr@2
  1375
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1376
#define MODEM_SIR_SETTINGS								_S("SIRSettings")
williamr@2
  1377
williamr@2
  1378
/** Whether comm port should be opened in the role of DTE or DCE
williamr@2
  1379
Contents is a bit mask (see KModemCommRoleDCE)
williamr@2
  1380
williamr@2
  1381
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1382
#define MODEM_COMM_ROLE									_S("CommRole")
williamr@2
  1383
williamr@2
  1384
/*Field type: TUint32. This field may be left as NULL. This is a TCommsDbBearerType value. */
williamr@2
  1385
#define BEARER_TECHNOLOGY								_S("BearerTechnology")
williamr@2
  1386
williamr@2
  1387
// Columns of the 'LAN Bearer' table 
williamr@2
  1388
#define LAN_BEARER_AGENT								AGENT_NAME
williamr@2
  1389
#define LAN_BEARER_NIF_NAME								IF_NAME
williamr@2
  1390
#define LAN_BEARER_LDD_FILENAME							_S("LDDFilename")
williamr@2
  1391
#define LAN_BEARER_LDD_NAME								_S("LDDName")
williamr@2
  1392
#define LAN_BEARER_PDD_FILENAME							_S("PDDFilename")
williamr@2
  1393
#define LAN_BEARER_PDD_NAME								_S("PDDName")
williamr@2
  1394
#define LAN_BEARER_PACKET_DRIVER_NAME					_S("PacketDriverName")
williamr@2
  1395
williamr@2
  1396
// Columns of the `LOCATION` table.
williamr@2
  1397
// The following macros define values for the Location table fields.
williamr@2
  1398
// Note that in v6.1 there can be only a single record in this table.
williamr@2
  1399
/** International prefix code.
williamr@2
  1400
williamr@2
  1401
Field type: Text. This field may be left as NULL. */
williamr@2
  1402
#define LOCATION_INTL_PREFIX_CODE						_S("IntlPrefixCode")
williamr@2
  1403
/** National prefix code.
williamr@2
  1404
williamr@2
  1405
Field type: Text. This field may be left as NULL. */
williamr@2
  1406
#define LOCATION_NAT_PREFIX_CODE						_S("NatPrefixCode")
williamr@2
  1407
/** National code.
williamr@2
  1408
williamr@2
  1409
Field type: Text. This field may be left as NULL. */
williamr@2
  1410
#define LOCATION_NAT_CODE								_S("NatCode")
williamr@2
  1411
/** Area code.
williamr@2
  1412
williamr@2
  1413
Field type: Text. This field may be left as NULL. */
williamr@2
  1414
#define LOCATION_AREA_CODE								_S("AreaCode")
williamr@2
  1415
/** Number to dial for an outside line.
williamr@2
  1416
williamr@2
  1417
Field type: Text. This field may be left as NULL. */
williamr@2
  1418
#define LOCATION_DIAL_OUT_CODE							_S("DialOutCode")
williamr@2
  1419
/** Code to dial to disable call waiting facility.
williamr@2
  1420
williamr@2
  1421
Field type: Text. This field may be left as NULL. */
williamr@2
  1422
#define LOCATION_DISABLE_CALL_WAITING_CODE				_S("DisableCallWaitingCode")
williamr@2
  1423
/** Mobile phone?
williamr@2
  1424
williamr@2
  1425
Field type: TBool. This field may not be left as NULL. */
williamr@2
  1426
#define LOCATION_MOBILE									_S("Mobile")
williamr@2
  1427
/** Use pulse dialling?
williamr@2
  1428
williamr@2
  1429
Field type: TBool. This field may not be left as NULL. */
williamr@2
  1430
#define LOCATION_USE_PULSE_DIAL							_S("UsePulseDial")
williamr@2
  1431
/** Wait for the dial tone?
williamr@2
  1432
williamr@2
  1433
Field type: TBool. This field may not be left as NULL. */
williamr@2
  1434
#define LOCATION_WAIT_FOR_DIAL_TONE						_S("WaitForDialTone")
williamr@2
  1435
/** Pause time after dial out.
williamr@2
  1436
williamr@2
  1437
Field type: TUint32. This field may not be left as NULL. */
williamr@2
  1438
#define LOCATION_PAUSE_AFTER_DIAL_OUT					_S("PauseAfterDialout")
williamr@2
  1439
williamr@2
  1440
// Columns of the `CHARGECARD` table 
williamr@2
  1441
// The following macros define values for the Chargecard table fields.
williamr@2
  1442
/** Account number.
williamr@2
  1443
williamr@2
  1444
Field type: Text. This field may be left as NULL. */
williamr@2
  1445
#define CHARGECARD_ACCOUNT_NUMBER						_S("AccountNumber")
williamr@2
  1446
/** PIN number.
williamr@2
  1447
williamr@2
  1448
Field type: Text. This field may be left as NULL. */
williamr@2
  1449
#define CHARGECARD_PIN									_S("Pin")
williamr@2
  1450
/** Order of dialling account number, PIN and phone number for local calls.
williamr@2
  1451
williamr@2
  1452
Field type: Text. This field may be left as NULL. */
williamr@2
  1453
#define CHARGECARD_LOCAL_RULE							_S("LocalRule")
williamr@2
  1454
/** Order of dialling account number, PIN and phone number for national calls.
williamr@2
  1455
williamr@2
  1456
Field type: Text. This field may be left as NULL. */
williamr@2
  1457
#define CHARGECARD_NAT_RULE								_S("NatRule")
williamr@2
  1458
/** Order of dialling account number, PIN and phone number for international calls.
williamr@2
  1459
williamr@2
  1460
Field type: Text. This field may be left as NULL. */
williamr@2
  1461
#define CHARGECARD_INTL_RULE							_S("IntlRule")
williamr@2
  1462
williamr@2
  1463
// Columns of the `PROXIES` table.
williamr@2
  1464
// The following macros define values for the Proxies table fields.
williamr@2
  1465
/** Identifier of the associated ISP record.
williamr@2
  1466
williamr@2
  1467
Field type: TUint32. This field may not be left as NULL.*/
williamr@2
  1468
#define PROXY_ISP										_S("ISP")							// ISP with which these proxies are associated
williamr@2
  1469
/** The table from which the PROXY_ISP has been taken. 
williamr@2
  1470
williamr@2
  1471
This is necessary as GPRS records as well as ISP records can have proxy settings 
williamr@2
  1472
associated with them. 
williamr@2
  1473
williamr@2
  1474
If this field is read and its length is zero, the value DIAL_OUT_ISP is returned, 
williamr@2
  1475
as it is assumed that any client that has not written this field is assuming 
williamr@2
  1476
that proxies are only available to the dial out ISP and not other service 
williamr@2
  1477
types.
williamr@2
  1478
williamr@2
  1479
Field type: Text. This field may be left as NULL. */
williamr@2
  1480
#define PROXY_SERVICE_TYPE								_S("ProxyServiceType")
williamr@2
  1481
/** Use proxy server?
williamr@2
  1482
williamr@2
  1483
Field type: TBool. This field may not be left as NULL. */
williamr@2
  1484
#define PROXY_USE_PROXY_SERVER							_S("UseProxyServer")
williamr@2
  1485
/** Name of the host.
williamr@2
  1486
williamr@2
  1487
Field type: Long Text. This field may be left as NULL. */
williamr@2
  1488
#define PROXY_SERVER_NAME								_S("ProxyServerName")				// Name of the proxy server
williamr@2
  1489
/** Name of the protocol for which this proxy can be used.
williamr@2
  1490
williamr@2
  1491
Field type: Text. This field may not be left as NULL. */
williamr@2
  1492
#define PROXY_PROTOCOL_NAME								_S("ProtocolName")
williamr@2
  1493
/** Port number.
williamr@2
  1494
williamr@2
  1495
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1496
#define PROXY_PORT_NUMBER								_S("PortNumber")
williamr@2
  1497
/** Semi-colon separated list of the addresses for which the proxy server should 
williamr@2
  1498
not be used.
williamr@2
  1499
williamr@2
  1500
Field type: Long Text. This field may be left as NULL. */
williamr@2
  1501
#define PROXY_EXCEPTIONS								_S("Exceptions")
williamr@2
  1502
williamr@2
  1503
// Columns of the `WAP_ACCESS_POINT` table. The following macros define values 
williamr@2
  1504
// for the WAP access point table fields.
williamr@2
  1505
/** Text string indicating the name of the table from which to read the bearer 
williamr@2
  1506
information.
williamr@2
  1507
williamr@2
  1508
This can be WAP_IP_BEARER or WAP_SMS_BEARER.
williamr@2
  1509
williamr@2
  1510
Field type: Text. This field may not be left as NULL. */
williamr@2
  1511
#define WAP_CURRENT_BEARER								_S("CurrentBearer")
williamr@2
  1512
/** WAP start page URL.
williamr@2
  1513
williamr@2
  1514
Field type: Text. This field may be left as NULL. */
williamr@2
  1515
#define WAP_START_PAGE									_S("StartPage")
williamr@2
  1516
williamr@2
  1517
// Columns common to the `WAP_IP_BEARER` and `WAP_SMS_BEARER` tables.
williamr@2
  1518
// The following macros define values for the WAP IP bearer and WAP SMS bearer table fields.
williamr@2
  1519
// These tables have no COMMDB_NAME field. 
williamr@2
  1520
/** ID of the  WAP Access Point record to which this bearer information refers.
williamr@2
  1521
williamr@2
  1522
Field type: TUint32. This field may not be left as NULL.*/
williamr@2
  1523
#define WAP_ACCESS_POINT_ID								_S("AccessPointId")
williamr@2
  1524
/** WAP gateway address: an IP address or phone number.
williamr@2
  1525
williamr@2
  1526
Field type: Text. This field may be left as NULL. */
williamr@2
  1527
#define WAP_GATEWAY_ADDRESS								_S("GatewayAddress")
williamr@2
  1528
/** Whether connection-oriented or connectionless API should be used.
williamr@2
  1529
williamr@2
  1530
This is a TCommsDbWapWspOption value.
williamr@2
  1531
williamr@2
  1532
Field type: TUint8. This field may be left as NULL. */
williamr@2
  1533
#define WAP_WSP_OPTION									_S("WSPOption")							// Connectionless or Connection-oriented
williamr@2
  1534
/** Attempt secure WTLS connection to the gateway.
williamr@2
  1535
williamr@2
  1536
Field type: TBool. This field may be left as NULL. */
williamr@2
  1537
#define WAP_SECURITY									_S("Security")
williamr@2
  1538
williamr@2
  1539
// Additional Columns of the `WAP_IP_BEARER` table.
williamr@2
  1540
/** Identifier of a record in the IAP table to be used.
williamr@2
  1541
williamr@2
  1542
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1543
#define WAP_IAP											_S("IAP")								
williamr@2
  1544
/** Proxy port number. Required for WAP2.0 only.
williamr@2
  1545
williamr@2
  1546
Field type: TUint32. This field may not be left as NULL. */
williamr@2
  1547
#define WAP_PROXY_PORT									_S("ProxyPortNumber")
williamr@2
  1548
/** Proxy login name. Required for WAP2.0 only.
williamr@2
  1549
williamr@2
  1550
Field type: Text. This field may be left as NULL. */
williamr@2
  1551
#define WAP_PROXY_LOGIN_NAME							_S("ProxyLogin")
williamr@2
  1552
/** Proxy login password. Required for WAP2.0 only.
williamr@2
  1553
williamr@2
  1554
Field type: Text. This field may be left as NULL. */
williamr@2
  1555
#define WAP_PROXY_LOGIN_PASS							_S("ProxyPassword")
williamr@2
  1556
williamr@2
  1557
// Additional Column of the `WAP_SMS_BEARER` table.
williamr@2
  1558
/** Service Centre Address.
williamr@2
  1559
williamr@2
  1560
Field type: Text. This field may be left as NULL. */
williamr@2
  1561
#define WAP_SERVICE_CENTRE_ADDRESS						_S("ServiceCentreAddress")
williamr@2
  1562
williamr@2
  1563
// The following macros define values for the Bluetooth device table fields.
williamr@2
  1564
// These tables have no COMMDB_NAME field.
williamr@2
  1565
williamr@2
  1566
// Column common to the `BT_DEVICE_TABLE` and `BT_SECURITY_TABLE` tables.
williamr@2
  1567
/** Bluetooth device address.
williamr@2
  1568
williamr@2
  1569
Field type: 8-bit Text. This field may not be left as NULL. */
williamr@2
  1570
#define BT_DEV_ADD										_S("DeviceAddress")
williamr@2
  1571
williamr@2
  1572
// Additional Columns of the `BT_DEVICE_TABLE` table.
williamr@2
  1573
/** Bluetooth device default name.
williamr@2
  1574
williamr@2
  1575
Field type: Long text. This field may be left as NULL. */
williamr@2
  1576
#define BT_DEV_DFLT_NAME								_S("DeviceDefaultName")
williamr@2
  1577
/** Bluetooth device friendly name.
williamr@2
  1578
williamr@2
  1579
Field type: Long text. This field may be left as NULL. */
williamr@2
  1580
#define BT_DEV_FRIENDLY_NAME							_S("DeviceFriendlyName")
williamr@2
  1581
/** Bluetooth device class.
williamr@2
  1582
williamr@2
  1583
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1584
#define BT_DEVICE_CLASS									_S("DeviceClass")
williamr@2
  1585
/** Bluetooth Link key.
williamr@2
  1586
williamr@2
  1587
Field type: 8-bit Text. This field may be left as NULL. */
williamr@2
  1588
#define BT_LINKKEY										_S("DeviceLinkKey")
williamr@2
  1589
/** Bluetooth device state.
williamr@2
  1590
williamr@2
  1591
Field type: TUint32. This field may not be left as NULL. */
williamr@2
  1592
#define BT_DEV_STATE									_S("DeviceStatus")
williamr@2
  1593
/** Bluetooth device global security setting.
williamr@2
  1594
williamr@2
  1595
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1596
#define BT_DEVICE_GLOBAL_SECURITY						_S("DeviceGlobalSecurity")
williamr@2
  1597
/** Bluetooth page scan repetition mode.
williamr@2
  1598
williamr@2
  1599
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1600
#define BT_PAGE_SCAN_REP_MODE							_S("DevicePageScanRepMode") 
williamr@2
  1601
/** Field type: TUint32. This field may be left as NULL. */
williamr@2
  1602
#define BT_PAGE_SCAN_PERIOD_MODE						_S("DevicePageScanPeriodMode") 
williamr@2
  1603
/** Field type: TUint32. This field may be left as NULL. */
williamr@2
  1604
#define BT_PAGE_SCAN_MODE								_S("DevicePageScanMode") 
williamr@2
  1605
/** Internal*/
williamr@2
  1606
#define BT_SPARE										_S("DeviceSpareInfo") 
williamr@2
  1607
/** Bluetooth clock offset.
williamr@2
  1608
williamr@2
  1609
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1610
#define BT_CLK_OFFSET									_S("DeviceClkOffset") 
williamr@2
  1611
/** Bluetooth class of device.
williamr@2
  1612
williamr@2
  1613
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1614
#define BT_COD											_S("DeviceClassOfDevice") 
williamr@2
  1615
williamr@2
  1616
// Additional Columns of the `WAP_SMS_BEARER` table.
williamr@2
  1617
/** Bluetooth security UID.
williamr@2
  1618
williamr@2
  1619
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1620
#define BT_SEC_UID										_S("BTSecurityUID")
williamr@2
  1621
/** Bluetooth security device.
williamr@2
  1622
williamr@2
  1623
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1624
#define BT_SEC_DEVICE_SECURITY							_S("BTSecurityDevice")
williamr@2
  1625
williamr@2
  1626
// Columns of the `BT_DEFAULT_TABLE` table.
williamr@2
  1627
// The following macros define values for the Bluetooth Default table fields.
williamr@2
  1628
// This table has no COMMDB_NAME field.
williamr@2
  1629
/** Bluetooth default service name.
williamr@2
  1630
williamr@2
  1631
Field type: Text. This field may be left as NULL. */
williamr@2
  1632
#define BT_DFLT_SER_NAME								_S("DefaultServicename")
williamr@2
  1633
/** Bluetooth default service ID.
williamr@2
  1634
williamr@2
  1635
Field type: TUint32. This field may not be left as NULL. */
williamr@2
  1636
#define BT_DFLT_SER_UUID								_S("DefaultServiceUID")
williamr@2
  1637
/** Bluetooth default device address.
williamr@2
  1638
williamr@2
  1639
Field type: 8-bit Text. This field may not be left as NULL. */
williamr@2
  1640
#define BT_DFLT_DEV_ADD									_S("DefaultDeviceAddress")
williamr@2
  1641
/** Bluetooth default virtual port number.
williamr@2
  1642
williamr@2
  1643
Field type: TUint32. This field may not be left as NULL. */
williamr@2
  1644
#define BT_DFLT_VIRTUAL_PORT    						_S("DefaultVirtualPort")
williamr@2
  1645
/** Bluetooth default security level.
williamr@2
  1646
williamr@2
  1647
Field type: TUint8. This field may be left as NULL. */
williamr@2
  1648
#define BT_DFLT_SECURITY_LEVEL  						_S("DefaultSecurityLevel")
williamr@2
  1649
williamr@2
  1650
williamr@2
  1651
// Columns of the BT Persistance Table 
williamr@2
  1652
// The following macros define values for the Bluetooth Persist table fields.
williamr@2
  1653
// This table has no COMMDB_NAME field.
williamr@2
  1654
// These items are all internal and not intended for use.
williamr@2
  1655
#define BT_PERSIST_COD									_S("ClassOfDevice")
williamr@2
  1656
#define BT_PERSIST_PAGE_TIMEOUT							_S("PageTimeout")
williamr@2
  1657
#define BT_PERSIST_PAGE_SCAN_INTERVAL					_S("PageScanInterval")
williamr@2
  1658
#define BT_PERSIST_PAGE_SCAN_WINDOW						_S("PageScanWindow")
williamr@2
  1659
#define BT_PERSIST_INQUIRY_SCAN_INTERVAL				_S("InquiryScanInterval")
williamr@2
  1660
#define BT_PERSIST_INQUIRY_SCAN_WINDOW					_S("InquiryScanWindow")
williamr@2
  1661
#define BT_PERSIST_HOLD_MODE_ACTIVITY					_S("HoldModeActivity")
williamr@2
  1662
#define BT_PERSIST_SCO_FLOW_CONTROL						_S("SCOFlowControl")
williamr@2
  1663
#define BT_PERSIST_PAGE_SCAN_PERIOD						_S("PageScanPeriod")
williamr@2
  1664
#define BT_PERSIST_PAGE_SCAN_MODE						_S("PageScanMode")
williamr@2
  1665
#define BT_PERSIST_POWER_SETTINGS						_S("PowerSettings")
williamr@2
  1666
#define BT_PERSIST_SCAN									_S("Scan")
williamr@2
  1667
#define BT_PERSIST_LOCAL_NAME							_S("LocalName")
williamr@2
  1668
#define BT_PERSIST_IAC_LAP								_S("IacLap")
williamr@2
  1669
#define BT_PERSIST_STATE								_S("PersistState")
williamr@2
  1670
williamr@2
  1671
williamr@2
  1672
// Columns for `SS_PROTO_TABLE` table 
williamr@2
  1673
// The following macros define values for the SS Proto table fields.
williamr@2
  1674
// This table has no COMMDB_NAME field.
williamr@2
  1675
/** Secure Sockets protocol name.
williamr@2
  1676
williamr@2
  1677
Field type: Text. This field may not be left as NULL. */
williamr@2
  1678
#define SS_PROTO_NAME									_S("ProtocolName")
williamr@2
  1679
/** Secure Sockets protocol library.
williamr@2
  1680
williamr@2
  1681
Field type: Text. This field may not be left as NULL. */
williamr@2
  1682
#define SS_PROTO_LIBRARY								_S("ProtoLibrary")
williamr@2
  1683
williamr@2
  1684
// Columns of the `DEFAULT_GPRS` table.
williamr@2
  1685
// The following macros define values for the Default GPRS fields.
williamr@2
  1686
// GPRS Phase 1 requires that a default PDP (Packet Data Protocol, e.g. IP4)
williamr@2
  1687
// context configuration for GPRS is stored for use when no other configuration
williamr@2
  1688
// information is specified for a context by the terminal. This table is
williamr@2
  1689
// provided for this purpose. Defaults can be used when the device
williamr@2
  1690
// is used as a GPRS modem with an external device that does not specify GPRS
williamr@2
  1691
// parameters for the  connection.In release v6.1 the enums that are now in
williamr@2
  1692
// RPacketContext and RPacketQoS were in RGprsContext.The following macros
williamr@2
  1693
// define the fields for  the  table. The description is followed by the field
williamr@2
  1694
// type, and whether the specified field may be left null or not.
williamr@2
  1695
/** Specifies usage of this default.
williamr@2
  1696
williamr@2
  1697
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1698
#define DEFAULT_GPRS_USAGE								_S("Usage")
williamr@2
  1699
/** Default access point name.
williamr@2
  1700
williamr@2
  1701
Field type: Text. This field may not be left as NULL. */
williamr@2
  1702
#define DEFAULT_GPRS_APN								_S("APN")
williamr@2
  1703
williamr@2
  1704
/** Default PDP type (e.g. IP4).
williamr@2
  1705
williamr@2
  1706
The enum RPacketContext::TProtocolType defines valid values for this field.
williamr@2
  1707
williamr@2
  1708
Field type: TUint32. This field may not be left as NULL. */
williamr@2
  1709
#define DEFAULT_GPRS_PDP_TYPE							_S("PDPType")
williamr@2
  1710
/** Default PDP address.
williamr@2
  1711
williamr@2
  1712
Field type: Text. This field may not be left as NULL. */
williamr@2
  1713
#define DEFAULT_GPRS_PDP_ADDRESS						_S("PDPAddress")
williamr@2
  1714
williamr@2
  1715
/** Default quality of service precedence class.
williamr@2
  1716
williamr@2
  1717
Values for this are defined by the enum RPacketQoS::TQoSPrecedence.
williamr@2
  1718
williamr@2
  1719
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1720
#define DEFAULT_GPRS_PRECEDENCE							_S("Precedence")
williamr@2
  1721
williamr@2
  1722
/** Default quality of service delay class.
williamr@2
  1723
williamr@2
  1724
Values for this are defined by the enum RPacketQoS::TQoSDelay.
williamr@2
  1725
williamr@2
  1726
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1727
#define DEFAULT_GPRS_DELAY								_S("Delay")
williamr@2
  1728
williamr@2
  1729
/** Default quality of service reliability class.
williamr@2
  1730
williamr@2
  1731
Values for this are defined by the enum RPacketQoS::TQoSReliability.
williamr@2
  1732
williamr@2
  1733
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1734
#define DEFAULT_GPRS_RELIABILITY						_S("Reliability")
williamr@2
  1735
williamr@2
  1736
/** Default quality of service peak throughput class.
williamr@2
  1737
williamr@2
  1738
Values for this are defined by the enum RPacketQoS::TQoSPeakThroughput.
williamr@2
  1739
williamr@2
  1740
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1741
#define DEFAULT_GPRS_PEAK_THROUGHPUT					_S("PeakThroughput")
williamr@2
  1742
williamr@2
  1743
/** Default quality of service mean throughput class.
williamr@2
  1744
williamr@2
  1745
Values for this are defined by the enum RPacketQoS::TQoSMeanThroughput.
williamr@2
  1746
williamr@2
  1747
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1748
#define DEFAULT_GPRS_MEAN_THROUGHPUT					_S("MeanThroughput")
williamr@2
  1749
williamr@2
  1750
#define DEFAULT_GPRS_MIN_PRECEDENCE						_S("MinPrecedence")
williamr@2
  1751
williamr@2
  1752
/** Minimum quality of service delay class.
williamr@2
  1753
williamr@2
  1754
Values for this are defined by the enum RPacketQoS::TQoSDelay.
williamr@2
  1755
williamr@2
  1756
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1757
#define DEFAULT_GPRS_MIN_DELAY							_S("MinDelay")
williamr@2
  1758
williamr@2
  1759
/** Default minimum quality of service reliability class.
williamr@2
  1760
williamr@2
  1761
Values for this are defined by the enum RPacketQoS::TQoSReliability.
williamr@2
  1762
williamr@2
  1763
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1764
#define DEFAULT_GPRS_MIN_RELIABILITY					_S("MinReliability")
williamr@2
  1765
williamr@2
  1766
/** Default minimum quality of service peak throughput class.
williamr@2
  1767
williamr@2
  1768
Values for this are defined by the enum RPacketQoS::TQoSMeanThroughput.
williamr@2
  1769
williamr@2
  1770
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1771
#define DEFAULT_GPRS_MIN_PEAK_THROUGHPUT				_S("MinPeakThroughput")
williamr@2
  1772
williamr@2
  1773
/** Default minimum quality of service mean throughput class.
williamr@2
  1774
williamr@2
  1775
Values for this are defined by the enum RPacketQoS::TQoSMeanThroughput.
williamr@2
  1776
williamr@2
  1777
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1778
#define DEFAULT_GPRS_MIN_MEAN_THROUGHPUT				_S("MinMeanThroughput")
williamr@2
  1779
williamr@2
  1780
/** Default value for whether data compression is on.
williamr@2
  1781
williamr@2
  1782
Field type: TBool. This field may be left as NULL. */
williamr@2
  1783
#define DEFAULT_GPRS_DATA_COMPRESSION					_S("DataCompression")
williamr@2
  1784
williamr@2
  1785
/** Default value for whether IP header compression is on.
williamr@2
  1786
williamr@2
  1787
Field type: TBool. This field may be left as NULL. */
williamr@2
  1788
#define DEFAULT_GPRS_HEADER_COMPRESSION					_S("HeaderCompression")
williamr@2
  1789
williamr@2
  1790
/** Default value for whether use of anonymous access is on.
williamr@2
  1791
williamr@2
  1792
Field type: TBool. This field may be left as NULL. */
williamr@2
  1793
#define DEFAULT_GPRS_ANONYMOUS_ACCESS					_S("AnonymousAccess")
williamr@2
  1794
/** Default value for EDGE parameter
williamr@2
  1795
williamr@2
  1796
Field type: TBool. This field may be left as NULL. */
williamr@2
  1797
#define DEFAULT_GPRS_USE_EDGE							_S("GprsUseEdge")
williamr@2
  1798
williamr@2
  1799
// Columns of the `AGENT_LOOKUP` table 
williamr@2
  1800
// The following macros define values for the Agent Lookup fields. 
williamr@2
  1801
// This table has no COMMDB_NAME field.
williamr@2
  1802
/** The Agent's name.
williamr@2
  1803
williamr@2
  1804
Field type: Text. This field may not be left as NULL. */
williamr@2
  1805
#define	AGENT_FRIENDLY_NAME								_S("AgentFriendlyName")
williamr@2
  1806
/** The internal file location of the agent.
williamr@2
  1807
williamr@2
  1808
Field type: Text. This field may not be left as NULL. */
williamr@2
  1809
#define AGENT_FILENAME									_S("AgentFilename")
williamr@2
  1810
williamr@2
  1811
// Columns of the `CDMA2000_PACKET_SERVICE_TABLE` 
williamr@2
  1812
// The following macros define values for the CDMA 2000 Packet Service fields.
williamr@2
  1813
/** IWF name.
williamr@2
  1814
williamr@2
  1815
Field type: Text. This field must not be left as NULL. */
williamr@2
  1816
#define CDMA_IWF_NAME									_S("IwfName")
williamr@2
  1817
/** Mask indicating valid service options.
williamr@2
  1818
williamr@2
  1819
Field type: TUint32 from RPacketContext::TServiceOption. This field may not be left as NULL. */
williamr@2
  1820
#define CDMA_SERVICE_OPTION								_S("ServiceOption")
williamr@2
  1821
williamr@2
  1822
/** PDP type. (IPv4 or IPv6).
williamr@2
  1823
williamr@2
  1824
Field type: TUint32 from RPacketContext::TProtocolType. This field may not be left as NULL. */
williamr@2
  1825
#define CDMA_PDP_TYPE									_S("PdpType")
williamr@2
  1826
/** PDP address of phone.
williamr@2
  1827
williamr@2
  1828
Field type: Text. This field may be left as NULL. */
williamr@2
  1829
#define CDMA_PDP_ADDRESS								_S("PdpAddress")
williamr@2
  1830
williamr@2
  1831
/** Requested forward priority.
williamr@2
  1832
williamr@2
  1833
Field type: TUint32 from RPacketQoS::TQoSLinkPriority. This field may be left as NULL. */
williamr@2
  1834
#define CDMA_REQ_FWD_PRIORITY							_S("ReqFwdPriority")
williamr@2
  1835
/** Requested reverse priority.
williamr@2
  1836
williamr@2
  1837
Field type: TUint32 from RPacketQoS::TQoSLinkPriority. This field may be left as NULL. */
williamr@2
  1838
#define CDMA_REQ_REV_PRIORITY							_S("ReqRevPriority")
williamr@2
  1839
/** Requested forward bitrate.
williamr@2
  1840
williamr@2
  1841
Field type: TUint32 from RPacketQoS::TQoSDataRate. This field may be left as NULL. */
williamr@2
  1842
#define CDMA_REQ_FWD_BITRATE							_S("ReqFwdBitrate")
williamr@2
  1843
/** Requested reverse bitrate.
williamr@2
  1844
williamr@2
  1845
Field type: TUint32 from RPacketQoS::TQoSDataRate. This field may be left as NULL. */
williamr@2
  1846
#define CDMA_REQ_REV_BITRATE							_S("ReqRevBitrate")
williamr@2
  1847
/** Requested forward frame loss rate.
williamr@2
  1848
williamr@2
  1849
Field type: TUint32 from RPacketQoS::TQoSDataLoss. This field may be left as NULL. */
williamr@2
  1850
#define CDMA_REQ_FWD_LOSS								_S("ReqFwdLoss")
williamr@2
  1851
/** Requested reverse frame loss rate.
williamr@2
  1852
williamr@2
  1853
Field type: TUint32 from RPacketQoS::TQoSDataLoss. This field may be left as NULL. */
williamr@2
  1854
#define CDMA_REQ_REV_LOSS								_S("ReqRevLoss")
williamr@2
  1855
/** Requested forward delay.
williamr@2
  1856
williamr@2
  1857
Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
williamr@2
  1858
#define CDMA_REQ_FWD_MAXDELAY							_S("ReqFwdMaxdelay")
williamr@2
  1859
/** Requested reverse delay.
williamr@2
  1860
williamr@2
  1861
Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
williamr@2
  1862
#define CDMA_REQ_REV_MAXDELAY							_S("ReqRevMaxdelay")
williamr@2
  1863
/** Minimum acceptable forward bitrate.
williamr@2
  1864
williamr@2
  1865
Field type: TUint32 from RPacketQoS::TQoSDataRate. This field may be left as NULL. */
williamr@2
  1866
#define CDMA_MIN_FWD_BITRATE							_S("MinFwdBitrate")
williamr@2
  1867
/** Minimum acceptable reverse bitrate.
williamr@2
  1868
williamr@2
  1869
Field type: TUint32 from RPacketQoS::TQoSDataRate. This field may be left as NULL. */
williamr@2
  1870
#define CDMA_MIN_REV_BITRATE							_S("MinRevBitrate")
williamr@2
  1871
/** Maximum acceptable forward frame loss rate.
williamr@2
  1872
williamr@2
  1873
Field type: TUint32 from RPacketQoS::TQoSDataLoss. This field may be left as NULL. */
williamr@2
  1874
#define CDMA_ACCPT_FWD_LOSS								_S("AccptFwdLoss")
williamr@2
  1875
/** Maximum acceptable forward frame loss rate.
williamr@2
  1876
williamr@2
  1877
Field type: TUint32 from RPacketQoS::TQoSDataLoss. This field may be left as NULL. */
williamr@2
  1878
#define CDMA_ACCPT_REV_LOSS								_S("AccptRevLoss")
williamr@2
  1879
/** Maximum acceptable forward delay.
williamr@2
  1880
williamr@2
  1881
Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
williamr@2
  1882
#define CDMA_ACCPT_FWD_MAXDELAY							_S("AccptFwdMaxdelay")
williamr@2
  1883
/** Maximum acceptable reverse delay.
williamr@2
  1884
williamr@2
  1885
Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
williamr@2
  1886
#define CDMA_ACCPT_REV_MAXDELAY							_S("AccptRevMaxdelay")
williamr@2
  1887
/** Data compression on?
williamr@2
  1888
williamr@2
  1889
Field type: TBool. This field may be left as NULL. */
williamr@2
  1890
#define CDMA_DATA_COMPRESSION							_S("DataCompression")
williamr@2
  1891
/** Van Jacobson IP header compression on?
williamr@2
  1892
williamr@2
  1893
Field type: TBool. This field may be left as NULL. */
williamr@2
  1894
#define CDMA_ENABLE_IP_HEADER_COMP						SERVICE_ENABLE_IP_HEADER_COMP
williamr@2
  1895
/** Use anonymous access on?
williamr@2
  1896
williamr@2
  1897
Field type: TBool. This field may be left as NULL. */
williamr@2
  1898
#define CDMA_ANONYMOUS_ACCESS							_S("AnonymousAccess")
williamr@2
  1899
williamr@2
  1900
//#define CDMA_IF_NAME									SERVICE_IF_NAME
williamr@2
  1901
/** Interface parameter string.
williamr@2
  1902
williamr@2
  1903
Field type: Text. This field may be left as NULL. */
williamr@2
  1904
#define CDMA_IF_PARAMS									SERVICE_IF_PARAMS
williamr@2
  1905
/** Comma separated list of network protocols, e.g. "PPP".
williamr@2
  1906
williamr@2
  1907
Field type: Text. This field may be left as NULL. */
williamr@2
  1908
#define CDMA_IF_NETWORKS								SERVICE_IF_NETWORKS
williamr@2
  1909
/** Always reject PPP peer authentication requests when using external IP configuration. 
williamr@2
  1910
williamr@2
  1911
Field type: TBool. This field may be left as NULL. */
williamr@2
  1912
#define CDMA_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH	    SERVICE_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH
williamr@2
  1913
/** Prompt user for authentication username and password?
williamr@2
  1914
williamr@2
  1915
Field type: TBool. This field may not be left as NULL. */
williamr@2
  1916
#define CDMA_IF_PROMPT_FOR_AUTH							SERVICE_IF_PROMPT_FOR_AUTH
williamr@2
  1917
/** Authentication username used by PPP in the Simple IP case or 
williamr@2
  1918
by the Mobile IP implementation when Mobile IP is enabled.
williamr@2
  1919
williamr@2
  1920
Field type: Text. This field may be left as NULL. */
williamr@2
  1921
#define CDMA_IF_AUTH_NAME								SERVICE_IF_AUTH_NAME
williamr@2
  1922
/** Authentication password used by PPP.
williamr@2
  1923
williamr@2
  1924
Field type: Text. This field may be left as NULL. */
williamr@2
  1925
#define CDMA_IF_AUTH_PASS								SERVICE_IF_AUTH_PASS
williamr@2
  1926
/** Number of times to retry authentication if it fails.
williamr@2
  1927
williamr@2
  1928
Field type: TUint32. This field may be left as NULL. */
williamr@2
  1929
#define CDMA_IF_AUTH_RETRIES							SERVICE_IF_AUTH_RETRIES
williamr@2
  1930
/** IP Net mask of Symbian OS mobile network interface.
williamr@2
  1931
williamr@2
  1932
Field type: Text. This field may be left as NULL. */
williamr@2
  1933
#define CDMA_IP_NETMASK									SERVICE_IP_NETMASK
williamr@2
  1934
/** IP address of gateway.
williamr@2
  1935
williamr@2
  1936
Field type: Text. This field may be left as NULL. */
williamr@2
  1937
#define CDMA_IP_GATEWAY									SERVICE_IP_GATEWAY
williamr@2
  1938
/** Get IP addresses (for Symbian OS mobile) from server?
williamr@2
  1939
williamr@2
  1940
Field type: TBool. This field may not be left as NULL. */
williamr@2
  1941
#define CDMA_IP_ADDR_FROM_SERVER						SERVICE_IP_ADDR_FROM_SERVER
williamr@2
  1942
/**
williamr@2
  1943
IP address (of Symbian OS mobile), to be used by PPP and TCP/IP.
williamr@2
  1944
williamr@2
  1945
Field type: Text. This field may be left as NULL. */
williamr@2
  1946
#define CDMA_IP_ADDR									SERVICE_IP_ADDR
williamr@2
  1947
/** Get DNS addresses from server?
williamr@2
  1948
williamr@2
  1949
Field type: TBool. This field may not be left as NULL. */
williamr@2
  1950
#define CDMA_IP_DNS_ADDR_FROM_SERVER					SERVICE_IP_DNS_ADDR_FROM_SERVER
williamr@2
  1951
/** IP Address of primary name server.
williamr@2
  1952
williamr@2
  1953
Field type: Text. This field may be left as NULL. */
williamr@2
  1954
#define CDMA_IP_NAME_SERVER1							SERVICE_IP_NAME_SERVER1
williamr@2
  1955
/** IP Address of secondary name server.
williamr@2
  1956
williamr@2
  1957
Field type: Text. This field may be left as NULL. */
williamr@2
  1958
#define CDMA_IP_NAME_SERVER2							SERVICE_IP_NAME_SERVER2
williamr@2
  1959
/** Get IP6 DNS address from Server?
williamr@2
  1960
williamr@2
  1961
Field type: TBool. This field may be left as NULL. */
williamr@2
  1962
#define CDMA_IP6_DNS_ADDR_FROM_SERVER					SERVICE_IP6_DNS_ADDR_FROM_SERVER
williamr@2
  1963
/** IP6 address of the primary name server
williamr@2
  1964
williamr@2
  1965
Field type: Text. This field may be left as NULL. */
williamr@2
  1966
#define CDMA_IP6_NAME_SERVER1							SERVICE_IP6_NAME_SERVER1
williamr@2
  1967
/** IP6 address of the secondary name server
williamr@2
  1968
williamr@2
  1969
Field type: Text. This field may be left as NULL. */
williamr@2
  1970
#define CDMA_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
williamr@2
  1971
/** IP address valid from this time, 
williamr@2
  1972
used to store dynamically assigned address lease info.
williamr@2
  1973
williamr@2
  1974
Field type: Text. This field may be left as NULL. */
williamr@2
  1975
#define CDMA_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
williamr@2
  1976
/** IP address valid to this time, 
williamr@2
  1977
used to store dynamically assigned address lease info.
williamr@2
  1978
williamr@2
  1979
Field type: Text. This field may be left as NULL. */
williamr@2
  1980
#define CDMA_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
williamr@2
  1981
/** Name of the ECOM configuration daemon manager component. 
williamr@2
  1982
This component interfaces with the server identified in CDMA_CONFIG_DAEMON_NAME.
williamr@2
  1983
If specified, CDMA_CONFIG_DAEMON_NAME should also be specified.
williamr@2
  1984
williamr@2
  1985
Field type: Text. This field may be left as NULL.  */
williamr@2
  1986
#define CDMA_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
williamr@2
  1987
/** Name of the configuration daemon server. This server is used to 
williamr@2
  1988
provide further configuration for a connection, e.g. dynamic IP 
williamr@2
  1989
address assignment. If specified, CDMA_CONFIG_DAEMON_MANAGER_NAME 
williamr@2
  1990
should also be specified.
williamr@2
  1991
williamr@2
  1992
Field type: Text. This field may be left as NULL.  */
williamr@2
  1993
#define CDMA_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
williamr@2
  1994
/** Enable LCP extensions?
williamr@2
  1995
williamr@2
  1996
Field type: TBool. This field may be left as NULL. */
williamr@2
  1997
#define CDMA_ENABLE_LCP_EXTENSIONS						SERVICE_ENABLE_LCP_EXTENSIONS
williamr@2
  1998
/** Disable plain text authentication?
williamr@2
  1999
williamr@2
  2000
Field type: TBool. This field may be left as NULL. */
williamr@2
  2001
#define CDMA_DISABLE_PLAIN_TEXT_AUTH					SERVICE_DISABLE_PLAIN_TEXT_AUTH
williamr@2
  2002
/** Service supports Internet only, WAP only or both.
williamr@2
  2003
williamr@2
  2004
Field type: TUint32 from TCommsDbIspType. This field may be left as NULL. */
williamr@2
  2005
#define CDMA_AP_TYPE									_S("ApType")
williamr@2
  2006
/** Notify user if the requested QOS can not be satisfied for this time in microseconds. 
williamr@2
  2007
Set to 0xffffffff to disable.
williamr@2
  2008
williamr@2
  2009
Field type: TUint32. This field may be left as NULL. */
williamr@2
  2010
#define CDMA_QOS_WARNING_TIMEOUT						_S("QosWarningTimeout")
williamr@2
  2011
williamr@2
  2012
/** Transparent or non-transparent radio link protocol.
williamr@2
  2013
williamr@2
  2014
Field type: TUint32 from RPacketQoS::TRLPMode. This field may not be left as NULL. */
williamr@2
  2015
#define CDMA_RLP_MODE									_S("RlpMode")
williamr@2
  2016
williamr@2
  2017
// Deprecated Mobile IP fields
williamr@2
  2018
williamr@2
  2019
/** Attempt to use the mobile IP protocol.
williamr@2
  2020
   
williamr@2
  2021
Field type: TBool. This field may be left as NULL. */
williamr@2
  2022
#define CDMA_MIP										_S("CDMAMobileIP")
williamr@2
  2023
/** Home agent address.
williamr@2
  2024
   
williamr@2
  2025
Field type: Text. This field may be left as NULL. */
williamr@2
  2026
#define CDMA_MIP_HA_ADDRESS								_S("HomeAgentAddress")
williamr@2
  2027
williamr@2
  2028
/** A normal reconnect (informing the user) takes place if not both the PPP link 
williamr@2
  2029
drops and a change in SID or NID is received with in this time (in milliseconds). 
williamr@2
  2030
If they do, an automatic reconnect takes place.
williamr@2
  2031
 
williamr@2
  2032
Field type: TUint32 This field may be left as NULL. */
williamr@2
  2033
#define CDMA_MIP_TIMEOUT								_S("CDMAMobileIPTimeout")
williamr@2
  2034
williamr@2
  2035
// The following fields define the specific CDMA parameters provisioned through OTA 
williamr@2
  2036
// and  defined in TIA-683B section 3.5.8
williamr@2
  2037
// These fields replace the old MIP fields (CDMA_MIP, CDMA_MIP_HA_ADDRESS, 
williamr@2
  2038
// CDMA_MIP_TIMEOUT)
williamr@2
  2039
williamr@2
  2040
/** Defines the type of NAI this record refers to (SimpleIP or MobileIP). 
williamr@2
  2041
Possible values: ECommDbCdmaNaiSimpleIp, ECommDbCdmaNaiMobileIp. Replaces the 
williamr@2
  2042
CDMA_MIP field.
williamr@2
  2043
williamr@2
  2044
Field type: TUint32. This field must not be left as NULL. */
williamr@2
  2045
#define CDMA_NAI_TYPE									_S("CDMANaiType")
williamr@2
  2046
/** SimpleIP authentication algorithm. Possible values (TCommDbCdmaSimpIpAuthAlgorithm):
williamr@2
  2047
williamr@2
  2048
0000 - No authentication
williamr@2
  2049
williamr@2
  2050
0001 - PPP CHAP authentication
williamr@2
  2051
williamr@2
  2052
0002 - PPP PAP authentication
williamr@2
  2053
williamr@2
  2054
0003 - PPP CHAP to PAP fallback
williamr@2
  2055
williamr@2
  2056
Field type: TUint32, for the enum TCommDbCdmaSimpIpAuthAlgorithm. This field may be left as NULL. */
williamr@2
  2057
#define CDMA_SIMIP_AUTH_ALGORITHM						_S("CDMASimpleIpAuthAlgorithm")
williamr@2
  2058
/** SimpleIP PAP shared secret handle
williamr@2
  2059
williamr@2
  2060
Field type: TUint32. This field may be left as NULL.  */
williamr@2
  2061
#define CDMA_SIMIP_PAP_SS_HANDLE						_S("CDMASimpleIpPapSsHandle")
williamr@2
  2062
/** SimpleIP CHAP shared secret handle
williamr@2
  2063
williamr@2
  2064
Field type: TUint32. This field may be left as NULL. */
williamr@2
  2065
#define CDMA_SIMIP_CHAP_SS_HANDLE						_S("CDMASimpleIpChapSsHandle")
williamr@2
  2066
/** Reverse-tunnelling required flag.
williamr@2
  2067
williamr@2
  2068
Field type: TUint32.  This field may be left as NULL. */
williamr@2
  2069
#define CDMA_MIP_T_BIT									_S("CDMAMobileIpTBit")
williamr@2
  2070
/** Home address associated with the Mobile Station.
williamr@2
  2071
williamr@2
  2072
Field type: Text. This field may be left as NULL. */
williamr@2
  2073
#define CDMA_MIP_HOME_ADDRESS							_S("CDMAMobileIpHomeAddress")
williamr@2
  2074
/** IP address of the mobile node's primary home agent. 
williamr@2
  2075
Replaces the CDMA_MIP_HA_ADDRESS field.
williamr@2
  2076
williamr@2
  2077
Field type: Text. This field may be left as NULL. */
williamr@2
  2078
#define CDMA_MIP_PRIMARY_HOME_AGENT						_S("CDMAMobileIpPrimaryHomeAgent")
williamr@2
  2079
/** IP address of the mobile node's secondary home agent.
williamr@2
  2080
williamr@2
  2081
Field type: Text. This field may be left as NULL.  */
williamr@2
  2082
#define CDMA_MIP_SECONDARY_HOME_AGENT					_S("CDMAMobileIpSecondaryHomeAgent")
williamr@2
  2083
/** Authentication algorithm (MN-AAA). Possible values:
williamr@2
  2084
williamr@2
  2085
0000 - No authentication
williamr@2
  2086
williamr@2
  2087
0001 - MD5 authentication (IETF RFC 2002)
williamr@2
  2088
williamr@2
  2089
Field type: TUint32. This field may be left as NULL. */
williamr@2
  2090
#define CDMA_MIP_MN_AAA_AUTH_ALGORITHM					_S("CDMAMobileIpMnAaaAuthAlgorithm")
williamr@2
  2091
williamr@2
  2092
williamr@2
  2093
/** Security Parameter Index Indicator (MN-AAA)
williamr@2
  2094
williamr@2
  2095
Field type: TBool. This field may be left as NULL. */
williamr@2
  2096
#define CDMA_MIP_MN_AAA_SPI_INDICATOR				    _S("CDMAMobileIpMnAaaSpiIndicator")
williamr@2
  2097
williamr@2
  2098
williamr@2
  2099
/** Security Parameter Index (MN-AAA).
williamr@2
  2100
williamr@2
  2101
Field type: TUint32. This field may be left as NULL. */
williamr@2
  2102
#define CDMA_MIP_MN_AAA_SPI								_S("CDMAMobileIpMnAaaSpi")
williamr@2
  2103
/** MobileIP MN-AAA shared secret data.
williamr@2
  2104
williamr@2
  2105
Field type: Text. This field may be left as NULL.  */
williamr@2
  2106
#define CDMA_MIP_MN_AAA_SS_DATA						_S("CDMAMobileIpMnAaaSsData")
williamr@2
  2107
/** Authentication algorithm (MN-HA). Possible values:
williamr@2
  2108
williamr@2
  2109
0000 - No authentication
williamr@2
  2110
williamr@2
  2111
0001 - MD5 authentication (IETF RFC 2002)
williamr@2
  2112
williamr@2
  2113
Field type: TUint32. This field may be left as NULL.  */
williamr@2
  2114
#define CDMA_MIP_MN_HA_AUTH_ALGORITHM					_S("CDMAMobileIpMnHaAuthAlgorithm")
williamr@2
  2115
williamr@2
  2116
williamr@2
  2117
williamr@2
  2118
/** Security Parameter Index Indicator (MN-HA)
williamr@2
  2119
williamr@2
  2120
Field type: TBool. This field may be left as NULL.  */
williamr@2
  2121
#define CDMA_MIP_MN_HA_SPI_INDICATOR				    _S("CDMAMobileIpMnHaSpiIndicator")
williamr@2
  2122
williamr@2
  2123
/** Security Parameter Index (MN-HA)
williamr@2
  2124
williamr@2
  2125
Field type: TUint32. This field may be left as NULL. */
williamr@2
  2126
#define CDMA_MIP_MN_HA_SPI								_S("CDMAMobileIpMnHaSpi")
williamr@2
  2127
williamr@2
  2128
williamr@2
  2129
/** MobileIP MN-HA shared secret data.
williamr@2
  2130
williamr@2
  2131
Field type: Text. This field may be left as NULL. */
williamr@2
  2132
#define CDMA_MIP_MN_HA_SS_DATA						_S("CDMAMobileIpMnHaSsData")
williamr@2
  2133
williamr@2
  2134
/** Fundamental channel multiplex option
williamr@2
  2135
Field type: TUint32. */
williamr@2
  2136
#define CDMA_FCH_MUX									_S("CDMAFchMux")
williamr@2
  2137
williamr@2
  2138
/** Supplemental channel multiplex option
williamr@2
  2139
Field type: TUint32. */
williamr@2
  2140
#define CDMA_SCH_MUX									_S("CDMASchMux")
williamr@2
  2141
williamr@2
  2142
williamr@2
  2143
// Columns of the `DEFAULT_CDMA2000_SETTINGS_TABLE` 
williamr@2
  2144
// The following macros define values for the Default CDMA 2000 Settings fields.
williamr@2
  2145
/** The usage of this default. 
williamr@2
  2146
williamr@2
  2147
Field type: TUint32. This field may be left as NULL. */
williamr@2
  2148
#define DEFAULT_CDMA_USAGE								_S("Usage")
williamr@2
  2149
/** IWF name.
williamr@2
  2150
williamr@2
  2151
Field type: Text. This field may not be left as NULL. */
williamr@2
  2152
#define DEFAULT_CDMA_IWF_NAME							CDMA_IWF_NAME
williamr@2
  2153
/** Mask indicating valid service options.
williamr@2
  2154
williamr@2
  2155
Field type: TUint32 from RPacketContext::TServiceOption. This field may not be left as NULL. */
williamr@2
  2156
#define DEFAULT_CDMA_SERVICE_OPTION						CDMA_SERVICE_OPTION
williamr@2
  2157
/** PDP type. (IPv4 or IPv6).
williamr@2
  2158
williamr@2
  2159
Field type: TUint32 from RPacketContext::TProtocolType. This field may not be left as NULL. */
williamr@2
  2160
#define DEFAULT_CDMA_PDP_TYPE							CDMA_PDP_TYPE
williamr@2
  2161
/** PDP address of phone.
williamr@2
  2162
williamr@2
  2163
Field type: Text. This field may be left as NULL. */
williamr@2
  2164
#define DEFAULT_CDMA_PDP_ADDRESS						CDMA_PDP_ADDRESS
williamr@2
  2165
/** Data compression?
williamr@2
  2166
williamr@2
  2167
Field type: TBool. This field may be left as NULL. */
williamr@2
  2168
#define DEFAULT_CDMA_DATA_COMPRESSION					CDMA_DATA_COMPRESSION
williamr@2
  2169
/** Van Jacobson IP header compression on?
williamr@2
  2170
williamr@2
  2171
Field type: TBool. This field may be left as NULL. */
williamr@2
  2172
#define DEFAULT_CDMA_ENABLE_IP_HEADER_COMP				CDMA_ENABLE_IP_HEADER_COMP
williamr@2
  2173
/** Use anonymous access?
williamr@2
  2174
williamr@2
  2175
Field type: TBool. This field may be left as NULL. */
williamr@2
  2176
#define DEFAULT_CDMA_ANONYMOUS_ACCESS					CDMA_ANONYMOUS_ACCESS
williamr@2
  2177
williamr@2
  2178
// Default values for the deprecated Mobile IP fields.
williamr@2
  2179
/** Default CDMA mobile IP?
williamr@2
  2180
   
williamr@2
  2181
Field type: TBool. This field may be left as NULL. 
williamr@2
  2182
williamr@2
  2183
@deprecated */
williamr@2
  2184
#define DEFAULT_CDMA_MIP								CDMA_MIP
williamr@2
  2185
/** CDMA mobile IP home address.
williamr@2
  2186
williamr@2
  2187
Field type: Text. This field may be left as NULL.
williamr@2
  2188
williamr@2
  2189
@deprecated */
williamr@2
  2190
#define DEFAULT_CDMA_MIP_HA_ADDRESS						CDMA_MIP_HA_ADDRESS
williamr@2
  2191
/** CDMA Mobile IP timeout.
williamr@2
  2192
   
williamr@2
  2193
Field type: TUint32. This field may be left as NULL. 
williamr@2
  2194
williamr@2
  2195
@deprecated */
williamr@2
  2196
#define DEFAULT_CDMA_MIP_TIMEOUT						CDMA_MIP_TIMEOUT
williamr@2
  2197
williamr@2
  2198
/** Default fundamental channel multiplex option
williamr@2
  2199
Field type: TUint32. */
williamr@2
  2200
#define DEFAULT_CDMA_FCH_MUX							CDMA_FCH_MUX
williamr@2
  2201
williamr@2
  2202
/** Default supplemental channel multiplex option
williamr@2
  2203
Field type: TUint32. */
williamr@2
  2204
#define DEFAULT_CDMA_SCH_MUX							CDMA_SCH_MUX
williamr@2
  2205
williamr@2
  2206
williamr@2
  2207
// The following fields define the specific CDMA parameters provisioned through OTA 
williamr@2
  2208
// and defined in TIA-683B section 3.5.8 
williamr@2
  2209
williamr@2
  2210
/** Defines the active operation mode in the mobile station. Possible values:
williamr@2
  2211
williamr@2
  2212
00 - SimpleIP only
williamr@2
  2213
williamr@2
  2214
01 - MobileIP with SimpleIP fallback
williamr@2
  2215
williamr@2
  2216
10 - MobileIP only
williamr@2
  2217
williamr@2
  2218
Field type: TUint32. */
williamr@2
  2219
#define CDMA_OP_MODE									_S("CDMAOperationMode")
williamr@2
  2220
/** Maximum number of retries for MobileIP registration.
williamr@2
  2221
williamr@2
  2222
Field type: TUint32. */
williamr@2
  2223
#define CDMA_MIP_MAX_NUM_RETRY							_S("CDMAMobileIpMaxNumRetry")
williamr@2
  2224
/** Amount of time between the first and second MobileIP registration requests, 
williamr@2
  2225
while the Mobile Station did not receive a Registration Reply (units of 250ms).
williamr@2
  2226
williamr@2
  2227
Field type: TUint32. */
williamr@2
  2228
#define CDMA_MIP_FIRST_RETRY_TIMEOUT					_S("CDMAMobileIpFirstRetryTimeout")
williamr@2
  2229
/** Re-registration threshold (time in minutes before the expiration of the registration 
williamr@2
  2230
lifetime).
williamr@2
  2231
williamr@2
  2232
Field type: TUint32. */
williamr@2
  2233
#define CDMA_MIP_REREG_THRESHOLD						_S("CDMAMobileIpReregThreshold")
williamr@2
  2234
williamr@2
  2235
/** Columns of the `VIRTUAL_BEARER table` */
williamr@2
  2236
#define VIRTUAL_BEARER_AGENT							AGENT_NAME		
williamr@2
  2237
#define VIRTUAL_BEARER_NIF								IF_NAME
williamr@2
  2238
williamr@2
  2239
/** Columns of the `VIRTUAL_SERVICE table` */
williamr@2
  2240
#define VPN_SERVICE_POLICY							_S("Policy")
williamr@2
  2241
#define VPN_SERVICE_IAP								_S("HomeIAP")
williamr@2
  2242
#define VPN_SERVICE_NETWORKID						_S("HomeNetwork")
williamr@2
  2243
williamr@2
  2244
/** Columns of the `WLAN_SERVICE table` */
williamr@2
  2245
#define WLAN_PROFILE								_S("Wlan_Profile")
williamr@2
  2246
#define WLAN_SSID									_S("Wlan_SSID")
williamr@2
  2247
#define WLAN_ENCRYPTION_STATUS						_S("Wlan_Encryption_Status")
williamr@2
  2248
#define WLAN_ENCRYPTION_TYPE						_S("Wlan_Encryption_Type")
williamr@2
  2249
#define WLAN_DEFAULT_WEP_KEY						_S("Wlan_Wep_Default_Key")
williamr@2
  2250
#define WLAN_ENCRYPT_KEY1_VALID						_S("Wlan_Key1_Valid")
williamr@2
  2251
#define WLAN_WEP_Key1								_S("Wlan_Wep_Key1")
williamr@2
  2252
#define WLAN_ENCRYPT_KEY2_VALID						_S("Wlan_Key2_Valid")
williamr@2
  2253
#define WLAN_WEP_KEY2								_S("Wlan_Wep_Key2")
williamr@2
  2254
#define WLAN_ENCRYPT_KEY3_VALID						_S("Wlan_Key3_Valid")
williamr@2
  2255
#define WLAN_WEP_KEY3								_S("Wlan_Wep_Key3")
williamr@2
  2256
#define WLAN_ENCRYPT_KEY4_VALID						_S("Wlan_Key4_Valid")
williamr@2
  2257
#define WLAN_WEP_KEY4								_S("Wlan_Wep_Key4")
williamr@2
  2258
#define WLANRANKING 								_S("Wlan_Ranking")
williamr@2
  2259
#define WLAN_DIALOG_PREF							_S("Wlan_Dialog_Pref")
williamr@2
  2260
#define WLAN_NETWORK_TYPE							_S("Wlan_Network_Type")
williamr@2
  2261
#define WLAN_FRAG_THRES								_S("Wlan_Frag_Threshold")
williamr@2
  2262
#define WLAN_RTS_THRES								_S("Wlan_RTS_Threshold")
williamr@2
  2263
#define WLAN_DES_TRANS_RATE							_S("Wlan_Desired_Transmit_Rate")
williamr@2
  2264
#define WLAN_BEACON_INT								_S("Wlan_Beacon_Int")
williamr@2
  2265
#define WLAN_CHANNEL_ID								_S("Wlan_Channel_ID")
williamr@2
  2266
#define WLAN_AUTHENTICATION_MODE					_S("Wlan_Authentication_Mode")
williamr@2
  2267
#define WLAN_POWERSAVE_MODE							_S("Wlan_Power_Save_Mode")
williamr@2
  2268
#define WLAN_ALLOW_UNENCRYPT_MODE					_S("Wlan_Allow_UnEncrypt_Mode")
williamr@2
  2269
#define WLAN_ALLOW_SHORT_PRE						_S("Wlan_Allow_Short_Preamble")
williamr@2
  2270
#define WLAN_PREAMBLE_TYPE							_S("Wlan_Preamble_Type")
williamr@2
  2271
#define WLAN_TX_POWER_LEVEL							_S("Wlan_TX_Power_Level")
williamr@2
  2272
#define WLAN_EAP_PRESHARED_KEY						_S("Wlan_EAP_Preshared_Key")
williamr@2
  2273
#define WLAN_REG_DOMAIN								_S("Wlan_Reglutory_Domain")
williamr@2
  2274
#define WLAN_SEC_DATA								_S("Wlan_Security_Data")
williamr@2
  2275
williamr@2
  2276
/** Columns of the `NETWORK table` */
williamr@2
  2277
#define HOST_NAME									_S("HostName")
williamr@2
  2278
williamr@2
  2279
/** Columns of the AccessPoint table */
williamr@2
  2280
#define ACCESS_POINT_GID                            _S("AccessPointGID")
williamr@2
  2281
williamr@2
  2282
#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
  2283
//Unfortunately in the vFuture environment both names are valid for the selectionpolicy field because the
williamr@2
  2284
//configuartion files...
williamr@2
  2285
#define ACCESS_POINT_POLICY	    					_S("SelectionPolicy")
williamr@2
  2286
#define OLD_ACCESS_POINT_POLICY	    				_S("AccessPointSelectionPolicy")
williamr@2
  2287
#define ACCESS_POINT_TIER		        			_S("Tier")
williamr@2
  2288
#define ACCESS_POINT_MCPR	    					_S("MCpr")
williamr@2
  2289
#define ACCESS_POINT_CPR	    					_S("Cpr")
williamr@2
  2290
#define ACCESS_POINT_CPRCONFIGID   					_S("CprConfig")
williamr@2
  2291
#define ACCESS_POINT_SCPR	    					_S("SCpr")
williamr@2
  2292
#define ACCESS_POINT_PROTOCOL	    				_S("Protocol")
williamr@2
  2293
#define ACCESS_POINT_APPSID	    					_S("AppSID")
williamr@2
  2294
#define ACCESS_POINT_CONFIG_AP_ID_LIST              _S("ConfigAPIdList")
williamr@2
  2295
#define ACCESS_POINT_CUSTOM_SELECTION_POLICY        _S("CustomSelectionPolicy")
williamr@2
  2296
williamr@2
  2297
#define TIER_THREAD_NAME							_S("TierThreadName")
williamr@2
  2298
#define TIER_MANAGER_NAME							_S("TierManagerName")
williamr@2
  2299
#define DEFAULT_ACCESS_POINT     					_S("DefaultAccessPoint")
williamr@2
  2300
williamr@2
  2301
#define MCPR_UID									_S("MCprUid")
williamr@2
  2302
#define CPR_UID										_S("CprUid")
williamr@2
  2303
#define SCPR_UID									_S("SCprUid")
williamr@2
  2304
#define PROTOCOL_UID								_S("ProtocolUid")
williamr@2
  2305
#define PROTOCOL_CONFIG_LOADER_UID                                              _S("ProtocolConfigLoaderUid")
williamr@2
  2306
williamr@2
  2307
#define PROTOCOL_CONFIG                                                         _S("ProtocolConfig")
williamr@2
  2308
#define LAYER_BELOW                                                             _S("LayerBelow")
williamr@2
  2309
williamr@2
  2310
#else
williamr@2
  2311
//in the old environment the original name is used.
williamr@2
  2312
#define ACCESS_POINT_POLICY	    					_S("AccessPointSelectionPolicy")
williamr@2
  2313
williamr@2
  2314
#endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
  2315
williamr@2
  2316
// need to preserve compatibility, soon to become internalTechnology
williamr@2
  2317
//#ifdef SYMBIAN_NETWORKING_WIFI
williamr@2
  2318
williamr@2
  2319
#define EAPSIM_PROTOCOL_ID							_S("ProtocolId")
williamr@2
  2320
#define EAPSIM_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
williamr@2
  2321
#define EAPSIM_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
williamr@2
  2322
#define EAPSIM_PROTOCOL_NAI_REALM 					_S("NaiRealm")
williamr@2
  2323
#define EAPSIM_PROTOCOL_MIN_RANDS 					_S("MinRands")
williamr@2
  2324
williamr@2
  2325
#define EAPAKA_PROTOCOL_ID							_S("ProtocolId")
williamr@2
  2326
#define EAPAKA_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
williamr@2
  2327
#define EAPAKA_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
williamr@2
  2328
#define EAPAKA_PROTOCOL_NAI_REALM 					_S("NaiRealm")
williamr@2
  2329
williamr@2
  2330
//#endif //SYMBIAN_NETWORKING_WIFI
williamr@2
  2331
williamr@2
  2332
#define SELECTION_POLICY_IAP1			    		_S("IAP1")
williamr@2
  2333
#define SELECTION_POLICY_IAP2			    		_S("IAP2")
williamr@2
  2334
#define SELECTION_POLICY_IAP3			    		_S("IAP3")
williamr@2
  2335
#define SELECTION_POLICY_IAP4			    		_S("IAP4")
williamr@2
  2336
#define SELECTION_POLICY_IAP5			    		_S("IAP5")
williamr@2
  2337
#define SELECTION_POLICY_IAP6			    		_S("IAP6")
williamr@2
  2338
#define SELECTION_POLICY_IAP7			    		_S("IAP7")
williamr@2
  2339
#define SELECTION_POLICY_IAP8			    		_S("IAP8")
williamr@2
  2340
#define SELECTION_POLICY_IAP9			    		_S("IAP9")
williamr@2
  2341
#define SELECTION_POLICY_IAP10			    		_S("IAP10")
williamr@2
  2342
#define SELECTION_POLICY_IAP11			    		_S("IAP11")
williamr@2
  2343
#define SELECTION_POLICY_IAP12			    		_S("IAP12")
williamr@2
  2344
#define SELECTION_POLICY_IAP13			    		_S("IAP13")
williamr@2
  2345
#define SELECTION_POLICY_IAP14			    		_S("IAP14")
williamr@2
  2346
#define SELECTION_POLICY_IAP15			    		_S("IAP15")
williamr@2
  2347
#define SELECTION_POLICY_IAPCOUNT                   _S("IAPCOUNT")
williamr@2
  2348
williamr@2
  2349
#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
  2350
#define SELECTION_POLICY_AP1			    		_S("AP1")
williamr@2
  2351
#define SELECTION_POLICY_AP2			    		_S("AP2")
williamr@2
  2352
#define SELECTION_POLICY_AP3			    		_S("AP3")
williamr@2
  2353
#define SELECTION_POLICY_AP4			    		_S("AP4")
williamr@2
  2354
#define SELECTION_POLICY_AP5			    		_S("AP5")
williamr@2
  2355
#define SELECTION_POLICY_AP6			    		_S("AP6")
williamr@2
  2356
#define SELECTION_POLICY_AP7			    		_S("AP7")
williamr@2
  2357
#define SELECTION_POLICY_AP8			    		_S("AP8")
williamr@2
  2358
#define SELECTION_POLICY_AP9			    		_S("AP9")
williamr@2
  2359
#define SELECTION_POLICY_AP10			    		_S("AP10")
williamr@2
  2360
#define SELECTION_POLICY_AP11			    		_S("AP11")
williamr@2
  2361
#define SELECTION_POLICY_AP12			    		_S("AP12")
williamr@2
  2362
#define SELECTION_POLICY_AP13			    		_S("AP13")
williamr@2
  2363
#define SELECTION_POLICY_AP14			    		_S("AP14")
williamr@2
  2364
#define SELECTION_POLICY_AP15			    		_S("AP15")
williamr@2
  2365
#define SELECTION_POLICY_APCOUNT                   _S("APCOUNT")
williamr@2
  2366
#endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
  2367
williamr@2
  2368
// need to preserve compatibility, soon to become internalTechnology
williamr@2
  2369
//#ifdef SYMBIAN_NETWORKING_WIFI
williamr@2
  2370
#define EAPSIM_PROTOCOL_ID							_S("ProtocolId")
williamr@2
  2371
#define EAPSIM_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
williamr@2
  2372
#define EAPSIM_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
williamr@2
  2373
#define EAPSIM_PROTOCOL_NAI_REALM 					_S("NaiRealm")
williamr@2
  2374
#define EAPSIM_PROTOCOL_MIN_RANDS 					_S("MinRands")
williamr@2
  2375
williamr@2
  2376
#define EAPAKA_PROTOCOL_ID							_S("ProtocolId")
williamr@2
  2377
#define EAPAKA_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
williamr@2
  2378
#define EAPAKA_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
williamr@2
  2379
#define EAPAKA_PROTOCOL_NAI_REALM 					_S("NaiRealm")
williamr@2
  2380
williamr@2
  2381
//#endif //SYMBIAN_NETWORKING_WIFI
williamr@2
  2382
williamr@2
  2383
/** Columns of the `EAP Security Settings table` */
williamr@2
  2384
#define	EAP_SEC_OUTER_EAP_TYPE	 					_S("OuterEapMethodType")
williamr@2
  2385
#define	EAP_SEC_ID  								_S("EapId")
williamr@2
  2386
#define	EAP_SEC_PASSWORD  							_S("EapPassword")
williamr@2
  2387
#define	EAP_SEC_CONFIGID							_S("ConfigId")
williamr@2
  2388
#define	EAP_SEC_DATA 								_S("EAP_Method_Data")
williamr@2
  2389
#ifdef SYMBIAN_WIFI_WPS
williamr@2
  2390
#define EAP_SEC_VENDORID                            _S("EapVendorId")
williamr@2
  2391
#define EAP_SEC_VENDORTYPE                          _S("EapVendorType")
williamr@2
  2392
#endif //SYMBIAN_WIFI_WPS
williamr@2
  2393
williamr@2
  2394
/** Columns of the `Tunnelled EAP Settings Table` */
williamr@2
  2395
#define	TUN_EAP_INNERTYPE	 						_S("InnerEapMethodType")
williamr@2
  2396
#define TUN_EAP_DATA 								_S("Tun_EAP_Method_Data")
williamr@2
  2397
williamr@2
  2398
/** Columns of the `EAP-TLS Settings Table` */				
williamr@2
  2399
#define	EAP_TLS_CLIENT_CERT_NAME					_S("ClientCertificateName")
williamr@2
  2400
williamr@2
  2401
/** Columns of the `LEAP Settings Table` */					
williamr@2
  2402
#define	EAP_LEAP_TIMEOUT					 			_S("LeapTimeout")
williamr@2
  2403
williamr@2
  2404
#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
  2405
/** Columns of the base `Params Table` */
williamr@2
  2406
#define	STYPEID										_S("STypeId")
williamr@2
  2407
williamr@2
  2408
/** Columns of the `PolicySelector Table` */
williamr@2
  2409
#define POLICYID									_S("PolicyId")
williamr@2
  2410
#define APPUID										_S("AppUid")
williamr@2
  2411
#define SRCADDRESS									_S("SrcAddress")
williamr@2
  2412
#define SRCMASK										_S("SrcMask")
williamr@2
  2413
#define DSTADDRESS									_S("DstAddress")
williamr@2
  2414
#define DSTMASK										_S("DstMask")
williamr@2
  2415
#define SRCPORT										_S("SrcPort")
williamr@2
  2416
#define DSTPORT										_S("DstPort")
williamr@2
  2417
#define SRCPORTMAX									_S("SrcPortMax")
williamr@2
  2418
#define DSTPORTMAX									_S("DstPortMax")
williamr@2
  2419
#define PROTOCOLID									_S("ProtocolId")
williamr@2
  2420
#define IAPID										_S("IapId")
williamr@2
  2421
#define PRIORITY									_S("Priority")
williamr@2
  2422
williamr@2
  2423
/** Columns of the `PolicySelector2Params Table` */
williamr@2
  2424
#define POLICYSELECTORID							_S("PolicySelectorId")
williamr@2
  2425
#define PARAMSID									_S("ParamsId")
williamr@2
  2426
williamr@2
  2427
/** Columns of the `GenericQos Table` */
williamr@2
  2428
#define DOWNLINKBANDWIDTH							_S("DownlinkBandwidth")
williamr@2
  2429
#define UPLINKBANDWIDTH								_S("UplinkBandwidth")
williamr@2
  2430
#define DOWNLINKMAXIMUMBURSTSIZE					_S("DownLinkMaximumBurstSize")
williamr@2
  2431
#define UPLINKMAXIMUMBURSTSIZE						_S("UpLinkMaximumBurstSize")
williamr@2
  2432
#define DOWNLINKAVERAGEPACKETSIZE					_S("DownLinkAveragePacketSize")
williamr@2
  2433
#define UPLINKAVERAGEPACKETSIZE						_S("UpLinkAveragePacketSize")
williamr@2
  2434
#define DOWNLINKMAXIMUMPACKETSIZE					_S("DownLinkMaximumPacketSize")
williamr@2
  2435
#define UPLINKMAXIMUMPACKETSIZE						_S("UpLinkMaximumPacketSize")
williamr@2
  2436
#define DOWNLINKDELAY								_S("DownLinkDelay")
williamr@2
  2437
#define UPLINKDELAY									_S("UpLinkDelay")
williamr@2
  2438
#define DOWNLINKDELAYVARIATION						_S("DownLinkDelayVariation")
williamr@2
  2439
#define UPLINKDELAYVARIATION						_S("UpLinkDelayVariation")
williamr@2
  2440
#define DOWNLINKPRIORITY							_S("DownLinkPriority")
williamr@2
  2441
#define UPLINKPRIORITY								_S("UpLinkPriority")
williamr@2
  2442
#define HEADERMODE									_S("HeaderMode")
williamr@2
  2443
//#define QOSNAME										_S("QosName")
williamr@2
  2444
williamr@2
  2445
// need to preserve compatibility, soon to become internalTechnology
williamr@2
  2446
//#ifdef SYMBIAN_NETWORKING_WIFI
williamr@2
  2447
/** Columns of the `WifiScanEngine Table` */
williamr@2
  2448
#define SCANPERIODMS								_S("ScanPeriodMs")
williamr@2
  2449
#define RSSIMIN										_S("RSSIMin")
williamr@2
  2450
#define RSSIMAX										_S("RSSIMax")		
williamr@2
  2451
//#endif //SYMBIAN_NETWORKING_WIFI
williamr@2
  2452
williamr@2
  2453
#endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
williamr@2
  2454
	
williamr@2
  2455
/** Enumerated sets and bitmasks for the modem speaker `MODEM_BEARER:MODEM_SPEAKER_PREF`. */
williamr@2
  2456
enum TCommsDbModemSpeakerSetting
williamr@2
  2457
	{
williamr@2
  2458
	/** Speaker always off. */
williamr@2
  2459
	EModemSpeakerSettingNever,
williamr@2
  2460
	/** Speaker on until the call has been answered. */
williamr@2
  2461
	EModemSpeakerSettingUntilCallAnswered,
williamr@2
  2462
	/** Speaker always on. */
williamr@2
  2463
	EModemSpeakerSettingAlways,
williamr@2
  2464
	/** Speaker on after dialing until answer. */
williamr@2
  2465
	EModemSpeakerSettingAfterDialUntilAnswer
williamr@2
  2466
	};
williamr@2
  2467
williamr@2
  2468
/** Enumeration used by `MODEM_BEARER:MODEM_SPEAKER_VOL_PREF` */
williamr@2
  2469
enum TCommsDbModemSpeakerVolume
williamr@2
  2470
	{
williamr@2
  2471
	/** Speaker off. */
williamr@2
  2472
	EModemSpeakerVolumeQuiet,
williamr@2
  2473
	/** Speaker volume set to medium. */
williamr@2
  2474
	EModemSpeakerVolumeMedium,
williamr@2
  2475
	/** Speaker volume set to loud. */
williamr@2
  2476
	EModemSpeakerVolumeLoud
williamr@2
  2477
	};
williamr@2
  2478
williamr@2
  2479
/** Bit mask used by `MODEM_BEARER:MODEM_COMM_ROLE` */
williamr@2
  2480
const TUint KModemCommRoleDCE = 0x1;
williamr@2
  2481
const TUint32 KLinkableFlagTag = 0x80000000;
williamr@2
  2482
williamr@2
  2483
/** Enumeration used by DIAL_*_ISP:ISP_TYPE, OUTGOING_WCDMA:GPRS_AP_TYPE and CDMA2000_PACKET_SERVICE_TABLE:CDMA_AP_TYPE. */
williamr@2
  2484
enum TCommsDbIspType
williamr@2
  2485
	{
williamr@2
  2486
	/** ISP internet only. */
williamr@2
  2487
	EIspTypeInternetOnly,
williamr@2
  2488
	/** ISP WAP only. */
williamr@2
  2489
	EIspTypeWAPOnly,
williamr@2
  2490
	/** ISP internet and WAP. */
williamr@2
  2491
	EIspTypeInternetAndWAP
williamr@2
  2492
	};
williamr@2
  2493
williamr@2
  2494
/** Enum used by DIAL_*_ISP:ISP_BEARER_TYPE. */
williamr@2
  2495
enum TCommsDbBearerType
williamr@2
  2496
	{
williamr@2
  2497
	/** CSD bearer. */
williamr@2
  2498
	EBearerTypeCSD,
williamr@2
  2499
	/** HSCSD bearer. */
williamr@2
  2500
	EBearerTypeHSCSD
williamr@2
  2501
	};
williamr@2
  2502
williamr@2
  2503
/** Enum used by WAP_*_BEARER:WAP_WSP_OPTION. */
williamr@2
  2504
enum TCommsDbWapWspOption
williamr@2
  2505
	{
williamr@2
  2506
	/** WAP WSP option set to connectionless. */
williamr@2
  2507
	EWapWspOptionConnectionless,
williamr@2
  2508
	/** WAP WSP option set to connection oriented. */
williamr@2
  2509
	EWapWspOptionConnectionOriented
williamr@2
  2510
	};
williamr@2
  2511
williamr@2
  2512
/** 
williamr@2
  2513
Enum for use in calls to `CCommsDatabase::OpenConnectionPrefTable*LC()`,
williamr@2
  2514
CCommsDatabase::OpenIAPTableViewMatchingBearerSetLC() and
williamr@2
  2515
CCommsDbConnectionPrefTableView::SwapConnectionPreferencesL()
williamr@2
  2516
*/
williamr@2
  2517
enum TCommDbConnectionDirection
williamr@2
  2518
	{
williamr@2
  2519
	/** Connection direction is unknown. */
williamr@2
  2520
	ECommDbConnectionDirectionUnknown,
williamr@2
  2521
	/** Connection direction is outgoing. */
williamr@2
  2522
	ECommDbConnectionDirectionOutgoing,
williamr@2
  2523
	/** Connection direction is incoming. */
williamr@2
  2524
	ECommDbConnectionDirectionIncoming
williamr@2
  2525
	};
williamr@2
  2526
williamr@2
  2527
/** Bitmask for use in calls to: CCommsDatabase::OpenIAPTableViewMatchingBearerSetLC() */
williamr@2
  2528
enum TCommDbBearer
williamr@2
  2529
	{
williamr@2
  2530
	/** Bearer support unknown. */
williamr@2
  2531
	KCommDbBearerUnknown = 0x0,
williamr@2
  2532
	/** CSD Bearer support. */
williamr@2
  2533
	KCommDbBearerCSD = 0x1,
williamr@2
  2534
	/** WCDMA Bearer support. */
williamr@2
  2535
	KCommDbBearerWcdma = 0x2,
williamr@2
  2536
	/** LAN Bearer support. */
williamr@2
  2537
	KCommDbBearerLAN = 0x4,
williamr@2
  2538
	/** CDMA2000 Bearer support. */	
williamr@2
  2539
	KCommDbBearerCdma2000 = 0x8,
williamr@2
  2540
	KCommDbBearerVirtual = 0x10,
williamr@2
  2541
	KCommDbBearerPAN = 0x20,
williamr@2
  2542
	KCommDbBearerWLAN = 0x40
williamr@2
  2543
	};
williamr@2
  2544
#define KCommDbBearerPSD (KCommDbBearerWcdma|KCommDbBearerCdma2000)
williamr@2
  2545
williamr@2
  2546
/** The dialog preference determines whether or not a user should be prompted with 
williamr@2
  2547
a dialog at connect time. Used in CCommsDbConnectionPrefTableView::UpdateDialogPrefL() */
williamr@2
  2548
enum TCommDbDialogPref
williamr@2
  2549
	{
williamr@2
  2550
	/** CommDB dialog preference is unknown. */
williamr@2
  2551
	ECommDbDialogPrefUnknown,
williamr@2
  2552
	/** Preference set to prompt user. */
williamr@2
  2553
	ECommDbDialogPrefPrompt,
williamr@2
  2554
	/** Preference set to warn user. */
williamr@2
  2555
	ECommDbDialogPrefWarn,
williamr@2
  2556
	/** Preference set not to prompt user. */
williamr@2
  2557
	ECommDbDialogPrefDoNotPrompt,
williamr@2
  2558
	/** Preference set to prompt user when in wrong mode. */
williamr@2
  2559
	ECommDbDialogPrefPromptIfWrongMode
williamr@2
  2560
	};
williamr@2
  2561
williamr@2
  2562
/** Enum for the global setting: GPRS_CLASS_C_BEARER. */
williamr@2
  2563
enum TCommDbGprsClassCBearer
williamr@2
  2564
	{
williamr@2
  2565
	/** GPRS Class C bearer. */
williamr@2
  2566
	ECommDbGprsClassCBearerGprs,
williamr@2
  2567
	/** GSM Class C bearer. */
williamr@2
  2568
	ECommDbGprsClassCBearerGsm
williamr@2
  2569
	};
williamr@2
  2570
williamr@2
  2571
/** Enum for use in calls to CCommsDatabase::NewL() */
williamr@2
  2572
enum TCommDbOpeningMethod
williamr@2
  2573
	{
williamr@2
  2574
	/** CommDB has been created. */
williamr@2
  2575
	ECommDbCreated = 0,
williamr@2
  2576
	/** CommDB Copied default. */
williamr@2
  2577
	ECommDbCopiedDefault,
williamr@2
  2578
	/** CommDB has been opened. */
williamr@2
  2579
	ECommDbOpened
williamr@2
  2580
	};
williamr@2
  2581
williamr@2
  2582
/** UIDs for system agent event notification */
williamr@2
  2583
williamr@2
  2584
/** The global setting `SMS_BEARER` has changed */
williamr@2
  2585
const TUid KUidCommDbSMSBearerChange = {0x10008F04};
williamr@2
  2586
/** The global setting `SMS_RECEIVE_MODE' has changed */
williamr@2
  2587
const TUid KUidCommDbSMSReceiveModeChange = {0x101F4AB0};
williamr@2
  2588
/** The global setting `GPRS_ATTACH_MODE' has changed */
williamr@2
  2589
const TUid KUidCommDbGPRSAttachModeChange = {0x100092BC};
williamr@2
  2590
williamr@2
  2591
/** The `MODEM_BEARER:MODEM_TSY_NAME` field has been written or a `MODEM` record has
williamr@2
  2592
	been deleted */
williamr@2
  2593
const TUid KUidCommDbModemTsyNameChange = {0x1000947f};
williamr@2
  2594
/** As `KUidCommDbModemTsyNameChange` above except only for a change in the
williamr@2
  2595
	record specified by the `MODEM_DATA_FAX` global setting */
williamr@2
  2596
const TUid KUidCommDbModemDataAndFaxChange =  {0x1000A43F} ;
williamr@2
  2597
/** As `KUidCommDbModemTsyNameChange` above except only for a change in the
williamr@2
  2598
	record specified by the `MODEM_PHONE_SERVICES_SMS` global setting */
williamr@2
  2599
const TUid KUidCommDbModemPhoneServicesAndSMSChange = {0x1000A440};
williamr@2
  2600
williamr@2
  2601
/** A record in the `DEFAULT_GPRS` table has been modified or deleted. */
williamr@2
  2602
const TUid KUidCommDbGPRSDefaultParamsChange = {0x10008F05};
williamr@2
  2603
/** A record in the `MODEM_BEARER` table has been modified or deleted. */
williamr@2
  2604
const TUid KUidCommDbModemRecordChange =  {0x1000A43D} ;
williamr@2
  2605
/** A record in the `PROXIES` table has been modified or deleted */
williamr@2
  2606
const TUid KUidCommDbProxiesRecordChange = {0x1000A43E};
williamr@2
  2607
williamr@2
  2608
/** Enum for DATABASE_TYPE field. 
williamr@2
  2609
Was deprecated in v7.0 but replaced for BC with v6.1 in v7.0s and v8.0. */
williamr@2
  2610
enum TCommDbDatabaseType
williamr@2
  2611
	{
williamr@2
  2612
	/** Unspecified database type. Any type of database can be opened with this parameter.*/
williamr@2
  2613
	EDatabaseTypeUnspecified =0,	
williamr@2
  2614
	/** The database has an IAP table, which defines sets of ISPs and chargecards that 
williamr@2
  2615
	may be used together. */
williamr@2
  2616
	EDatabaseTypeIAP,
williamr@2
  2617
	/** The database is arranged using separate ISP, location, modem and chargecard 
williamr@2
  2618
	tables whose records are not associated by using IAPs.
williamr@2
  2619
	
williamr@2
  2620
	ISP type databases are deprecated from version 6.1. */
williamr@2
  2621
	EDatabaseTypeISP
williamr@2
  2622
	};
williamr@2
  2623
williamr@2
  2624
williamr@2
  2625
/** Enum for the global setting `CDMA_OP_CAPABILITY` 
williamr@2
  2626
@publishedAll 
williamr@2
  2627
@released */
williamr@2
  2628
enum TCommDbCdmaOpCapability
williamr@2
  2629
	{
williamr@2
  2630
	/** Simple IP only supported. */
williamr@2
  2631
	ECommDbCdmaOpCapabilitySimpleIp = 0x1,
williamr@2
  2632
	/** Mobile IP only supported. */
williamr@2
  2633
	ECommDbCdmaOpCapabilityMobileIp = 0x2, 
williamr@2
  2634
	/** Mobile IP with Simple IP fallback supported. */
williamr@2
  2635
	ECommDbCdmaOpCapabilityFallback = 0x4  
williamr@2
  2636
	};
williamr@2
  2637
williamr@2
  2638
/** Enum for the global setting `CDMA_SIMIP_AUTH_SUPPORTED` 
williamr@2
  2639
@publishedAll 
williamr@2
  2640
@released */
williamr@2
  2641
enum TCommDbCdmaSimpIpAuthCapability
williamr@2
  2642
	{
williamr@2
  2643
	/** CHAP supported.  */
williamr@2
  2644
	ECommDbCdmaSimpIpCapabilityChap = 0x1, 
williamr@2
  2645
	/** PAP supported. */
williamr@2
  2646
	ECommDbCdmaSimpIpCapabilityPap = 0x2   
williamr@2
  2647
	};
williamr@2
  2648
williamr@2
  2649
/** Enum for the global settings `CDMA_MIP_MN_AAA_AUTH_ALGORITHM` and 'CDMA_MIP_MN_HA_AUTH_ALGORITHM' 
williamr@2
  2650
@publishedAll
williamr@2
  2651
@released */
williamr@2
  2652
enum TCommDbCdmaMIpAuthCapability
williamr@2
  2653
	{
williamr@2
  2654
	/**  MD5 authentication is supported (RFC 3012). */
williamr@2
  2655
	ECommDbCdmaMIpMd5 = 0x1 
williamr@2
  2656
	};
williamr@2
  2657
williamr@2
  2658
/** Enum for the field `DEFAULT_CDMA2000_SETTINGS_TABLE:CDMA_OP_MODE` 
williamr@2
  2659
@publishedAll 
williamr@2
  2660
@released */
williamr@2
  2661
enum TCommDbCdmaOpMode
williamr@2
  2662
	{
williamr@2
  2663
	/** Simple IP only. */
williamr@2
  2664
	ECommDbCdmaOpSimpleIp = 0x0,
williamr@2
  2665
	/** Mobile IP with Simple IP fallback. */	
williamr@2
  2666
	ECommDbCdmaOpFallback = 0x1,  
williamr@2
  2667
	/** Mobile IP only. */   
williamr@2
  2668
	ECommDbCdmaOpMobileIp = 0x2      
williamr@2
  2669
	};
williamr@2
  2670
williamr@2
  2671
/** Enum for the field `CDMA2000_PACKET_SERVICE_TABLE:CDMA_NAI_TYPE` 
williamr@2
  2672
@publishedAll 
williamr@2
  2673
@released */
williamr@2
  2674
enum TCommDbCdmaNaiType
williamr@2
  2675
	{
williamr@2
  2676
	/** Simple IP only. */
williamr@2
  2677
	ECommDbCdmaNaiSimpleIp = 0, 
williamr@2
  2678
	/** Mobile IP only. */
williamr@2
  2679
	ECommDbCdmaNaiMobileIp		
williamr@2
  2680
	};
williamr@2
  2681
williamr@2
  2682
/** Enum for the field `CDMA2000_PACKET_SERVICE_TABLE:CDMA_SIMIP_AUTH_ALGORITHM ` 
williamr@2
  2683
@publishedAll 
williamr@2
  2684
@released */
williamr@2
  2685
enum TCommDbCdmaSimpIpAuthAlgorithm
williamr@2
  2686
	{
williamr@2
  2687
	/** No authentication.*/
williamr@2
  2688
	ECommDbCdmaSimpIpAuthNone = 0x0,	 
williamr@2
  2689
	/** PPP CHAP authentication.  */
williamr@2
  2690
	ECommDbCdmaSimpIpAuthChap = 0x1,     
williamr@2
  2691
	/** PPP PAP authentication.*/
williamr@2
  2692
	ECommDbCdmaSimpIpAuthPap = 0x2,  
williamr@2
  2693
	/** PPP CHAP to PAP fallback. */
williamr@2
  2694
	ECommDbCdmaSimpIpAuthFallback = 0x3  
williamr@2
  2695
	};
williamr@2
  2696
williamr@2
  2697
/** Enum for the fields `CDMA2000_PACKET_SERVICE_TABLE:CDMA_MIP_MN_AAA_AUTH_ALGORITHM` and
williamr@2
  2698
	`CDMA2000_PACKET_SERVICE_TABLE:CDMA_MIP_MN_HA_AUTH_ALGORITHM`
williamr@2
  2699
@publishedAll
williamr@2
  2700
@released */
williamr@2
  2701
enum TCommDbCdmaMIpAuthAlgorithm
williamr@2
  2702
	{
williamr@2
  2703
	/** No authentication. */
williamr@2
  2704
	ECommDbCdmaMIpAuthNone = 0x0,	 
williamr@2
  2705
	/** MD5 authentication (IETF RFC 2002)*/
williamr@2
  2706
	ECommDbCdmaMIpAuthMd5 = 0x1		
williamr@2
  2707
	};
williamr@2
  2708
williamr@2
  2709
/** Enum for the fields `PAN_SERVICE_EXTENSION:PAN_LOCAL_ROLE` and
williamr@2
  2710
	`PAN_SERVICE_EXTENSION:PAN_REMOTE_ROLE`
williamr@2
  2711
@publishedAll
williamr@2
  2712
@released */
williamr@2
  2713
enum TCommDbBluetoothPanRole
williamr@2
  2714
	{
williamr@2
  2715
	/** Role not specified. */
williamr@2
  2716
	ECommDbPanRoleUnknown = 0x0000,
williamr@2
  2717
	/** PAN-U Role. */
williamr@2
  2718
	ECommDbPanRoleU = 0x1115,
williamr@2
  2719
	/** PAN-NAP Role. */	
williamr@2
  2720
	ECommDbPanRoleNap = 0x1116,
williamr@2
  2721
	/** PAN-GN Role. */
williamr@2
  2722
	ECommDbPanRoleGn = 0x1117
williamr@2
  2723
	};
williamr@2
  2724
	
williamr@2
  2725
/** ENum for the fields `WLAN_SERVICE_EXTENSION:EAP_SEC_OUTER_EAP_TYPE` */
williamr@2
  2726
enum TCommsDatEAPSECOuterEAPType
williamr@2
  2727
	{
williamr@2
  2728
	/** No Security */
williamr@2
  2729
	ECommsDatEAPSecNone = 0x0,
williamr@2
  2730
	/** EAP-MD5 */
williamr@2
  2731
	ECommsDatEAPSecEAPMD5 = 0x1,
williamr@2
  2732
	/** EAP-TLS */
williamr@2
  2733
	ECommsDatEAPSecEAPTLS = 0x2,
williamr@2
  2734
	/** EAP-TTLS */
williamr@2
  2735
	ECommsDatEAPSecEAPTTLS = 0x3,
williamr@2
  2736
	/** PEAP */
williamr@2
  2737
	ECommsDatEAPSecPEAP = 0x4,
williamr@2
  2738
	/** LEAP */
williamr@2
  2739
	ECommsDatEAPSecLEAP = 0x5,
williamr@2
  2740
	/** EAP-SIM */
williamr@2
  2741
	ECommsDatEAPSecEAPSIM = 0x6,
williamr@2
  2742
	/** EAP-AKA */
williamr@2
  2743
	ECommsDatEAPSecEAPAKA = 0x7,
williamr@2
  2744
#ifndef SYMBIAN_WIFI_WPS	
williamr@2
  2745
	/** EAP-MSCHAPv2 */
williamr@2
  2746
	ECommsDatEAPSecEAPMSCHAPv2 = 0x8
williamr@2
  2747
#else
williamr@2
  2748
	/** EAP-MSCHAPv2 */
williamr@2
  2749
	ECommsDatEAPSecEAPMSCHAPv2 = 0x8,
williamr@2
  2750
	/** EAP-WPS */
williamr@2
  2751
	ECommsDatEAPSecEAPWPS = 0x9
williamr@2
  2752
#endif // SYMBIAN_WIFI_WPS	
williamr@2
  2753
	};
williamr@2
  2754
williamr@2
  2755
/** ENum for the fields `WLAN_SERVICE_EXTENSION:TUN_EAP_INNERTYPE` */
williamr@2
  2756
enum TCommsDatTunEapInnerType
williamr@2
  2757
	{
williamr@2
  2758
	/** No Security */
williamr@2
  2759
	ECommsDatTunEapNone = 0x0,
williamr@2
  2760
	/** EAP-MD5 */
williamr@2
  2761
	ECommsDatTunEapEAPMD5 = 0x1,
williamr@2
  2762
	/** EAP-MSCHAPv2 */
williamr@2
  2763
	ECommsDatTunEapMSCHAPv2 = 0x8
williamr@2
  2764
	};
williamr@2
  2765
williamr@2
  2766
/** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_ENCRYPTION_TYPE` */
williamr@2
  2767
enum TCommsDatWlanEncrytionType
williamr@2
  2768
	{
williamr@2
  2769
	/** None */
williamr@2
  2770
	ECommsDatWlanEncryptionTypeNone = 0x0,
williamr@2
  2771
	/** Static WEP */
williamr@2
  2772
	ECommsDatWlanEncryptionTypeStaticWEP = 0x1,
williamr@2
  2773
	/** TKIP */
williamr@2
  2774
	ECommsDatWlanEncryptionTypeTKIP = 0x2,
williamr@2
  2775
	/** AES */
williamr@2
  2776
	ECommsDatWlanEncryptionTypeAES = 0x3
williamr@2
  2777
	/* Dynamic WEP */
williamr@2
  2778
	/*ECommsDatWlanEncryptionTypeDynamicWEP = 0x4*/
williamr@2
  2779
	};
williamr@2
  2780
williamr@2
  2781
/** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_DIALOG_PREF` */
williamr@2
  2782
enum TCommsDatWlanDialogPref
williamr@2
  2783
	{
williamr@2
  2784
	/** Unknown */
williamr@2
  2785
	ECommsDatWlanDialogPrefUnknown = 0x0,
williamr@2
  2786
	/** Prompt */
williamr@2
  2787
	ECommsDatWlanDialogPrefPrompt = 0x1,
williamr@2
  2788
	/** Do Not Prompt */
williamr@2
  2789
	ECommsDatWlanDialogPrefNoPrompt = 0x2,
williamr@2
  2790
	/** Warnings */
williamr@2
  2791
	ECommsDatWlanDialogPrefWarn = 0x3
williamr@2
  2792
	};
williamr@2
  2793
williamr@2
  2794
/** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_NETWORK_TYPE` */
williamr@2
  2795
enum TCommsDatWlanNetworkType
williamr@2
  2796
	{
williamr@2
  2797
	/** Infrastructure Network */
williamr@2
  2798
	ECommsDatWlanNetworkTypeInfrastructure = 0x0,
williamr@2
  2799
	/** Ad-Hoc / Independent Network */
williamr@2
  2800
	ECommsDatWlanNetworkTypeAdHoc = 0x1
williamr@2
  2801
	};
williamr@2
  2802
williamr@2
  2803
/** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_DES_TRANS_RATE` */
williamr@2
  2804
enum TCommsDatWlanDesTransRate
williamr@2
  2805
	{
williamr@2
  2806
	/** 1 Mbps */
williamr@2
  2807
	ECommsDatWlanDesTransRate1Mbps    = 0x02,
williamr@2
  2808
	/** 2 Mbps */
williamr@2
  2809
	ECommsDatWlanDesTransRate2Mbps    = 0x04,
williamr@2
  2810
	/** 5.5 Mbps */
williamr@2
  2811
	ECommsDatWlanDesTransRate5Mbps    = 0x0b,
williamr@2
  2812
	/** 6 Mbps */
williamr@2
  2813
	ECommsDatWlanDesTransRate6Mbps	= 0x0c,
williamr@2
  2814
	/** 9 Mbps */
williamr@2
  2815
	ECommsDatWlanDesTransRate9Mbps	= 0x12,
williamr@2
  2816
	/** 11 Mbps */
williamr@2
  2817
	ECommsDatWlanDesTransRate11Mbps   = 0x16,
williamr@2
  2818
	/** 12 Mbps */
williamr@2
  2819
	ECommsDatWlanDesTransRate12Mbps	= 0x18,
williamr@2
  2820
	/** 18 Mbps */
williamr@2
  2821
	ECommsDatWlanDesTransRate18Mbps	= 0x24,
williamr@2
  2822
	/** 22 Mbps */
williamr@2
  2823
	ECommsDatWlanDesTransRate22Mbps   = 0x2c,
williamr@2
  2824
	/** 24 Mbps */
williamr@2
  2825
	ECommsDatWlanDesTransRate24Mbps	= 0x30,
williamr@2
  2826
	/** 33 Mbps */
williamr@2
  2827
	ECommsDatWlanDesTransRate33Mbps	= 0x42,
williamr@2
  2828
	/** 36 Mbps */
williamr@2
  2829
	ECommsDatWlanDesTransRate36Mbps	= 0x48,
williamr@2
  2830
	/** 48 Mbps */
williamr@2
  2831
	ECommsDatWlanDesTransRate48Mbps	= 0x60,
williamr@2
  2832
	/** 54 Mbps */
williamr@2
  2833
	ECommsDatWlanDesTransRate54Mbps	= 0x6c,
williamr@2
  2834
	/** Automatic */
williamr@2
  2835
	ECommsDatWlanDesTransRateAuto = 0xff
williamr@2
  2836
	};
williamr@2
  2837
williamr@2
  2838
/** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_POWERSAVE_MODE` */
williamr@2
  2839
enum TCommsDatWlanPowerSaveMode
williamr@2
  2840
	{
williamr@2
  2841
	/** Disabled */
williamr@2
  2842
	ECommsDatWlanPowerSaveModeDisabled = 0x0,
williamr@2
  2843
	/** Fast Powersave mode */
williamr@2
  2844
	ECommsDatWlanPowerSaveModeFast = 0x1,
williamr@2
  2845
	/** Max Powersave mode */
williamr@2
  2846
	ECommsDatWlanPowerSaveModeMax = 0x2
williamr@2
  2847
	};
williamr@2
  2848
	
williamr@2
  2849
/** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_PREAMBLE_TYPE` */
williamr@2
  2850
enum TCommsDatWlanPreambleType
williamr@2
  2851
	{
williamr@2
  2852
	/** Short */
williamr@2
  2853
	ECommsDatWlanPreambleTypeShort = 0x0,
williamr@2
  2854
	/** Long */
williamr@2
  2855
	ECommsDatWlanPreambleTypeLong = 0x1
williamr@2
  2856
	};
williamr@2
  2857
williamr@2
  2858
/** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_REG_DOMAIN` */
williamr@2
  2859
enum TCommsDatWlanRegDomain
williamr@2
  2860
	{
williamr@2
  2861
	/** FCC - United States */
williamr@2
  2862
	ECommsDatWlanRegDomainFCC = 0x10,
williamr@2
  2863
	/** IC - Canada */
williamr@2
  2864
	ECommsDatWlanRegDomainIC = 0x20,
williamr@2
  2865
	/** ETSI - Most of Europe */
williamr@2
  2866
	ECommsDatWlanRegDomainETSI = 0x30,
williamr@2
  2867
	/** Spain */
williamr@2
  2868
	ECommsDatWlanRegDomainSpain = 0x31,
williamr@2
  2869
	/** France */
williamr@2
  2870
	ECommsDatWlanRegDomainFrance = 0x32,
williamr@2
  2871
	/** MKK - Japan */
williamr@2
  2872
	ECommsDatWlanRegDomainMKK = 0x40,
williamr@2
  2873
	/** World */
williamr@2
  2874
	ECommsDatWlanRegDomainWorld = 0xFF
williamr@2
  2875
	};
williamr@2
  2876
williamr@2
  2877
/** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_AUTHENTICATION_MODE` */
williamr@2
  2878
enum TCommsDatWlanAuthenticationMode
williamr@2
  2879
	{
williamr@2
  2880
	/** Open Authentication */
williamr@2
  2881
	ECommsDatWlanAuthenticationModeOpen,
williamr@2
  2882
	/** Shared Key */
williamr@2
  2883
	ECommsDatWlanAuthenticationModeShared,
williamr@2
  2884
	/** WPA */
williamr@2
  2885
	ECommsDatWlanAuthenticationModeWPA,
williamr@2
  2886
	/** WPA-PSK */
williamr@2
  2887
	ECommsDatWlanAuthenticationModeWPAPSK,
williamr@2
  2888
	/** Open Authentication using EAP */
williamr@2
  2889
	ECommsDatWlanAuthenticationModeOPENEAP,
williamr@2
  2890
	/** WPA2 */
williamr@2
  2891
	ECommsDatWlanAuthenticationModeWPA2,
williamr@2
  2892
#ifndef SYMBIAN_WIFI_WPS
williamr@2
  2893
	/* WPA2-PSK */
williamr@2
  2894
	ECommsDatWlanAuthenticationModeWPA2PSK
williamr@2
  2895
#else
williamr@2
  2896
	ECommsDatWlanAuthenticationModeWPA2PSK,
williamr@2
  2897
	/* EAP-WPS */
williamr@2
  2898
	ECommsDatWlanAuthenticationModeEapWps
williamr@2
  2899
#endif //SYMBIAN_WIFI_WPS	
williamr@2
  2900
	};
williamr@2
  2901
williamr@2
  2902
williamr@2
  2903
#endif //CDBCOLS_H