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