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