epoc32/include/cdbcols.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    13 // Description:
    13 // Description:
    14 // - General definitions for client use
    14 // - General definitions for client use
    15 // - Table and column names,
    15 // - Table and column names,
    16 // - Enums and constants use in tables,
    16 // - Enums and constants use in tables,
    17 // - UIDs for notifications
    17 // - UIDs for notifications
    18 // 
       
    19 //
    18 //
    20 
    19 //
    21 
       
    22 
    20 
    23 /**
    21 /**
    24  @file
    22  @file
    25  @publishedAll 
    23  @publishedAll
    26  @deprecated since v9.1. Functionality is replaced with commsdat.
    24  @deprecated since v9.1. Functionality is replaced with commsdat.
    27 */
    25 */
    28 
    26 
    29 
    27 
    30 #ifndef CDBCOLS_H
    28 #ifndef CDBCOLS_H
    45 /** Outgoing WCDMA table.
    43 /** Outgoing WCDMA table.
    46 */
    44 */
    47 #define OUTGOING_WCDMA									_S("OutgoingGPRS")
    45 #define OUTGOING_WCDMA									_S("OutgoingGPRS")
    48 /**
    46 /**
    49 Not used in v7.0 */
    47 Not used in v7.0 */
    50 #define INCOMING_WCDMA									_S("IncomingGPRS")	
    48 #define INCOMING_WCDMA									_S("IncomingGPRS")
    51 #define LAN_SERVICE										_S("LANService")	// test use only
    49 #define LAN_SERVICE										_S("LANService")	// test use only
    52 #define PAN_SERVICE_EXTENSIONS							_S("PANServiceExtensions")
    50 #define PAN_SERVICE_EXTENSIONS							_S("PANServiceExtensions")
    53 #define WLAN_SERVICE_EXTENSIONS							_S("WLANServiceExtensions")
    51 #define WLAN_SERVICE_EXTENSIONS							_S("WLANServiceExtensions")
    54 /**
    52 /**
    55 Identifier of modem settings table.
    53 Identifier of modem settings table.
    85 /** Bluetooth default table. */
    83 /** Bluetooth default table. */
    86 #define BT_DEFAULT_TABLE								_S("BTDefaultTable")
    84 #define BT_DEFAULT_TABLE								_S("BTDefaultTable")
    87 /** Bluetooth security table. */
    85 /** Bluetooth security table. */
    88 #define BT_SECURITY_TABLE								_S("BTSecurityTable")
    86 #define BT_SECURITY_TABLE								_S("BTSecurityTable")
    89 /** Bluetooth persist table. */
    87 /** Bluetooth persist table. */
    90 #define BT_PERSIST_TABLE								_S("BTPersistTable") 
    88 #define BT_PERSIST_TABLE								_S("BTPersistTable")
    91 /** Identifier of the sockets table.*/
    89 /** Identifier of the sockets table.*/
    92 #define SS_PROTO_TABLE									_S("SecureSocketTable")
    90 #define SS_PROTO_TABLE									_S("SecureSocketTable")
    93 /** Agent lookup table identifier*/
    91 /** Agent lookup table identifier*/
    94 #define AGENT_LOOKUP									_S("AgentLookup")
    92 #define AGENT_LOOKUP									_S("AgentLookup")
    95 /** CDMA2000 packet service table.*/
       
    96 #define CDMA2000_PACKET_SERVICE_TABLE					_S("CDMA2000PacketServiceTable")
       
    97 /** CDMA2000 default settings.*/
       
    98 #define DEFAULT_CDMA2000_SETTINGS_TABLE					_S("DefaultCDMA2000SettingsTable")
       
    99 #define VIRTUAL_BEARER									_S("VirtualBearer")
    93 #define VIRTUAL_BEARER									_S("VirtualBearer")
   100 #define VPN_SERVICE										_S("VpnService")
    94 #define VPN_SERVICE										_S("VpnService")
   101 #define WLAN_SERVICE_EXTENSION_TABLE					_S("WLANServiceExtensionTable")
    95 #define WLAN_SERVICE_EXTENSION_TABLE					_S("WLANServiceExtensionTable")
   102 
    96 
   103 #define ACCESS_POINT_TABLE								_S("AccessPointTable")
    97 #define ACCESS_POINT_TABLE								_S("AccessPointTable")
   104 #define IAP_PRIORITY_SELECTION_POLICY_TABLE				_S("IAPPrioritySelectionPolicyTable")
    98 #define IAP_PRIORITY_SELECTION_POLICY_TABLE				_S("IAPPrioritySelectionPolicyTable")
   105 #define XML_ACCESS_POINT_TABLE							_S("AccessPoint")
    99 #define XML_ACCESS_POINT_TABLE							_S("AccessPoint")
   106 
   100 
   107 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   108 
   101 
   109 #define AP_PRIORITY_SELECTION_POLICY_TABLE				_S("APPrioritySelectionPolicyTable")
   102 #define AP_PRIORITY_SELECTION_POLICY_TABLE				_S("APPrioritySelectionPolicyTable")
   110 #define TIER_TABLE										_S("TierTable")
   103 #define TIER_TABLE										_S("TierTable")
   111 #define MCPR_TABLE										_S("MCprTable")
   104 #define MCPR_TABLE										_S("MCprTable")
   112 #define CPR_TABLE										_S("CprTable")
   105 #define CPR_TABLE										_S("CprTable")
   122 #define XML_SCPR_TABLE									_S("SCpr")
   115 #define XML_SCPR_TABLE									_S("SCpr")
   123 #define XML_PROTOCOL_TABLE								_S("Protocol")
   116 #define XML_PROTOCOL_TABLE								_S("Protocol")
   124 #define XML_BEARER_TYPE_TABLE							_S("BearerType")
   117 #define XML_BEARER_TYPE_TABLE							_S("BearerType")
   125 #define XML_CONFIG_ACCESS_POINT_TABLE                                                       _S("ConfigAccessPoint")
   118 #define XML_CONFIG_ACCESS_POINT_TABLE                                                       _S("ConfigAccessPoint")
   126 
   119 
   127 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   128 
   120 
   129 #define	EAP_SEC_TABLE									_S("EAPSecuritySettingsTable")
   121 #define	EAP_SEC_TABLE									_S("EAPSecuritySettingsTable")
   130 #define	TUN_EAP_TABLE									_S("TunnelledEAPSettingsTable")
   122 #define	TUN_EAP_TABLE									_S("TunnelledEAPSettingsTable")
   131 #define	EAP_TLS_TABLE									_S("EAPTLSSettingsTable")
   123 #define	EAP_TLS_TABLE									_S("EAPTLSSettingsTable")
   132 #define	LEAP_TABLE										_S("LEAPSettingsTable")
   124 #define	LEAP_TABLE										_S("LEAPSettingsTable")
   133 #define EAPSIM_PROTOCOL_TABLE							_S("EapSimProtocolTable")
   125 #define EAPSIM_PROTOCOL_TABLE							_S("EapSimProtocolTable")
   134 #define EAPAKA_PROTOCOL_TABLE							_S("EapAkaProtocolTable")
   126 #define EAPAKA_PROTOCOL_TABLE							_S("EapAkaProtocolTable")
   135 
   127 
   136 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   137 
   128 
   138 #define POLICY_SELECTOR_TABLE                     		_S("PolicySelectorTable")
   129 #define POLICY_SELECTOR_TABLE                     		_S("PolicySelectorTable")
   139 #define XML_POLICY_SELECTOR_TABLE                 		_S("PolicySelector")
   130 #define XML_POLICY_SELECTOR_TABLE                 		_S("PolicySelector")
   140 
   131 
   141 #define POLICYSELECTOR2QOSPARAMETERS_TABLE 				_S("PolicySelector2QosParametersTable")
   132 #define POLICYSELECTOR2QOSPARAMETERS_TABLE 				_S("PolicySelector2QosParametersTable")
   142 #define XML_POLICYSELECTOR2QOSPARAMETERS_TABLE 			_S("PolicySelector2QosParameters")
   133 #define XML_POLICYSELECTOR2QOSPARAMETERS_TABLE 			_S("PolicySelector2QosParameters")
   143 
   134 
   144 #define GENERIC_QOS_TABLE 								_S("GenericQosTable")
   135 #define GENERIC_QOS_TABLE 								_S("GenericQosTable")
   145 #define XML_GENERIC_QOS_TABLE 							_S("GenericQos")
   136 #define XML_GENERIC_QOS_TABLE 							_S("GenericQos")
   146 
   137 
   147 // need to preserve compatibility, soon to become internalTechnology
   138 /**
   148 //#ifdef SYMBIAN_NETWORKING_WIFI
   139 @internalTechnology
       
   140 */
   149 #define WIFI_SCANENGINE_TABLE                     		_S("WifiScanEngineTable")
   141 #define WIFI_SCANENGINE_TABLE                     		_S("WifiScanEngineTable")
   150 //#endif //SYMBIAN_NETWORKING_WIFI
   142 
   151 
       
   152 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   153 
   143 
   154 
   144 
   155 //DEPRECATED : MODEM has been reassigned so as to maintain backwards compatibility
   145 //DEPRECATED : MODEM has been reassigned so as to maintain backwards compatibility
   156 /** Identifier of default modem.
   146 /** Identifier of default modem.
   157 
   147 
   169 // Note that Global table fields are accessed through CCommsDatabase.
   159 // Note that Global table fields are accessed through CCommsDatabase.
   170 //
   160 //
   171 /** Number of times to attempt redial when the ISP number is busy.
   161 /** Number of times to attempt redial when the ISP number is busy.
   172 
   162 
   173 Field type: TUint32 */
   163 Field type: TUint32 */
   174 #define REDIAL_ATTEMPTS									_S("RedialAttempts")				
   164 #define REDIAL_ATTEMPTS									_S("RedialAttempts")
   175 /** The bearer for sending SMS.
   165 /** The bearer for sending SMS.
   176 
   166 
   177 Values for this are defined by the enum RMobileSmsMessaging::TMobileSmsBearer
   167 Values for this are defined by the enum RMobileSmsMessaging::TMobileSmsBearer
   178 
   168 
   179 Field type: TUint32 */
   169 Field type: TUint32 */
   180 #define SMS_BEARER										_S("SmsBearer")				// Takes the values of RGprs::TSmsBearer from ETEL
   170 #define SMS_BEARER										_S("SmsBearer")				// Takes the values of RGprs::TSmsBearer from ETEL
   181 /** The SMS receive mode, taken from RMobileSmsMessaging::TMobileSmsReceiveMode.
   171 /** The SMS receive mode, taken from RMobileSmsMessaging::TMobileSmsReceiveMode.
   182 
   172 
   183 Field type: TUint32 */
   173 Field type: TUint32 */
   184 #define SMS_RECEIVE_MODE								_S("SmsReceiveMode")		// Takes the values of RMobileSmsMessaging::TMobileSmsReceiveMode from ETel MM
   174 #define SMS_RECEIVE_MODE								_S("SmsReceiveMode")		// Takes the values of RMobileSmsMessaging::TMobileSmsReceiveMode from ETel MM
   185 /** The GPRS attach mode, i.e. whether to attach at the boot-up of the device or 
   175 /** The GPRS attach mode, i.e. whether to attach at the boot-up of the device or
   186 at a later time.
   176 at a later time.
   187 
   177 
   188 Values for this are defined by the enum RPacketService::TAttachMode
   178 Values for this are defined by the enum RPacketService::TAttachMode
   189 Field type: TUint32 */
   179 Field type: TUint32 */
   190 #define GPRS_ATTACH_MODE								_S("GPRSAttachMode")				// Takes the values of RGprs::TGprsAttachMode from ETEL
   180 #define GPRS_ATTACH_MODE								_S("GPRSAttachMode")				// Takes the values of RGprs::TGprsAttachMode from ETEL
   191 /** Whether or not to allow incoming requests for PDP context activation to be automatically 
   181 /** Whether or not to allow incoming requests for PDP context activation to be automatically
   192 accepted (when there is a waiting application).
   182 accepted (when there is a waiting application).
   193 
   183 
   194 Use a TBool to specify the value.
   184 Use a TBool to specify the value.
   195 
   185 
   196 Field type: TUint32 */
   186 Field type: TUint32 */
   201 
   191 
   202 Field type: TUint32
   192 Field type: TUint32
   203 
   193 
   204 @see TCommDbGprsClassCBearer */
   194 @see TCommDbGprsClassCBearer */
   205 #define GPRS_CLASS_C_BEARER								_S("GPRSClassCBearer")				// Takes the values of TCommDbGprsClassCBearer
   195 #define GPRS_CLASS_C_BEARER								_S("GPRSClassCBearer")				// Takes the values of TCommDbGprsClassCBearer
   206 /** The number of connection attempts (preferences) to make. 
   196 /** The number of connection attempts (preferences) to make.
   207 
   197 
   208 This is limited to a maximum of 2.
   198 This is limited to a maximum of 2.
   209 
   199 
   210 Field type: TUint32 */
   200 Field type: TUint32 */
   211 #define CONNECTION_ATTEMPTS								_S("ConnectionAttempts")			// Number of connection preferences, with incremental rank, to try
   201 #define CONNECTION_ATTEMPTS								_S("ConnectionAttempts")			// Number of connection preferences, with incremental rank, to try
   219 #define MODEM_PHONE_SERVICES_SMS						_S("ModemForPhoneServicesAndSMS")
   209 #define MODEM_PHONE_SERVICES_SMS						_S("ModemForPhoneServicesAndSMS")
   220 /** Specifies the location to be used with the default modem for data transactions.
   210 /** Specifies the location to be used with the default modem for data transactions.
   221 
   211 
   222 Field type: TUint32 */
   212 Field type: TUint32 */
   223 #define LOCATION_DATA_FAX								_S("LocationForDataAndFax")
   213 #define LOCATION_DATA_FAX								_S("LocationForDataAndFax")
   224 /** Specifies the location to be used with default modem for phone services such 
   214 /** Specifies the location to be used with default modem for phone services such
   225 as SMS.
   215 as SMS.
   226 
   216 
   227 Field type: TUint32 */
   217 Field type: TUint32 */
   228 #define LOCATION_PHONE_SERVICES_SMS						_S("LocationForPhoneServicesAndSMS")
   218 #define LOCATION_PHONE_SERVICES_SMS						_S("LocationForPhoneServicesAndSMS")
   229 /** Maximum RMBuf heap size.
   219 /** Maximum RMBuf heap size.
   232 #define MAXMBUF_HEAP									_S("MaxMBufHeap")
   222 #define MAXMBUF_HEAP									_S("MaxMBufHeap")
   233 #define DEFAULT_AGENT									_S("DefaultAgent")
   223 #define DEFAULT_AGENT									_S("DefaultAgent")
   234 #define DEFAULT_NETWORK									_S("DefaultNetwork")
   224 #define DEFAULT_NETWORK									_S("DefaultNetwork")
   235 #define BEARER_AVAILABILITY_CHECK_TSY					_S("BearerAvailabilityCheckTSY")
   225 #define BEARER_AVAILABILITY_CHECK_TSY					_S("BearerAvailabilityCheckTSY")
   236 
   226 
   237 // The following fields define the specific CDMA parameters provisioned through OTA 
   227 // The following fields define the specific CDMA parameters provisioned through OTA
   238 // and  defined in TIA-683B section 3.5.8 
   228 // and  defined in TIA-683B section 3.5.8
   239 
   229 
   240 /** Operation capability bitmap to indicate which operations are supported by the MS. 
   230 /** Operation capability bitmap to indicate which operations are supported by the MS.
   241 Bit allocation:
   231 Bit allocation:
   242 
   232 
   243 bit 0 - SimpleIP supported
   233 bit 0 - SimpleIP supported
   244 
   234 
   245 bit 1 - MobileIP supported
   235 bit 1 - MobileIP supported
   246 
   236 
   247 bit 2 - MobileIP with simple IP fallback supported
   237 bit 2 - MobileIP with simple IP fallback supported
   248 
   238 
   249 bits 3-7 - reserved 
   239 bits 3-7 - reserved
   250 
   240 
   251 Field type: TUint32 */
   241 Field type: TUint32 */
   252 #define CDMA_OP_CAPABILITY								_S("CDMAOperationCapability")
   242 #define CDMA_OP_CAPABILITY								_S("CDMAOperationCapability")
   253 /** Maximum number of SimpleIP NAI entries.
   243 /** Maximum number of SimpleIP NAI entries.
   254 
   244 
   267 
   257 
   268 bit 0 - CHAP supported
   258 bit 0 - CHAP supported
   269 
   259 
   270 bit 1 - PAP supported
   260 bit 1 - PAP supported
   271 
   261 
   272 bits 2-7 - reserved 
   262 bits 2-7 - reserved
   273 
   263 
   274 Field type: TUint32 */
   264 Field type: TUint32 */
   275 #define CDMA_SIMIP_AUTH_SUPPORTED						_S("CDMASimpleIpAuthSupported")
   265 #define CDMA_SIMIP_AUTH_SUPPORTED						_S("CDMASimpleIpAuthSupported")
   276 /** Maximum number of mobile IP NAI entries.
   266 /** Maximum number of mobile IP NAI entries.
   277 
   267 
   288 /** Authentication algorithm bitmap (MN-AAA) supported by the mobile station.
   278 /** Authentication algorithm bitmap (MN-AAA) supported by the mobile station.
   289 Bit allocation:
   279 Bit allocation:
   290 
   280 
   291 bit 0 - MD5 authentication supported (RFC 3012)
   281 bit 0 - MD5 authentication supported (RFC 3012)
   292 
   282 
   293 bits 1-7 - reserved 
   283 bits 1-7 - reserved
   294 
   284 
   295 Field type: TUint32 */
   285 Field type: TUint32 */
   296 #define CDMA_MIP_MN_AAA_AUTH_ALGORITHM					_S("CDMAMobileIpMnAaaAuthAlgorithm")
   286 #define CDMA_MIP_MN_AAA_AUTH_ALGORITHM					_S("CDMAMobileIpMnAaaAuthAlgorithm")
   297 /** Maximum length of the shared secret data (MN-HA)
   287 /** Maximum length of the shared secret data (MN-HA)
   298 
   288 
   299 Field type: TUint32 */
   289 Field type: TUint32 */
   300 #define CDMA_MIP_MAX_MN_HA_SS_LENGTH					_S("CDMAMobileIpMaxMnHaSsLength")
   290 #define CDMA_MIP_MAX_MN_HA_SS_LENGTH					_S("CDMAMobileIpMaxMnHaSsLength")
   301 /** Authentication algorithm bitmap (MN-HA) supported by the mobile station. 
   291 /** Authentication algorithm bitmap (MN-HA) supported by the mobile station.
   302 Bit allocation:
   292 Bit allocation:
   303 
   293 
   304 bit 0 - MD5 authentication supported (RFC 3012)
   294 bit 0 - MD5 authentication supported (RFC 3012)
   305 
   295 
   306 bits 1-7 - reserved 
   296 bits 1-7 - reserved
   307 
   297 
   308 Field type: TUint32 */
   298 Field type: TUint32 */
   309 #define CDMA_MIP_MN_HA_AUTH_ALGORITHM					_S("CDMAMobileIpMnHaAuthAlgorithm")
   299 #define CDMA_MIP_MN_HA_AUTH_ALGORITHM					_S("CDMAMobileIpMnHaAuthAlgorithm")
   310 
   300 
   311 /** Prompt for an Access Point if used.
   301 /** Prompt for an Access Point if used.
   312 
   302 
   313 Field type: TBool*/
   303 Field type: TBool*/
   314 #define PROMPT_FOR_AP									_S("PromptForSnap")
   304 #define PROMPT_FOR_AP									_S("PromptForSnap")
   315 
   305 
   316 
       
   317 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
   318 
       
   319 /** If default Access Point is defined, use default Access Point. Otherwise use connection preferences.
   306 /** If default Access Point is defined, use default Access Point. Otherwise use connection preferences.
   320 
   307 
   321 Field type: TUint32 */
   308 Field type: TUint32 */
   322 #define DEFAULT_AP										_S("DefaultSnap")
   309 #define DEFAULT_AP										_S("DefaultSnap")
   323 
   310 
   324 #else
       
   325 
       
   326 /** This field differentiate the Bravo selection from the 399 selection
   311 /** This field differentiate the Bravo selection from the 399 selection
   327 (needed for implicit scenarios where prefs are not available).
   312 (needed for implicit scenarios where prefs are not available).
   328 
   313 
   329 Field type: TUint32 */
   314 Field type: TUint32 */
   330 #define DEFAULT_SNAP									_S("DefaultSnap")
   315 #define DEFAULT_SNAP									_S("DefaultSnap")
   336 
   321 
   337 /** Prompt the User.
   322 /** Prompt the User.
   338 
   323 
   339 Field type: TBool*/
   324 Field type: TBool*/
   340 #define PROMPT_USER									    _S("PromptUser")
   325 #define PROMPT_USER									    _S("PromptUser")
   341 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
   326 
   342 
   327 /** This field  defines the default or current IEEE 802.11 regulatory domain or country code.
   343 /** This field  defines the default or current IEEE 802.11 regulatory domain or country code. 
       
   344 Field type: TCommsDatWlanRegDomain */
   328 Field type: TCommsDatWlanRegDomain */
   345 #define REGULATORY_DOMAIN						_S("RegulatoryDomain")
   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")
   346 
   342 
   347 /**
   343 /**
   348 Maintained for backwards compatibility.
   344 Maintained for backwards compatibility.
   349 Specifies whether to show the connection dialog.
   345 Specifies whether to show the connection dialog.
   350 Field type: TUint32 (Boolean) 
   346 Field type: TUint32 (Boolean)
   351 @deprecated v7.0 */
   347 @deprecated v7.0 */
   352 #define ASK_USER_BEFORE_DIAL							_S("AskUserBeforeDial")		
   348 #define ASK_USER_BEFORE_DIAL							_S("AskUserBeforeDial")
   353 /** Identifier of default dial-out IAP.
   349 /** Identifier of default dial-out IAP.
   354 
   350 
   355 Field type: TUint32
   351 Field type: TUint32
   356 @deprecated v7.0 */
   352 @deprecated v7.0 */
   357 #define DIAL_OUT_IAP									_S("DialOutIAP")
   353 #define DIAL_OUT_IAP									_S("DialOutIAP")
   386 #define ECommDbBearerPAN								KCommDbBearerPAN
   382 #define ECommDbBearerPAN								KCommDbBearerPAN
   387 #define ECommDbBearerWLAN								KCommDbBearerWLAN
   383 #define ECommDbBearerWLAN								KCommDbBearerWLAN
   388 /** Avoids the need for lots of search & replace in migrations from v6.1 */
   384 /** Avoids the need for lots of search & replace in migrations from v6.1 */
   389 #define ECommDbBearerGPRS                               ECommDbBearerWcdma
   385 #define ECommDbBearerGPRS                               ECommDbBearerWcdma
   390 
   386 
   391 // Columns common to all tables 
   387 // Columns common to all tables
   392 /**Unique ID assigned by the server for identification of records by the server.
   388 /**Unique ID assigned by the server for identification of records by the server.
   393 
   389 
   394 Field type: TUint32 */
   390 Field type: TUint32 */
   395 #define COMMDB_ID										_S("Id")			// Id of the row
   391 #define COMMDB_ID										_S("Id")			// Id of the row
   396 /**Name of the record for easy identification by the user.
   392 /**Name of the record for easy identification by the user.
   397 
   393 
   398 This is not present in the some tables.
   394 This is not present in the some tables.
   399 Field type: Text. */
   395 Field type: Text. */
   400 #define COMMDB_NAME										_S("Name")			// Name of the row
   396 #define COMMDB_NAME										_S("Name")			// Name of the row
   401 
   397 
   402 // COMMDB_UNUSED_NAME with COMMDB_ID appended, is inserted in the name column of entries that 
   398 // COMMDB_UNUSED_NAME with COMMDB_ID appended, is inserted in the name column of entries that
   403 // have been deleted, but are required to be inserted by ceddump, inserted and subsequently 
   399 // have been deleted, but are required to be inserted by ceddump, inserted and subsequently
   404 // deleted by ced so that the COMMDB_ID indices are preserved. Such entries may be modified
   400 // deleted by ced so that the COMMDB_ID indices are preserved. Such entries may be modified
   405 // but ideally should not be deleted as this will require all the indices to be recalculated.
   401 // but ideally should not be deleted as this will require all the indices to be recalculated.
   406 _LIT(COMMDB_UNUSED_NAME, "__UNUSED_ENTRY_DO_NOT_DELETE__");
   402 _LIT(COMMDB_UNUSED_NAME, "__UNUSED_ENTRY_DO_NOT_DELETE__");
   407 
   403 
   408 // Columns for `IAP` table
   404 // Columns for `IAP` table
   415 #define IAP_DIALOG_PREF									_S("DialogPref")
   411 #define IAP_DIALOG_PREF									_S("DialogPref")
   416 /** Identifier of the service in this IAP.
   412 /** Identifier of the service in this IAP.
   417 
   413 
   418 Field type: TUint32. This field may not be left as NULL. */
   414 Field type: TUint32. This field may not be left as NULL. */
   419 #define IAP_SERVICE										_S("IAPService")
   415 #define IAP_SERVICE										_S("IAPService")
   420 /** Name of the service table (e.g. DIAL_OUT_ISP, OUTGOING_GPRS) 
   416 /** Name of the service table (e.g. DIAL_OUT_ISP, OUTGOING_GPRS)
   421 in this IAP.
   417 in this IAP.
   422 
   418 
   423 Field type: Text. This field may not be left as NULL. */
   419 Field type: Text. This field may not be left as NULL. */
   424 #define IAP_SERVICE_TYPE								_S("IAPServiceType")
   420 #define IAP_SERVICE_TYPE								_S("IAPServiceType")
   425 /** Identifier of the bearer in this IAP.
   421 /** Identifier of the bearer in this IAP.
   432 #define IAP_BEARER_TYPE									_S("IAPBearerType")
   428 #define IAP_BEARER_TYPE									_S("IAPBearerType")
   433 /** Identifier of the network in this IAP.
   429 /** Identifier of the network in this IAP.
   434 
   430 
   435 Field type: TUint32. This field may be left as NULL. */
   431 Field type: TUint32. This field may be left as NULL. */
   436 #define IAP_NETWORK										_S("IAPNetwork")
   432 #define IAP_NETWORK										_S("IAPNetwork")
   437 #ifdef SYMBIAN_NETWORKING_UMTSR5
       
   438 /** Identifier of the Application secure ID in this IAP.
   433 /** Identifier of the Application secure ID in this IAP.
   439 
   434 
   440 Field type: TUint32. This field may be left as NULL. */
   435 Field type: TUint32. This field may be left as NULL. */
   441 #define IAP_APPSID                                      _S("IAPAppSid")
   436 #define IAP_APPSID                                      _S("IAPAppSid")
   442 
   437 
   443 #endif //SYMBIAN_NETWORKING_UMTSR5
       
   444 /** Identifier of the weighting for networks in this IAP.
   438 /** Identifier of the weighting for networks in this IAP.
   445 
   439 
   446 Field type: TUint32. This field may be left as NULL. */
   440 Field type: TUint32. This field may be left as NULL. */
   447 #define IAP_NETWORK_WEIGHTING							_S("IAPNetworkWeighting")
   441 #define IAP_NETWORK_WEIGHTING							_S("IAPNetworkWeighting")
   448 /** Identifier of the location in this IAP.
   442 /** Identifier of the location in this IAP.
   452 //#define IAP_CHARGECARD									_S("Chargecard")
   446 //#define IAP_CHARGECARD									_S("Chargecard")
   453 
   447 
   454 #define BCA_STACK										_S("BCAStack") 						///< Comma separated list of BCAs, eg. C32BCA 
   448 #define BCA_STACK										_S("BCAStack") 						///< Comma separated list of BCAs, eg. C32BCA 
   455 
   449 
   456 // Columns common to all bearer tables using IP and PPP
   450 // Columns common to all bearer tables using IP and PPP
   457 #define IF_NAME											_S("IfName")						///< Interface name, e.g. "PPP" or "SLIP"
   451 #define IF_NAME											_S("IfName")						//< Interface name, e.g. "PPP" or "SLIP"
   458 
   452 
   459 // Columns common to all service tables using IP and PPP
   453 // Columns common to all service tables using IP and PPP
   460 #define SERVICE_IF_PARAMS								_S("IfParams")						///< Interface parameter string
   454 #define SERVICE_IF_PARAMS								_S("IfParams")						//< Interface parameter string
   461 #define SERVICE_IF_NETWORKS								_S("IfNetworks")					///< Comma separated list of network protocols, e.g. "PPP"
   455 #define SERVICE_IF_NETWORKS								_S("IfNetworks")					//< Comma separated list of network protocols, e.g. "PPP"
   462 
   456 
   463 
   457 
   464 /**  When using external IP configuration (MobileIP or DHCP), always reject PPP peer authentication requests.
   458 /**  When using external IP configuration (MobileIP or DHCP), always reject PPP peer authentication requests.
   465 If external IP configuration is used and this field is set to TRUE then peer authentication requests are always rejected.
   459 If external IP configuration is used and this field is set to TRUE then peer authentication requests are always rejected.
   466 If external IP configuration is used and this field is set to FALSE then PPP allows authentication to proceed (although it may still fail later). 
   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).
   467 If this field is not set or absent, the result is the same as when it is set to TRUE. */
   461 If this field is not set or absent, the result is the same as when it is set to TRUE. */
   468 #define SERVICE_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH	_S("IfExternIpConfigAlwaysRejectAuth")	
   462 #define SERVICE_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH	_S("IfExternIpConfigAlwaysRejectAuth")
   469 
   463 
   470 #define SERVICE_IF_PROMPT_FOR_AUTH						_S("IfPromptForAuth")				///< Prompt user for authentication name and password?
   464 #define SERVICE_IF_PROMPT_FOR_AUTH						_S("IfPromptForAuth")				//< Prompt user for authentication name and password?
   471 #define SERVICE_IF_AUTH_NAME							_S("IfAuthName")					///< Authentication username used by PPP
   465 #define SERVICE_IF_AUTH_NAME							_S("IfAuthName")					//< Authentication username used by PPP
   472 #define SERVICE_IF_AUTH_PASS							_S("IfAuthPass")					///< Authentication password used by PPP
   466 #define SERVICE_IF_AUTH_PASS							_S("IfAuthPass")					//< Authentication password used by PPP
   473 #define SERVICE_IF_AUTH_RETRIES							_S("AuthRetries")					///< No of times to retry authentication if it fails
   467 #define SERVICE_IF_AUTH_RETRIES							_S("AuthRetries")					//< No of times to retry authentication if it fails
   474 #define SERVICE_IF_CALLBACK_ENABLED						_S("IfCallbackEnabled")				///< Callback enabled?
   468 #define SERVICE_IF_CALLBACK_ENABLED						_S("IfCallbackEnabled")				//< Callback enabled?
   475 #define SERVICE_IF_CALLBACK_TYPE						_S("IfCallbackType")				///< Type of callback if enabled
   469 #define SERVICE_IF_CALLBACK_TYPE						_S("IfCallbackType")				//< Type of callback if enabled
   476 #define SERVICE_IF_CALLBACK_INFO						_S("IfCallbackInfo")				///< Info for callback request if enabled
   470 #define SERVICE_IF_CALLBACK_INFO						_S("IfCallbackInfo")				//< Info for callback request if enabled
   477 #define SERVICE_CALLBACK_TIMEOUT						_S("CallbackTimeout")				///< time to wait for callback
   471 #define SERVICE_CALLBACK_TIMEOUT						_S("CallbackTimeout")				//< time to wait for callback
   478 #define SERVICE_IF_SERVER_MODE							_S("IfServerMode")					///< PPP in server mode?
   472 #define SERVICE_IF_SERVER_MODE							_S("IfServerMode")					//< PPP in server mode?
   479 
   473 
   480 #define SERVICE_IP_ADDR_FROM_SERVER						_S("IpAddrFromServer")				///< Get IP address from server?
   474 #define SERVICE_IP_ADDR_FROM_SERVER						_S("IpAddrFromServer")				//< Get IP address from server?
   481 #define SERVICE_IP_ADDR									_S("IpAddr")						///< IP Address of Interface
   475 #define SERVICE_IP_ADDR									_S("IpAddr")						//< IP Address of Interface
   482 #define SERVICE_IP_NETMASK								_S("IpNetMask")						///< IP Netmask of Interface
   476 #define SERVICE_IP_NETMASK								_S("IpNetMask")						//< IP Netmask of Interface
   483 #define SERVICE_IP_GATEWAY								_S("IpGateway")						///< IP Address of Gateway
   477 #define SERVICE_IP_GATEWAY								_S("IpGateway")						//< IP Address of Gateway
   484 #define SERVICE_IP_DNS_ADDR_FROM_SERVER					_S("IpDNSAddrFromServer")			///< Get DNS addresses from server?
   478 #define SERVICE_IP_DNS_ADDR_FROM_SERVER					_S("IpDNSAddrFromServer")			//< Get DNS addresses from server?
   485 #define SERVICE_IP_NAME_SERVER1							_S("IpNameServer1")					///< IP Address of primary name server reachable through this interface
   479 #define SERVICE_IP_NAME_SERVER1							_S("IpNameServer1")					//< IP Address of primary name server reachable through this interface
   486 #define SERVICE_IP_NAME_SERVER2							_S("IpNameServer2")					///< IP Address of secondary name server reachable through this interface
   480 #define SERVICE_IP_NAME_SERVER2							_S("IpNameServer2")					//< IP Address of secondary name server reachable through this interface
   487 
   481 
   488 #define SERVICE_IP6_DNS_ADDR_FROM_SERVER					_S("Ip6DNSAddrFromServer")			///< Get DNS addresses from server?
   482 #define SERVICE_IP6_DNS_ADDR_FROM_SERVER					_S("Ip6DNSAddrFromServer")			//< Get DNS addresses from server?
   489 #define SERVICE_IP6_NAME_SERVER1							_S("Ip6NameServer1")					///< IP Address of primary name server reachable through this interface
   483 #define SERVICE_IP6_NAME_SERVER1							_S("Ip6NameServer1")					//< IP Address of primary name server reachable through this interface
   490 #define SERVICE_IP6_NAME_SERVER2							_S("Ip6NameServer2")					///< IP Address of secondary name server reachable through this interface
   484 #define SERVICE_IP6_NAME_SERVER2							_S("Ip6NameServer2")					//< IP Address of secondary name server reachable through this interface
   491 
   485 
   492 #define SERVICE_ENABLE_IP_HEADER_COMP	 				_S("EnableIPHeaderComp")			///< Enable IP header compression
   486 #define SERVICE_ENABLE_IP_HEADER_COMP	 				_S("EnableIPHeaderComp")			//< Enable IP header compression
   493 #define SERVICE_ENABLE_LCP_EXTENSIONS					_S("EnableLCPExtension")			///< Enable LCP extension
   487 #define SERVICE_ENABLE_LCP_EXTENSIONS					_S("EnableLCPExtension")			//< Enable LCP extension
   494 #define SERVICE_DISABLE_PLAIN_TEXT_AUTH					_S("DisablePlainTextAuth")			///< Disable plain text authentication
   488 #define SERVICE_DISABLE_PLAIN_TEXT_AUTH					_S("DisablePlainTextAuth")			//< Disable plain text authentication
   495 #define SERVICE_ENABLE_SW_COMP							_S("EnableSWComp")					///< Enable S/W compression
   489 #define SERVICE_ENABLE_SW_COMP							_S("EnableSWComp")					//< Enable S/W compression
   496 
   490 
   497 #define SERVICE_IP_ADDR_LEASE_VALID_FROM				_S("IpAddrLeaseValidFrom")			///< Start of address lease (.e.g. a DHCP assigned ip address)
   491 #define SERVICE_IP_ADDR_LEASE_VALID_FROM				_S("IpAddrLeaseValidFrom")			//< Start of address lease (.e.g. a DHCP assigned ip address)
   498 #define SERVICE_IP_ADDR_LEASE_VALID_TO					_S("IpAddrLeaseValidTo")			///< End 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)
   499 #define SERVICE_CONFIG_DAEMON_MANAGER_NAME				_S("ConfigDaemonManagerName")		///< Name of the ECOM daemon manager plug-in for NIFMAN used to load a specific configuration daemon (see the next field)
   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)
   500 #define SERVICE_CONFIG_DAEMON_NAME						_S("ConfigDaemonName")				///< Name of the daemon used for address configuration .e.g Dhcp, MobileIp
   494 #define SERVICE_CONFIG_DAEMON_NAME						_S("ConfigDaemonName")				//< Name of the daemon used for address configuration .e.g Dhcp, MobileIp
   501 
   495 
   502 /** Enable link-local multicast name resolution
   496 /** Enable link-local multicast name resolution
   503 
   497 
   504 Field type: TBool. This field may be left as NULL. */
   498 Field type: TBool. This field may be left as NULL. */
   505 #define SERVICE_ENABLE_LLMNR						_S("EnableLLMNR")
   499 #define SERVICE_ENABLE_LLMNR						_S("EnableLLMNR")
   506 #define ISP_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR	
   500 #define ISP_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   507 #define GPRS_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   501 #define GPRS_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   508 #define LAN_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   502 #define LAN_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   509 #define CDMA_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   503 #define CDMA_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   510 #define VPN_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   504 #define VPN_SERVICE_ENABLE_LLMNR					SERVICE_ENABLE_LLMNR
   511 
   505 
   637 #define ISP_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
   631 #define ISP_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
   638 
   632 
   639 #define ISP_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
   633 #define ISP_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
   640 #define ISP_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
   634 #define ISP_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
   641 
   635 
   642 /** Name of the ECOM configuration daemon manager component. 
   636 /** Name of the ECOM configuration daemon manager component.
   643 This component interfaces with the server identified in ISP_CONFIG_DAEMON_NAME.
   637 This component interfaces with the server identified in ISP_CONFIG_DAEMON_NAME.
   644 If specified, ISP_CONFIG_DAEMON_NAME should also be specified.
   638 If specified, ISP_CONFIG_DAEMON_NAME should also be specified.
   645 
   639 
   646 Field type: Text. This field may be left as NULL.  */
   640 Field type: Text. This field may be left as NULL.  */
   647 #define ISP_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
   641 #define ISP_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
   648 /** Name of the configuration daemon server. This server is used to 
   642 /** Name of the configuration daemon server. This server is used to
   649 provide further configuration for a connection, e.g. dynamic IP 
   643 provide further configuration for a connection, e.g. dynamic IP
   650 address assignment. If specified, ISP_CONFIG_DAEMON_MANAGER_NAME 
   644 address assignment. If specified, ISP_CONFIG_DAEMON_MANAGER_NAME
   651 should also be specified.
   645 should also be specified.
   652 
   646 
   653 Field type: Text. This field may be left as NULL.  */
   647 Field type: Text. This field may be left as NULL.  */
   654 #define ISP_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
   648 #define ISP_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
   655 
   649 
   672 
   666 
   673 /** The name of the bearer (RMobileCall::TMobileCallDataProtocol value)
   667 /** The name of the bearer (RMobileCall::TMobileCallDataProtocol value)
   674 
   668 
   675 Field type: TUint32. This field may be left as NULL. */
   669 Field type: TUint32. This field may be left as NULL. */
   676 #define ISP_BEARER_NAME									_S("BearerName")					// Bearer Name (for GSM)
   670 #define ISP_BEARER_NAME									_S("BearerName")					// Bearer Name (for GSM)
   677 /** Connection speed if this is an ISDN, HSCSD or other connection (RMobileCall::TMobileCallDataSpeed 
   671 /** Connection speed if this is an ISDN, HSCSD or other connection (RMobileCall::TMobileCallDataSpeed
   678 value).
   672 value).
   679 
   673 
   680 Field type: TUint32. This field may be left as NULL. */
   674 Field type: TUint32. This field may be left as NULL. */
   681 #define ISP_BEARER_SPEED								_S("BearerSpeed")					// Bearer Speed (for GSM)
   675 #define ISP_BEARER_SPEED								_S("BearerSpeed")					// Bearer Speed (for GSM)
   682 /** The bearer CE (RMobileCall::TMobileCallTchCoding value)
   676 /** The bearer CE (RMobileCall::TMobileCallTchCoding value)
   683 
   677 
   684 Field type: TUint32. This field may be left as NULL. */
   678 Field type: TUint32. This field may be left as NULL. */
   685 #define ISP_BEARER_CE									_S("BearerCE")						// Bearer CE (for GSM)
   679 #define ISP_BEARER_CE									_S("BearerCE")						// Bearer CE (for GSM)
   686 /** Modem initialization string to be used when this ISP is in use. This string 
   680 /** Modem initialization string to be used when this ISP is in use. This string
   687 will be copied into the MODEM_ISP_INIT_STRING field by RGenericAgent.
   681 will be copied into the MODEM_ISP_INIT_STRING field by RGenericAgent.
   688 
   682 
   689 Field type: TUint32. This field may be left as NULL. */
   683 Field type: TUint32. This field may be left as NULL. */
   690 #define ISP_INIT_STRING									_S("InitString")					// Init string specific to ISP, to be written into the MODEM_ISP_INIT_STRING by NetDial
   684 #define ISP_INIT_STRING									_S("InitString")					// Init string specific to ISP, to be written into the MODEM_ISP_INIT_STRING by NetDial
   691 
   685 
   703 #define ISP_AIUR										_S("AIUR")							// AIUR is HSCSD connection
   697 #define ISP_AIUR										_S("AIUR")							// AIUR is HSCSD connection
   704 /** Requested number of time slots for HSCSD.
   698 /** Requested number of time slots for HSCSD.
   705 
   699 
   706 Field type: TUint32. This field may be left as NULL. */
   700 Field type: TUint32. This field may be left as NULL. */
   707 #define ISP_REQUESTED_TIME_SLOTS						_S("RequestedTimeSlots")			// Requested time slots if HSCSD connection
   701 #define ISP_REQUESTED_TIME_SLOTS						_S("RequestedTimeSlots")			// Requested time slots if HSCSD connection
   708 /** Maximum number of time slots for HSCSD which could be requested during this 
   702 /** Maximum number of time slots for HSCSD which could be requested during this
   709 connection.
   703 connection.
   710 
   704 
   711 Field type: TUint32. This field may be left as NULL. */
   705 Field type: TUint32. This field may be left as NULL. */
   712 #define ISP_MAXIMUM_TIME_SLOTS							_S("MaximumTimeSlots")				// Maximum time slots if HSCSD connection
   706 #define ISP_MAXIMUM_TIME_SLOTS							_S("MaximumTimeSlots")				// Maximum time slots if HSCSD connection
   713 
   707 
   771 /** Use edge?
   765 /** Use edge?
   772 
   766 
   773 Field type: TBool. This field may be left as NULL. */
   767 Field type: TBool. This field may be left as NULL. */
   774 #define ISP_USE_EDGE									_S("UseEdge")
   768 #define ISP_USE_EDGE									_S("UseEdge")
   775 
   769 
   776 					
   770 
   777 
   771 
   778 // Columns for `OUTGOING_WCDMA` and `INCOMING_WCDMA` tables.
   772 // Columns for `OUTGOING_WCDMA` and `INCOMING_WCDMA` tables.
   779 // The following macros define values for the outgoing and incoming WCDMA table fields.
   773 // The following macros define values for the outgoing and incoming WCDMA table fields.
   780 // Both tables have the same set of fields.
   774 // Both tables have the same set of fields.
   781 /** Access point name.
   775 /** Access point name.
   820 /** Minimum quality of service delay class.
   814 /** Minimum quality of service delay class.
   821 
   815 
   822 Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
   816 Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
   823 #define GPRS_MIN_DELAY									_S("MinDelay")
   817 #define GPRS_MIN_DELAY									_S("MinDelay")
   824 /** Minimum quality of service reliability class.
   818 /** Minimum quality of service reliability class.
   825 		
   819 
   826 Field type: TUint32 from RPacketQoS::TQoSReliability. This field may be left as NULL.*/
   820 Field type: TUint32 from RPacketQoS::TQoSReliability. This field may be left as NULL.*/
   827 #define GPRS_MIN_RELIABILITY							_S("MinReliability")
   821 #define GPRS_MIN_RELIABILITY							_S("MinReliability")
   828 /** Minimum quality of service peak throughput class.
   822 /** Minimum quality of service peak throughput class.
   829 
   823 
   830 Field type: TUint32 from RPacketQoS::TQoSMeanThroughput. This field may be left as NULL. */
   824 Field type: TUint32 from RPacketQoS::TQoSMeanThroughput. This field may be left as NULL. */
   929 #define GPRS_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
   923 #define GPRS_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
   930 
   924 
   931 #define GPRS_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
   925 #define GPRS_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
   932 #define GPRS_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
   926 #define GPRS_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
   933 
   927 
   934 /** Name of the ECOM configuration daemon manager component. 
   928 /** Name of the ECOM configuration daemon manager component.
   935 This component interfaces with the server identified in GPRS_CONFIG_DAEMON_NAME.
   929 This component interfaces with the server identified in GPRS_CONFIG_DAEMON_NAME.
   936 If specified, GPRS_CONFIG_DAEMON_NAME should also be specified.
   930 If specified, GPRS_CONFIG_DAEMON_NAME should also be specified.
   937 
   931 
   938 Field type: Text. This field may be left as NULL.  */
   932 Field type: Text. This field may be left as NULL.  */
   939 #define GPRS_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
   933 #define GPRS_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
   940 /** Name of the configuration daemon server. This server is used to 
   934 /** Name of the configuration daemon server. This server is used to
   941 provide further configuration for a connection, e.g. dynamic IP 
   935 provide further configuration for a connection, e.g. dynamic IP
   942 address assignment. If specified, GPRS_CONFIG_DAEMON_MANAGER_NAME 
   936 address assignment. If specified, GPRS_CONFIG_DAEMON_MANAGER_NAME
   943 should also be specified.
   937 should also be specified.
   944 
   938 
   945 Field type: Text. This field may be left as NULL.  */
   939 Field type: Text. This field may be left as NULL.  */
   946 #define GPRS_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
   940 #define GPRS_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
   947 
   941 
   957 /** Service supports Internet only, WAP only or both.
   951 /** Service supports Internet only, WAP only or both.
   958 
   952 
   959 Field type: TUint32. This field may be left as NULL. */
   953 Field type: TUint32. This field may be left as NULL. */
   960 #define	GPRS_AP_TYPE									_S("GprsAccessPointType")
   954 #define	GPRS_AP_TYPE									_S("GprsAccessPointType")
   961 
   955 
   962 /** If the requested QOS can not be satisfied warn the user after this time in microseconds. 
   956 /** If the requested QOS can not be satisfied warn the user after this time in microseconds.
   963 Set to 0xffffffff to disable.
   957 Set to 0xffffffff to disable.
   964 
   958 
   965 Field type: TUint32. This field may be left as NULL. */
   959 Field type: TUint32. This field may be left as NULL. */
   966 #define GPRS_QOS_WARNING_TIMEOUT						_S("QosWarningTimeout")
   960 #define GPRS_QOS_WARNING_TIMEOUT						_S("QosWarningTimeout")
   967 
   961 
   970 Link to the Gprs R99 Parameters Table
   964 Link to the Gprs R99 Parameters Table
   971 Field type: TUint32. This field may be left as NULL
   965 Field type: TUint32. This field may be left as NULL
   972 */
   966 */
   973 #define QOS_UMTS_R99_AND_ON_TABLE 						_S("UmtsR99QoSAndOn")
   967 #define QOS_UMTS_R99_AND_ON_TABLE 						_S("UmtsR99QoSAndOn")
   974 
   968 
   975 // 
   969 //
   976 // Columns of the `QOS R99 Parameters` Table.
   970 // Columns of the `QOS R99 Parameters` Table.
   977 // 
   971 //
   978 #define GPRS_QOS_REQ_TRAFFIC_CLASS              _S("ReqTrafficClass")
   972 #define GPRS_QOS_REQ_TRAFFIC_CLASS              _S("ReqTrafficClass")
   979 #define GPRS_QOS_MIN_TRAFFIC_CLASS              _S("MinTrafficClass")
   973 #define GPRS_QOS_MIN_TRAFFIC_CLASS              _S("MinTrafficClass")
   980 #define GPRS_QOS_REQ_DELIVERY_ORDER	            _S("ReqDeliveryOrder")
   974 #define GPRS_QOS_REQ_DELIVERY_ORDER	            _S("ReqDeliveryOrder")
   981 #define GPRS_QOS_MIN_DELIVERY_ORDER	            _S("MinDeliveryOrder")
   975 #define GPRS_QOS_MIN_DELIVERY_ORDER	            _S("MinDeliveryOrder")
   982 #define GPRS_QOS_REQ_DELIVER_ERRONEOUS_SDU      _S("ReqDeliverErroneousSDU")
   976 #define GPRS_QOS_REQ_DELIVER_ERRONEOUS_SDU      _S("ReqDeliverErroneousSDU")
  1002 #define GPRS_QOS_SIGNALLING_INDICATION          _S("SignallingIndication")
   996 #define GPRS_QOS_SIGNALLING_INDICATION          _S("SignallingIndication")
  1003 #define GPRS_QOS_IM_CN_SIGNALLING_INDICATOR     _S("IMCNSignallingIndication")
   997 #define GPRS_QOS_IM_CN_SIGNALLING_INDICATOR     _S("IMCNSignallingIndication")
  1004 #define GPRS_QOS_SOURCE_STATISTICS_DESCRIPTOR   _S("SourceStatisticsDescriptor")
   998 #define GPRS_QOS_SOURCE_STATISTICS_DESCRIPTOR   _S("SourceStatisticsDescriptor")
  1005 
   999 
  1006 
  1000 
  1007 // 
  1001 //
  1008 // Columns of the `LAN_SERVICE` Table.
  1002 // Columns of the `LAN_SERVICE` Table.
  1009 // 
  1003 //
  1010 #define LAN_IF_NETWORKS									SERVICE_IF_NETWORKS
  1004 #define LAN_IF_NETWORKS									SERVICE_IF_NETWORKS
  1011 #define LAN_IP_NETMASK									SERVICE_IP_NETMASK
  1005 #define LAN_IP_NETMASK									SERVICE_IP_NETMASK
  1012 #define LAN_IP_GATEWAY									SERVICE_IP_GATEWAY
  1006 #define LAN_IP_GATEWAY									SERVICE_IP_GATEWAY
  1013 #define LAN_IP_ADDR_FROM_SERVER							SERVICE_IP_ADDR_FROM_SERVER
  1007 #define LAN_IP_ADDR_FROM_SERVER							SERVICE_IP_ADDR_FROM_SERVER
  1014 #define LAN_IP_ADDR										SERVICE_IP_ADDR
  1008 #define LAN_IP_ADDR										SERVICE_IP_ADDR
  1020 #define LAN_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
  1014 #define LAN_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
  1021 
  1015 
  1022 #define LAN_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
  1016 #define LAN_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
  1023 #define LAN_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
  1017 #define LAN_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
  1024 #define LAN_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
  1018 #define LAN_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
  1025 #define LAN_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME		
  1019 #define LAN_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
  1026 
  1020 
  1027 /** used when Bluetooth PAN profile or WLAN is in use */
  1021 /** used when Bluetooth PAN profile or WLAN is in use */
  1028 #define LAN_SERVICE_EXTENSION_TABLE_NAME				_S("LanServiceExtensionTableName")	
  1022 #define LAN_SERVICE_EXTENSION_TABLE_NAME				_S("LanServiceExtensionTableName")
  1029 #define LAN_SERVICE_EXTENSION_TABLE_RECORD_ID			_S("LanServiceExtensionTableRecordId")
  1023 #define LAN_SERVICE_EXTENSION_TABLE_RECORD_ID			_S("LanServiceExtensionTableRecordId")
  1030 
  1024 
  1031 // 
  1025 //
  1032 // Columns of the `PAN_SERVICE_EXTENSION` Table.
  1026 // Columns of the `PAN_SERVICE_EXTENSION` Table.
  1033 // 
  1027 //
  1034 
  1028 
  1035 /** PAN role that the local device will act in. To dynamically select a role, use ECommDbPanRoleUnknown.
  1029 /** PAN role that the local device will act in. To dynamically select a role, use ECommDbPanRoleUnknown.
  1036 Field type: TCommDbBluetoothPanRole.*/
  1030 Field type: TCommDbBluetoothPanRole.*/
  1037 #define PAN_LOCAL_ROLE									_S("LocalRole")
  1031 #define PAN_LOCAL_ROLE									_S("LocalRole")
  1038 /** PAN role that the remote device will act in. To dynamically select a role, use ECommDbPanRoleUnknown.
  1032 /** PAN role that the remote device will act in. To dynamically select a role, use ECommDbPanRoleUnknown.
  1051 Field type: TBool*/
  1045 Field type: TBool*/
  1052 #define PAN_ALLOW_INCOMING								_S("AllowIncomingConnections")
  1046 #define PAN_ALLOW_INCOMING								_S("AllowIncomingConnections")
  1053 /** Whether the agent should prompt the user to select the remote device to which we will connect if we cannot connect to any device specified in the MAC list.
  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.
  1054 Field type: TBool*/
  1048 Field type: TBool*/
  1055 #define PAN_PROMPT_IF_MAC_LIST_FAILS					_S("PromptIfMACListFails")
  1049 #define PAN_PROMPT_IF_MAC_LIST_FAILS					_S("PromptIfMACListFails")
  1056 #ifdef SYMBIAN_NETWORKING_DHCPSERVER
       
  1057 /** Whether the device is enabled for NAP service (to be used as a modem) for a particular connection
  1050 /** Whether the device is enabled for NAP service (to be used as a modem) for a particular connection
  1058 Field type: TBool
  1051 Field type: TBool
  1059 */
  1052 */
  1060 #define PAN_NAP_SERVICE_ENABLED							_S("NapServiceEnabled")
  1053 #define PAN_NAP_SERVICE_ENABLED							_S("NapServiceEnabled")
  1061 #endif // SYMBIAN_NETWORKING_DHCPSERVER
       
  1062 
  1054 
  1063 /** Columns of all bearer tables */
  1055 /** Columns of all bearer tables */
  1064 #define AGENT_NAME								_S("Agent")
  1056 #define AGENT_NAME								_S("Agent")
  1065 #define LAST_SOCKET_ACTIVITY_TIMEOUT				_S("LastSocketActivityTimeout")
  1057 #define LAST_SOCKET_ACTIVITY_TIMEOUT				_S("LastSocketActivityTimeout")
  1066 #define LAST_SESSION_CLOSED_TIMEOUT				_S("LastSessionClosedTimeout")
  1058 #define LAST_SESSION_CLOSED_TIMEOUT				_S("LastSessionClosedTimeout")
  1169 Field type: 8-Bit Text. This field may be left as NULL. */
  1161 Field type: 8-Bit Text. This field may be left as NULL. */
  1170 #define MODEM_FAX_INIT_STRING							_S("FaxInitString")
  1162 #define MODEM_FAX_INIT_STRING							_S("FaxInitString")
  1171 /** ISP Initialisation string. This field is written from the ISP_INIT_STRING.  Should not be accessed by user.
  1163 /** ISP Initialisation string. This field is written from the ISP_INIT_STRING.  Should not be accessed by user.
  1172 
  1164 
  1173 Field type: 8-Bit Text. This field may be left as NULL. */
  1165 Field type: 8-Bit Text. This field may be left as NULL. */
  1174 #define MODEM_ISP_INIT_STRING							_S("IspInitString")				// To be written by NetDial from ISP_INIT_STRING.  
  1166 #define MODEM_ISP_INIT_STRING							_S("IspInitString")				// To be written by NetDial from ISP_INIT_STRING.
  1175 
  1167 
  1176 /** Command to modify the pause created during dialling using the comma character 
  1168 /** Command to modify the pause created during dialling using the comma character
  1177 (',')
  1169 (',')
  1178 
  1170 
  1179 Field type: 8-Bit Text. This field may be left as NULL. */
  1171 Field type: 8-Bit Text. This field may be left as NULL. */
  1180 #define MODEM_DIAL_PAUSE_LENGTH							_S("DialPauseLength")
  1172 #define MODEM_DIAL_PAUSE_LENGTH							_S("DialPauseLength")
  1181 /** Command to set the time out the modem uses when establishing a link before 
  1173 /** Command to set the time out the modem uses when establishing a link before
  1182 giving up and returning to command mode.
  1174 giving up and returning to command mode.
  1183 
  1175 
  1184 Field type: 8-Bit Text. This field may be left as NULL. */
  1176 Field type: 8-Bit Text. This field may be left as NULL. */
  1185 #define MODEM_CARRIER_TIMEOUT							_S("CarrierTimeout")
  1177 #define MODEM_CARRIER_TIMEOUT							_S("CarrierTimeout")
  1186 /** Command to set the number of rings before the modem auto answers.
  1178 /** Command to set the number of rings before the modem auto answers.
  1266 #define MODEM_RESET_CONFIGURATION						_S("ResetConfiguration")
  1258 #define MODEM_RESET_CONFIGURATION						_S("ResetConfiguration")
  1267 /** Return the modem configuration to its factory defaults.
  1259 /** Return the modem configuration to its factory defaults.
  1268 
  1260 
  1269 Field type: 8-Bit Text. This field may be left as NULL. */
  1261 Field type: 8-Bit Text. This field may be left as NULL. */
  1270 #define MODEM_RETURN_TO_FACTORY_DEFS					_S("ReturnToFactoryDefs")
  1262 #define MODEM_RETURN_TO_FACTORY_DEFS					_S("ReturnToFactoryDefs")
  1271 /** Command the modem to only assert DCD when a carrier is actually detected, i.e. 
  1263 /** Command the modem to only assert DCD when a carrier is actually detected, i.e.
  1272 while the link is up.
  1264 while the link is up.
  1273 
  1265 
  1274 Field type: 8-Bit Text. This field may be left as NULL. */
  1266 Field type: 8-Bit Text. This field may be left as NULL. */
  1275 #define MODEM_DCD_ON_DURING_LINK						_S("DCDOnDuringLink")
  1267 #define MODEM_DCD_ON_DURING_LINK						_S("DCDOnDuringLink")
  1276 /** Command the modem to hang up the current call when the DTE drops the DTR line.
  1268 /** Command the modem to hang up the current call when the DTE drops the DTR line.
  1382 #define MODEM_COMM_ROLE									_S("CommRole")
  1374 #define MODEM_COMM_ROLE									_S("CommRole")
  1383 
  1375 
  1384 /*Field type: TUint32. This field may be left as NULL. This is a TCommsDbBearerType value. */
  1376 /*Field type: TUint32. This field may be left as NULL. This is a TCommsDbBearerType value. */
  1385 #define BEARER_TECHNOLOGY								_S("BearerTechnology")
  1377 #define BEARER_TECHNOLOGY								_S("BearerTechnology")
  1386 
  1378 
  1387 // Columns of the 'LAN Bearer' table 
  1379 // Columns of the 'LAN Bearer' table
  1388 #define LAN_BEARER_AGENT								AGENT_NAME
  1380 #define LAN_BEARER_AGENT								AGENT_NAME
  1389 #define LAN_BEARER_NIF_NAME								IF_NAME
  1381 #define LAN_BEARER_NIF_NAME								IF_NAME
  1390 #define LAN_BEARER_LDD_FILENAME							_S("LDDFilename")
  1382 #define LAN_BEARER_LDD_FILENAME							_S("LDDFilename")
  1391 #define LAN_BEARER_LDD_NAME								_S("LDDName")
  1383 #define LAN_BEARER_LDD_NAME								_S("LDDName")
  1392 #define LAN_BEARER_PDD_FILENAME							_S("PDDFilename")
  1384 #define LAN_BEARER_PDD_FILENAME							_S("PDDFilename")
  1435 /** Pause time after dial out.
  1427 /** Pause time after dial out.
  1436 
  1428 
  1437 Field type: TUint32. This field may not be left as NULL. */
  1429 Field type: TUint32. This field may not be left as NULL. */
  1438 #define LOCATION_PAUSE_AFTER_DIAL_OUT					_S("PauseAfterDialout")
  1430 #define LOCATION_PAUSE_AFTER_DIAL_OUT					_S("PauseAfterDialout")
  1439 
  1431 
  1440 // Columns of the `CHARGECARD` table 
  1432 // Columns of the `CHARGECARD` table
  1441 // The following macros define values for the Chargecard table fields.
  1433 // The following macros define values for the Chargecard table fields.
  1442 /** Account number.
  1434 /** Account number.
  1443 
  1435 
  1444 Field type: Text. This field may be left as NULL. */
  1436 Field type: Text. This field may be left as NULL. */
  1445 #define CHARGECARD_ACCOUNT_NUMBER						_S("AccountNumber")
  1437 #define CHARGECARD_ACCOUNT_NUMBER						_S("AccountNumber")
  1464 // The following macros define values for the Proxies table fields.
  1456 // The following macros define values for the Proxies table fields.
  1465 /** Identifier of the associated ISP record.
  1457 /** Identifier of the associated ISP record.
  1466 
  1458 
  1467 Field type: TUint32. This field may not be left as NULL.*/
  1459 Field type: TUint32. This field may not be left as NULL.*/
  1468 #define PROXY_ISP										_S("ISP")							// ISP with which these proxies are associated
  1460 #define PROXY_ISP										_S("ISP")							// ISP with which these proxies are associated
  1469 /** The table from which the PROXY_ISP has been taken. 
  1461 /** The table from which the PROXY_ISP has been taken.
  1470 
  1462 
  1471 This is necessary as GPRS records as well as ISP records can have proxy settings 
  1463 This is necessary as GPRS records as well as ISP records can have proxy settings
  1472 associated with them. 
  1464 associated with them.
  1473 
  1465 
  1474 If this field is read and its length is zero, the value DIAL_OUT_ISP is returned, 
  1466 If this field is read and its length is zero, the value DIAL_OUT_ISP is returned,
  1475 as it is assumed that any client that has not written this field is assuming 
  1467 as it is assumed that any client that has not written this field is assuming
  1476 that proxies are only available to the dial out ISP and not other service 
  1468 that proxies are only available to the dial out ISP and not other service
  1477 types.
  1469 types.
  1478 
  1470 
  1479 Field type: Text. This field may be left as NULL. */
  1471 Field type: Text. This field may be left as NULL. */
  1480 #define PROXY_SERVICE_TYPE								_S("ProxyServiceType")
  1472 #define PROXY_SERVICE_TYPE								_S("ProxyServiceType")
  1481 /** Use proxy server?
  1473 /** Use proxy server?
  1492 #define PROXY_PROTOCOL_NAME								_S("ProtocolName")
  1484 #define PROXY_PROTOCOL_NAME								_S("ProtocolName")
  1493 /** Port number.
  1485 /** Port number.
  1494 
  1486 
  1495 Field type: TUint32. This field may be left as NULL. */
  1487 Field type: TUint32. This field may be left as NULL. */
  1496 #define PROXY_PORT_NUMBER								_S("PortNumber")
  1488 #define PROXY_PORT_NUMBER								_S("PortNumber")
  1497 /** Semi-colon separated list of the addresses for which the proxy server should 
  1489 /** Semi-colon separated list of the addresses for which the proxy server should
  1498 not be used.
  1490 not be used.
  1499 
  1491 
  1500 Field type: Long Text. This field may be left as NULL. */
  1492 Field type: Long Text. This field may be left as NULL. */
  1501 #define PROXY_EXCEPTIONS								_S("Exceptions")
  1493 #define PROXY_EXCEPTIONS								_S("Exceptions")
  1502 
  1494 
  1503 // Columns of the `WAP_ACCESS_POINT` table. The following macros define values 
  1495 // Columns of the `WAP_ACCESS_POINT` table. The following macros define values
  1504 // for the WAP access point table fields.
  1496 // for the WAP access point table fields.
  1505 /** Text string indicating the name of the table from which to read the bearer 
  1497 /** Text string indicating the name of the table from which to read the bearer
  1506 information.
  1498 information.
  1507 
  1499 
  1508 This can be WAP_IP_BEARER or WAP_SMS_BEARER.
  1500 This can be WAP_IP_BEARER or WAP_SMS_BEARER.
  1509 
  1501 
  1510 Field type: Text. This field may not be left as NULL. */
  1502 Field type: Text. This field may not be left as NULL. */
  1514 Field type: Text. This field may be left as NULL. */
  1506 Field type: Text. This field may be left as NULL. */
  1515 #define WAP_START_PAGE									_S("StartPage")
  1507 #define WAP_START_PAGE									_S("StartPage")
  1516 
  1508 
  1517 // Columns common to the `WAP_IP_BEARER` and `WAP_SMS_BEARER` tables.
  1509 // Columns common to the `WAP_IP_BEARER` and `WAP_SMS_BEARER` tables.
  1518 // The following macros define values for the WAP IP bearer and WAP SMS bearer table fields.
  1510 // The following macros define values for the WAP IP bearer and WAP SMS bearer table fields.
  1519 // These tables have no COMMDB_NAME field. 
  1511 // These tables have no COMMDB_NAME field.
  1520 /** ID of the  WAP Access Point record to which this bearer information refers.
  1512 /** ID of the  WAP Access Point record to which this bearer information refers.
  1521 
  1513 
  1522 Field type: TUint32. This field may not be left as NULL.*/
  1514 Field type: TUint32. This field may not be left as NULL.*/
  1523 #define WAP_ACCESS_POINT_ID								_S("AccessPointId")
  1515 #define WAP_ACCESS_POINT_ID								_S("AccessPointId")
  1524 /** WAP gateway address: an IP address or phone number.
  1516 /** WAP gateway address: an IP address or phone number.
  1538 
  1530 
  1539 // Additional Columns of the `WAP_IP_BEARER` table.
  1531 // Additional Columns of the `WAP_IP_BEARER` table.
  1540 /** Identifier of a record in the IAP table to be used.
  1532 /** Identifier of a record in the IAP table to be used.
  1541 
  1533 
  1542 Field type: TUint32. This field may be left as NULL. */
  1534 Field type: TUint32. This field may be left as NULL. */
  1543 #define WAP_IAP											_S("IAP")								
  1535 #define WAP_IAP											_S("IAP")
  1544 /** Proxy port number. Required for WAP2.0 only.
  1536 /** Proxy port number. Required for WAP2.0 only.
  1545 
  1537 
  1546 Field type: TUint32. This field may not be left as NULL. */
  1538 Field type: TUint32. This field may not be left as NULL. */
  1547 #define WAP_PROXY_PORT									_S("ProxyPortNumber")
  1539 #define WAP_PROXY_PORT									_S("ProxyPortNumber")
  1548 /** Proxy login name. Required for WAP2.0 only.
  1540 /** Proxy login name. Required for WAP2.0 only.
  1595 Field type: TUint32. This field may be left as NULL. */
  1587 Field type: TUint32. This field may be left as NULL. */
  1596 #define BT_DEVICE_GLOBAL_SECURITY						_S("DeviceGlobalSecurity")
  1588 #define BT_DEVICE_GLOBAL_SECURITY						_S("DeviceGlobalSecurity")
  1597 /** Bluetooth page scan repetition mode.
  1589 /** Bluetooth page scan repetition mode.
  1598 
  1590 
  1599 Field type: TUint32. This field may be left as NULL. */
  1591 Field type: TUint32. This field may be left as NULL. */
  1600 #define BT_PAGE_SCAN_REP_MODE							_S("DevicePageScanRepMode") 
  1592 #define BT_PAGE_SCAN_REP_MODE							_S("DevicePageScanRepMode")
  1601 /** Field type: TUint32. This field may be left as NULL. */
  1593 /** Field type: TUint32. This field may be left as NULL. */
  1602 #define BT_PAGE_SCAN_PERIOD_MODE						_S("DevicePageScanPeriodMode") 
  1594 #define BT_PAGE_SCAN_PERIOD_MODE						_S("DevicePageScanPeriodMode")
  1603 /** Field type: TUint32. This field may be left as NULL. */
  1595 /** Field type: TUint32. This field may be left as NULL. */
  1604 #define BT_PAGE_SCAN_MODE								_S("DevicePageScanMode") 
  1596 #define BT_PAGE_SCAN_MODE								_S("DevicePageScanMode")
  1605 /** Internal*/
  1597 /** Internal*/
  1606 #define BT_SPARE										_S("DeviceSpareInfo") 
  1598 #define BT_SPARE										_S("DeviceSpareInfo")
  1607 /** Bluetooth clock offset.
  1599 /** Bluetooth clock offset.
  1608 
  1600 
  1609 Field type: TUint32. This field may be left as NULL. */
  1601 Field type: TUint32. This field may be left as NULL. */
  1610 #define BT_CLK_OFFSET									_S("DeviceClkOffset") 
  1602 #define BT_CLK_OFFSET									_S("DeviceClkOffset")
  1611 /** Bluetooth class of device.
  1603 /** Bluetooth class of device.
  1612 
  1604 
  1613 Field type: TUint32. This field may be left as NULL. */
  1605 Field type: TUint32. This field may be left as NULL. */
  1614 #define BT_COD											_S("DeviceClassOfDevice") 
  1606 #define BT_COD											_S("DeviceClassOfDevice")
  1615 
  1607 
  1616 // Additional Columns of the `WAP_SMS_BEARER` table.
  1608 // Additional Columns of the `WAP_SMS_BEARER` table.
  1617 /** Bluetooth security UID.
  1609 /** Bluetooth security UID.
  1618 
  1610 
  1619 Field type: TUint32. This field may be left as NULL. */
  1611 Field type: TUint32. This field may be left as NULL. */
  1646 
  1638 
  1647 Field type: TUint8. This field may be left as NULL. */
  1639 Field type: TUint8. This field may be left as NULL. */
  1648 #define BT_DFLT_SECURITY_LEVEL  						_S("DefaultSecurityLevel")
  1640 #define BT_DFLT_SECURITY_LEVEL  						_S("DefaultSecurityLevel")
  1649 
  1641 
  1650 
  1642 
  1651 // Columns of the BT Persistance Table 
  1643 // Columns of the BT Persistance Table
  1652 // The following macros define values for the Bluetooth Persist table fields.
  1644 // The following macros define values for the Bluetooth Persist table fields.
  1653 // This table has no COMMDB_NAME field.
  1645 // This table has no COMMDB_NAME field.
  1654 // These items are all internal and not intended for use.
  1646 // These items are all internal and not intended for use.
  1655 #define BT_PERSIST_COD									_S("ClassOfDevice")
  1647 #define BT_PERSIST_COD									_S("ClassOfDevice")
  1656 #define BT_PERSIST_PAGE_TIMEOUT							_S("PageTimeout")
  1648 #define BT_PERSIST_PAGE_TIMEOUT							_S("PageTimeout")
  1667 #define BT_PERSIST_LOCAL_NAME							_S("LocalName")
  1659 #define BT_PERSIST_LOCAL_NAME							_S("LocalName")
  1668 #define BT_PERSIST_IAC_LAP								_S("IacLap")
  1660 #define BT_PERSIST_IAC_LAP								_S("IacLap")
  1669 #define BT_PERSIST_STATE								_S("PersistState")
  1661 #define BT_PERSIST_STATE								_S("PersistState")
  1670 
  1662 
  1671 
  1663 
  1672 // Columns for `SS_PROTO_TABLE` table 
  1664 // Columns for `SS_PROTO_TABLE` table
  1673 // The following macros define values for the SS Proto table fields.
  1665 // The following macros define values for the SS Proto table fields.
  1674 // This table has no COMMDB_NAME field.
  1666 // This table has no COMMDB_NAME field.
  1675 /** Secure Sockets protocol name.
  1667 /** Secure Sockets protocol name.
  1676 
  1668 
  1677 Field type: Text. This field may not be left as NULL. */
  1669 Field type: Text. This field may not be left as NULL. */
  1794 /** Default value for EDGE parameter
  1786 /** Default value for EDGE parameter
  1795 
  1787 
  1796 Field type: TBool. This field may be left as NULL. */
  1788 Field type: TBool. This field may be left as NULL. */
  1797 #define DEFAULT_GPRS_USE_EDGE							_S("GprsUseEdge")
  1789 #define DEFAULT_GPRS_USE_EDGE							_S("GprsUseEdge")
  1798 
  1790 
  1799 // Columns of the `AGENT_LOOKUP` table 
  1791 // Columns of the `AGENT_LOOKUP` table
  1800 // The following macros define values for the Agent Lookup fields. 
  1792 // The following macros define values for the Agent Lookup fields.
  1801 // This table has no COMMDB_NAME field.
  1793 // This table has no COMMDB_NAME field.
  1802 /** The Agent's name.
  1794 /** The Agent's name.
  1803 
  1795 
  1804 Field type: Text. This field may not be left as NULL. */
  1796 Field type: Text. This field may not be left as NULL. */
  1805 #define	AGENT_FRIENDLY_NAME								_S("AgentFriendlyName")
  1797 #define	AGENT_FRIENDLY_NAME								_S("AgentFriendlyName")
  1806 /** The internal file location of the agent.
  1798 /** The internal file location of the agent.
  1807 
  1799 
  1808 Field type: Text. This field may not be left as NULL. */
  1800 Field type: Text. This field may not be left as NULL. */
  1809 #define AGENT_FILENAME									_S("AgentFilename")
  1801 #define AGENT_FILENAME									_S("AgentFilename")
  1810 
  1802 
  1811 // Columns of the `CDMA2000_PACKET_SERVICE_TABLE` 
  1803 
  1812 // The following macros define values for the CDMA 2000 Packet Service fields.
  1804 /* Field type: Text. This field must not be left as NULL. */
  1813 /** IWF name.
       
  1814 
       
  1815 Field type: Text. This field must not be left as NULL. */
       
  1816 #define CDMA_IWF_NAME									_S("IwfName")
  1805 #define CDMA_IWF_NAME									_S("IwfName")
  1817 /** Mask indicating valid service options.
  1806 /** Mask indicating valid service options.
  1818 
  1807 
  1819 Field type: TUint32 from RPacketContext::TServiceOption. This field may not be left as NULL. */
  1808 Field type: TUint32 from RPacketContext::TServiceOption. This field may not be left as NULL. */
  1820 #define CDMA_SERVICE_OPTION								_S("ServiceOption")
  1809 #define CDMA_SERVICE_OPTION								_S("ServiceOption")
  1904 #define CDMA_IF_PARAMS									SERVICE_IF_PARAMS
  1893 #define CDMA_IF_PARAMS									SERVICE_IF_PARAMS
  1905 /** Comma separated list of network protocols, e.g. "PPP".
  1894 /** Comma separated list of network protocols, e.g. "PPP".
  1906 
  1895 
  1907 Field type: Text. This field may be left as NULL. */
  1896 Field type: Text. This field may be left as NULL. */
  1908 #define CDMA_IF_NETWORKS								SERVICE_IF_NETWORKS
  1897 #define CDMA_IF_NETWORKS								SERVICE_IF_NETWORKS
  1909 /** Always reject PPP peer authentication requests when using external IP configuration. 
  1898 /** Always reject PPP peer authentication requests when using external IP configuration.
  1910 
  1899 
  1911 Field type: TBool. This field may be left as NULL. */
  1900 Field type: TBool. This field may be left as NULL. */
  1912 #define CDMA_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH	    SERVICE_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH
  1901 #define CDMA_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH	    SERVICE_IF_EXTERN_IP_CONFIG_ALWAYS_REJECT_AUTH
  1913 /** Prompt user for authentication username and password?
  1902 /** Prompt user for authentication username and password?
  1914 
  1903 
  1915 Field type: TBool. This field may not be left as NULL. */
  1904 Field type: TBool. This field may not be left as NULL. */
  1916 #define CDMA_IF_PROMPT_FOR_AUTH							SERVICE_IF_PROMPT_FOR_AUTH
  1905 #define CDMA_IF_PROMPT_FOR_AUTH							SERVICE_IF_PROMPT_FOR_AUTH
  1917 /** Authentication username used by PPP in the Simple IP case or 
  1906 /** Authentication username used by PPP in the Simple IP case or
  1918 by the Mobile IP implementation when Mobile IP is enabled.
  1907 by the Mobile IP implementation when Mobile IP is enabled.
  1919 
  1908 
  1920 Field type: Text. This field may be left as NULL. */
  1909 Field type: Text. This field may be left as NULL. */
  1921 #define CDMA_IF_AUTH_NAME								SERVICE_IF_AUTH_NAME
  1910 #define CDMA_IF_AUTH_NAME								SERVICE_IF_AUTH_NAME
  1922 /** Authentication password used by PPP.
  1911 /** Authentication password used by PPP.
  1966 #define CDMA_IP6_NAME_SERVER1							SERVICE_IP6_NAME_SERVER1
  1955 #define CDMA_IP6_NAME_SERVER1							SERVICE_IP6_NAME_SERVER1
  1967 /** IP6 address of the secondary name server
  1956 /** IP6 address of the secondary name server
  1968 
  1957 
  1969 Field type: Text. This field may be left as NULL. */
  1958 Field type: Text. This field may be left as NULL. */
  1970 #define CDMA_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
  1959 #define CDMA_IP6_NAME_SERVER2							SERVICE_IP6_NAME_SERVER2
  1971 /** IP address valid from this time, 
  1960 /** IP address valid from this time,
  1972 used to store dynamically assigned address lease info.
  1961 used to store dynamically assigned address lease info.
  1973 
  1962 
  1974 Field type: Text. This field may be left as NULL. */
  1963 Field type: Text. This field may be left as NULL. */
  1975 #define CDMA_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
  1964 #define CDMA_IP_ADDR_LEASE_VALID_FROM					SERVICE_IP_ADDR_LEASE_VALID_FROM
  1976 /** IP address valid to this time, 
  1965 /** IP address valid to this time,
  1977 used to store dynamically assigned address lease info.
  1966 used to store dynamically assigned address lease info.
  1978 
  1967 
  1979 Field type: Text. This field may be left as NULL. */
  1968 Field type: Text. This field may be left as NULL. */
  1980 #define CDMA_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
  1969 #define CDMA_IP_ADDR_LEASE_VALID_TO						SERVICE_IP_ADDR_LEASE_VALID_TO
  1981 /** Name of the ECOM configuration daemon manager component. 
  1970 /** Name of the ECOM configuration daemon manager component.
  1982 This component interfaces with the server identified in CDMA_CONFIG_DAEMON_NAME.
  1971 This component interfaces with the server identified in CDMA_CONFIG_DAEMON_NAME.
  1983 If specified, CDMA_CONFIG_DAEMON_NAME should also be specified.
  1972 If specified, CDMA_CONFIG_DAEMON_NAME should also be specified.
  1984 
  1973 
  1985 Field type: Text. This field may be left as NULL.  */
  1974 Field type: Text. This field may be left as NULL.  */
  1986 #define CDMA_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
  1975 #define CDMA_CONFIG_DAEMON_MANAGER_NAME					SERVICE_CONFIG_DAEMON_MANAGER_NAME
  1987 /** Name of the configuration daemon server. This server is used to 
  1976 /** Name of the configuration daemon server. This server is used to
  1988 provide further configuration for a connection, e.g. dynamic IP 
  1977 provide further configuration for a connection, e.g. dynamic IP
  1989 address assignment. If specified, CDMA_CONFIG_DAEMON_MANAGER_NAME 
  1978 address assignment. If specified, CDMA_CONFIG_DAEMON_MANAGER_NAME
  1990 should also be specified.
  1979 should also be specified.
  1991 
  1980 
  1992 Field type: Text. This field may be left as NULL.  */
  1981 Field type: Text. This field may be left as NULL.  */
  1993 #define CDMA_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
  1982 #define CDMA_CONFIG_DAEMON_NAME							SERVICE_CONFIG_DAEMON_NAME
  1994 /** Enable LCP extensions?
  1983 /** Enable LCP extensions?
  2001 #define CDMA_DISABLE_PLAIN_TEXT_AUTH					SERVICE_DISABLE_PLAIN_TEXT_AUTH
  1990 #define CDMA_DISABLE_PLAIN_TEXT_AUTH					SERVICE_DISABLE_PLAIN_TEXT_AUTH
  2002 /** Service supports Internet only, WAP only or both.
  1991 /** Service supports Internet only, WAP only or both.
  2003 
  1992 
  2004 Field type: TUint32 from TCommsDbIspType. This field may be left as NULL. */
  1993 Field type: TUint32 from TCommsDbIspType. This field may be left as NULL. */
  2005 #define CDMA_AP_TYPE									_S("ApType")
  1994 #define CDMA_AP_TYPE									_S("ApType")
  2006 /** Notify user if the requested QOS can not be satisfied for this time in microseconds. 
  1995 /** Notify user if the requested QOS can not be satisfied for this time in microseconds.
  2007 Set to 0xffffffff to disable.
  1996 Set to 0xffffffff to disable.
  2008 
  1997 
  2009 Field type: TUint32. This field may be left as NULL. */
  1998 Field type: TUint32. This field may be left as NULL. */
  2010 #define CDMA_QOS_WARNING_TIMEOUT						_S("QosWarningTimeout")
  1999 #define CDMA_QOS_WARNING_TIMEOUT						_S("QosWarningTimeout")
  2011 
  2000 
  2015 #define CDMA_RLP_MODE									_S("RlpMode")
  2004 #define CDMA_RLP_MODE									_S("RlpMode")
  2016 
  2005 
  2017 // Deprecated Mobile IP fields
  2006 // Deprecated Mobile IP fields
  2018 
  2007 
  2019 /** Attempt to use the mobile IP protocol.
  2008 /** Attempt to use the mobile IP protocol.
  2020    
  2009 
  2021 Field type: TBool. This field may be left as NULL. */
  2010 Field type: TBool. This field may be left as NULL. */
  2022 #define CDMA_MIP										_S("CDMAMobileIP")
  2011 #define CDMA_MIP										_S("CDMAMobileIP")
  2023 /** Home agent address.
  2012 /** Home agent address.
  2024    
  2013 
  2025 Field type: Text. This field may be left as NULL. */
  2014 Field type: Text. This field may be left as NULL. */
  2026 #define CDMA_MIP_HA_ADDRESS								_S("HomeAgentAddress")
  2015 #define CDMA_MIP_HA_ADDRESS								_S("HomeAgentAddress")
  2027 
  2016 
  2028 /** A normal reconnect (informing the user) takes place if not both the PPP link 
  2017 /** A normal reconnect (informing the user) takes place if not both the PPP link
  2029 drops and a change in SID or NID is received with in this time (in milliseconds). 
  2018 drops and a change in SID or NID is received with in this time (in milliseconds).
  2030 If they do, an automatic reconnect takes place.
  2019 If they do, an automatic reconnect takes place.
  2031  
  2020 
  2032 Field type: TUint32 This field may be left as NULL. */
  2021 Field type: TUint32 This field may be left as NULL. */
  2033 #define CDMA_MIP_TIMEOUT								_S("CDMAMobileIPTimeout")
  2022 #define CDMA_MIP_TIMEOUT								_S("CDMAMobileIPTimeout")
  2034 
  2023 
  2035 // The following fields define the specific CDMA parameters provisioned through OTA 
  2024 // The following fields define the specific CDMA parameters provisioned through OTA
  2036 // and  defined in TIA-683B section 3.5.8
  2025 // and  defined in TIA-683B section 3.5.8
  2037 // These fields replace the old MIP fields (CDMA_MIP, CDMA_MIP_HA_ADDRESS, 
  2026 // These fields replace the old MIP fields (CDMA_MIP, CDMA_MIP_HA_ADDRESS,
  2038 // CDMA_MIP_TIMEOUT)
  2027 // CDMA_MIP_TIMEOUT)
  2039 
  2028 
  2040 /** Defines the type of NAI this record refers to (SimpleIP or MobileIP). 
  2029 /** Defines the type of NAI this record refers to (SimpleIP or MobileIP).
  2041 Possible values: ECommDbCdmaNaiSimpleIp, ECommDbCdmaNaiMobileIp. Replaces the 
  2030 Possible values: ECommDbCdmaNaiSimpleIp, ECommDbCdmaNaiMobileIp. Replaces the
  2042 CDMA_MIP field.
  2031 CDMA_MIP field.
  2043 
  2032 
  2044 Field type: TUint32. This field must not be left as NULL. */
  2033 Field type: TUint32. This field must not be left as NULL. */
  2045 #define CDMA_NAI_TYPE									_S("CDMANaiType")
  2034 #define CDMA_NAI_TYPE									_S("CDMANaiType")
  2046 /** SimpleIP authentication algorithm. Possible values (TCommDbCdmaSimpIpAuthAlgorithm):
  2035 /** SimpleIP authentication algorithm. Possible values (TCommDbCdmaSimpIpAuthAlgorithm):
  2069 #define CDMA_MIP_T_BIT									_S("CDMAMobileIpTBit")
  2058 #define CDMA_MIP_T_BIT									_S("CDMAMobileIpTBit")
  2070 /** Home address associated with the Mobile Station.
  2059 /** Home address associated with the Mobile Station.
  2071 
  2060 
  2072 Field type: Text. This field may be left as NULL. */
  2061 Field type: Text. This field may be left as NULL. */
  2073 #define CDMA_MIP_HOME_ADDRESS							_S("CDMAMobileIpHomeAddress")
  2062 #define CDMA_MIP_HOME_ADDRESS							_S("CDMAMobileIpHomeAddress")
  2074 /** IP address of the mobile node's primary home agent. 
  2063 /** IP address of the mobile node's primary home agent.
  2075 Replaces the CDMA_MIP_HA_ADDRESS field.
  2064 Replaces the CDMA_MIP_HA_ADDRESS field.
  2076 
  2065 
  2077 Field type: Text. This field may be left as NULL. */
  2066 Field type: Text. This field may be left as NULL. */
  2078 #define CDMA_MIP_PRIMARY_HOME_AGENT						_S("CDMAMobileIpPrimaryHomeAgent")
  2067 #define CDMA_MIP_PRIMARY_HOME_AGENT						_S("CDMAMobileIpPrimaryHomeAgent")
  2079 /** IP address of the mobile node's secondary home agent.
  2068 /** IP address of the mobile node's secondary home agent.
  2137 
  2126 
  2138 /** Supplemental channel multiplex option
  2127 /** Supplemental channel multiplex option
  2139 Field type: TUint32. */
  2128 Field type: TUint32. */
  2140 #define CDMA_SCH_MUX									_S("CDMASchMux")
  2129 #define CDMA_SCH_MUX									_S("CDMASchMux")
  2141 
  2130 
  2142 
       
  2143 // Columns of the `DEFAULT_CDMA2000_SETTINGS_TABLE` 
       
  2144 // The following macros define values for the Default CDMA 2000 Settings fields.
       
  2145 /** The usage of this default. 
       
  2146 
       
  2147 Field type: TUint32. This field may be left as NULL. */
       
  2148 #define DEFAULT_CDMA_USAGE								_S("Usage")
       
  2149 /** IWF name.
  2131 /** IWF name.
  2150 
  2132 
  2151 Field type: Text. This field may not be left as NULL. */
  2133 Field type: Text. This field may not be left as NULL. */
  2152 #define DEFAULT_CDMA_IWF_NAME							CDMA_IWF_NAME
  2134 #define DEFAULT_CDMA_IWF_NAME							CDMA_IWF_NAME
  2153 /** Mask indicating valid service options.
  2135 /** Mask indicating valid service options.
  2175 Field type: TBool. This field may be left as NULL. */
  2157 Field type: TBool. This field may be left as NULL. */
  2176 #define DEFAULT_CDMA_ANONYMOUS_ACCESS					CDMA_ANONYMOUS_ACCESS
  2158 #define DEFAULT_CDMA_ANONYMOUS_ACCESS					CDMA_ANONYMOUS_ACCESS
  2177 
  2159 
  2178 // Default values for the deprecated Mobile IP fields.
  2160 // Default values for the deprecated Mobile IP fields.
  2179 /** Default CDMA mobile IP?
  2161 /** Default CDMA mobile IP?
  2180    
  2162 
  2181 Field type: TBool. This field may be left as NULL. 
  2163 Field type: TBool. This field may be left as NULL.
  2182 
  2164 
  2183 @deprecated */
  2165 @deprecated */
  2184 #define DEFAULT_CDMA_MIP								CDMA_MIP
  2166 #define DEFAULT_CDMA_MIP								CDMA_MIP
  2185 /** CDMA mobile IP home address.
  2167 /** CDMA mobile IP home address.
  2186 
  2168 
  2187 Field type: Text. This field may be left as NULL.
  2169 Field type: Text. This field may be left as NULL.
  2188 
  2170 
  2189 @deprecated */
  2171 @deprecated */
  2190 #define DEFAULT_CDMA_MIP_HA_ADDRESS						CDMA_MIP_HA_ADDRESS
  2172 #define DEFAULT_CDMA_MIP_HA_ADDRESS						CDMA_MIP_HA_ADDRESS
  2191 /** CDMA Mobile IP timeout.
  2173 /** CDMA Mobile IP timeout.
  2192    
  2174 
  2193 Field type: TUint32. This field may be left as NULL. 
  2175 Field type: TUint32. This field may be left as NULL.
  2194 
  2176 
  2195 @deprecated */
  2177 @deprecated */
  2196 #define DEFAULT_CDMA_MIP_TIMEOUT						CDMA_MIP_TIMEOUT
  2178 #define DEFAULT_CDMA_MIP_TIMEOUT						CDMA_MIP_TIMEOUT
  2197 
  2179 
  2198 /** Default fundamental channel multiplex option
  2180 /** Default fundamental channel multiplex option
  2202 /** Default supplemental channel multiplex option
  2184 /** Default supplemental channel multiplex option
  2203 Field type: TUint32. */
  2185 Field type: TUint32. */
  2204 #define DEFAULT_CDMA_SCH_MUX							CDMA_SCH_MUX
  2186 #define DEFAULT_CDMA_SCH_MUX							CDMA_SCH_MUX
  2205 
  2187 
  2206 
  2188 
  2207 // The following fields define the specific CDMA parameters provisioned through OTA 
  2189 // The following fields define the specific CDMA parameters provisioned through OTA
  2208 // and defined in TIA-683B section 3.5.8 
  2190 // and defined in TIA-683B section 3.5.8
  2209 
  2191 
  2210 /** Defines the active operation mode in the mobile station. Possible values:
  2192 /** Defines the active operation mode in the mobile station. Possible values:
  2211 
  2193 
  2212 00 - SimpleIP only
  2194 00 - SimpleIP only
  2213 
  2195 
  2219 #define CDMA_OP_MODE									_S("CDMAOperationMode")
  2201 #define CDMA_OP_MODE									_S("CDMAOperationMode")
  2220 /** Maximum number of retries for MobileIP registration.
  2202 /** Maximum number of retries for MobileIP registration.
  2221 
  2203 
  2222 Field type: TUint32. */
  2204 Field type: TUint32. */
  2223 #define CDMA_MIP_MAX_NUM_RETRY							_S("CDMAMobileIpMaxNumRetry")
  2205 #define CDMA_MIP_MAX_NUM_RETRY							_S("CDMAMobileIpMaxNumRetry")
  2224 /** Amount of time between the first and second MobileIP registration requests, 
  2206 /** Amount of time between the first and second MobileIP registration requests,
  2225 while the Mobile Station did not receive a Registration Reply (units of 250ms).
  2207 while the Mobile Station did not receive a Registration Reply (units of 250ms).
  2226 
  2208 
  2227 Field type: TUint32. */
  2209 Field type: TUint32. */
  2228 #define CDMA_MIP_FIRST_RETRY_TIMEOUT					_S("CDMAMobileIpFirstRetryTimeout")
  2210 #define CDMA_MIP_FIRST_RETRY_TIMEOUT					_S("CDMAMobileIpFirstRetryTimeout")
  2229 /** Re-registration threshold (time in minutes before the expiration of the registration 
  2211 /** Re-registration threshold (time in minutes before the expiration of the registration
  2230 lifetime).
  2212 lifetime).
  2231 
  2213 
  2232 Field type: TUint32. */
  2214 Field type: TUint32. */
  2233 #define CDMA_MIP_REREG_THRESHOLD						_S("CDMAMobileIpReregThreshold")
  2215 #define CDMA_MIP_REREG_THRESHOLD						_S("CDMAMobileIpReregThreshold")
  2234 
  2216 
  2235 /** Columns of the `VIRTUAL_BEARER table` */
  2217 /** Columns of the `VIRTUAL_BEARER table` */
  2236 #define VIRTUAL_BEARER_AGENT							AGENT_NAME		
  2218 #define VIRTUAL_BEARER_AGENT							AGENT_NAME
  2237 #define VIRTUAL_BEARER_NIF								IF_NAME
  2219 #define VIRTUAL_BEARER_NIF								IF_NAME
  2238 
  2220 
  2239 /** Columns of the `VIRTUAL_SERVICE table` */
  2221 /** Columns of the `VIRTUAL_SERVICE table` */
  2240 #define VPN_SERVICE_POLICY							_S("Policy")
  2222 #define VPN_SERVICE_POLICY							_S("Policy")
  2241 #define VPN_SERVICE_IAP								_S("HomeIAP")
  2223 #define VPN_SERVICE_IAP								_S("HomeIAP")
  2276 /** Columns of the `NETWORK table` */
  2258 /** Columns of the `NETWORK table` */
  2277 #define HOST_NAME									_S("HostName")
  2259 #define HOST_NAME									_S("HostName")
  2278 
  2260 
  2279 /** Columns of the AccessPoint table */
  2261 /** Columns of the AccessPoint table */
  2280 #define ACCESS_POINT_GID                            _S("AccessPointGID")
  2262 #define ACCESS_POINT_GID                            _S("AccessPointGID")
  2281 
  2263 #define ACCESS_POINT_POLICY	    					_S("AccessPointSelectionPolicy")
  2282 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
  2264 
  2283 //Unfortunately in the vFuture environment both names are valid for the selectionpolicy field because the
       
  2284 //configuartion files...
       
  2285 #define ACCESS_POINT_POLICY	    					_S("SelectionPolicy")
       
  2286 #define OLD_ACCESS_POINT_POLICY	    				_S("AccessPointSelectionPolicy")
       
  2287 #define ACCESS_POINT_TIER		        			_S("Tier")
  2265 #define ACCESS_POINT_TIER		        			_S("Tier")
  2288 #define ACCESS_POINT_MCPR	    					_S("MCpr")
  2266 #define ACCESS_POINT_MCPR	    					_S("MCpr")
  2289 #define ACCESS_POINT_CPR	    					_S("Cpr")
  2267 #define ACCESS_POINT_CPR	    					_S("Cpr")
  2290 #define ACCESS_POINT_CPRCONFIGID   					_S("CprConfig")
  2268 #define ACCESS_POINT_CPRCONFIGID   					_S("CprConfig")
  2291 #define ACCESS_POINT_SCPR	    					_S("SCpr")
  2269 #define ACCESS_POINT_SCPR	    					_S("SCpr")
  2292 #define ACCESS_POINT_PROTOCOL	    				_S("Protocol")
  2270 #define ACCESS_POINT_PROTOCOL	    				_S("Protocol")
  2293 #define ACCESS_POINT_APPSID	    					_S("AppSID")
  2271 #define ACCESS_POINT_APPSID	    					_S("AppSID")
  2294 #define ACCESS_POINT_CONFIG_AP_ID_LIST              _S("ConfigAPIdList")
  2272 #define ACCESS_POINT_CONFIG_AP_ID_LIST              _S("ConfigAPIdList")
  2295 #define ACCESS_POINT_CUSTOM_SELECTION_POLICY        _S("CustomSelectionPolicy")
  2273 #define ACCESS_POINT_CUSTOM_SELECTION_POLICY        _S("CustomSelectionPolicy")
  2296 
  2274 #define ACCESS_POINT_PRIORITY	    				_S("Priority")
       
  2275 
       
  2276 #define TIER_IMPL_UID								_S("TierImplUid")
  2297 #define TIER_THREAD_NAME							_S("TierThreadName")
  2277 #define TIER_THREAD_NAME							_S("TierThreadName")
  2298 #define TIER_MANAGER_NAME							_S("TierManagerName")
  2278 #define TIER_MANAGER_NAME							_S("TierManagerName")
  2299 #define DEFAULT_ACCESS_POINT     					_S("DefaultAccessPoint")
  2279 #define DEFAULT_ACCESS_POINT     					_S("DefaultAccessPoint")
  2300 
  2280 
  2301 #define MCPR_UID									_S("MCprUid")
  2281 #define MCPR_UID									_S("MCprUid")
  2302 #define CPR_UID										_S("CprUid")
  2282 #define CPR_UID										_S("CprUid")
  2303 #define SCPR_UID									_S("SCprUid")
  2283 #define SCPR_UID									_S("SCprUid")
  2304 #define PROTOCOL_UID								_S("ProtocolUid")
  2284 #define PROTOCOL_UID								_S("ProtocolUid")
  2305 #define PROTOCOL_CONFIG_LOADER_UID                                              _S("ProtocolConfigLoaderUid")
  2285 #define PROTOCOL_CONFIG_LOADER_UID                  _S("ProtocolConfigLoaderUid")
  2306 
  2286 
  2307 #define PROTOCOL_CONFIG                                                         _S("ProtocolConfig")
  2287 #define PROTOCOL_CONFIG                             _S("ProtocolConfig")
  2308 #define LAYER_BELOW                                                             _S("LayerBelow")
  2288 #define LAYER_BELOW                                 _S("LayerBelow")
  2309 
  2289 
  2310 #else
  2290 
  2311 //in the old environment the original name is used.
  2291 /**
  2312 #define ACCESS_POINT_POLICY	    					_S("AccessPointSelectionPolicy")
  2292 @internalTechnology
  2313 
  2293 */
  2314 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
  2315 
       
  2316 // need to preserve compatibility, soon to become internalTechnology
       
  2317 //#ifdef SYMBIAN_NETWORKING_WIFI
       
  2318 
       
  2319 #define EAPSIM_PROTOCOL_ID							_S("ProtocolId")
  2294 #define EAPSIM_PROTOCOL_ID							_S("ProtocolId")
  2320 #define EAPSIM_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
  2295 #define EAPSIM_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
  2321 #define EAPSIM_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
  2296 #define EAPSIM_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
  2322 #define EAPSIM_PROTOCOL_NAI_REALM 					_S("NaiRealm")
  2297 #define EAPSIM_PROTOCOL_NAI_REALM 					_S("NaiRealm")
  2323 #define EAPSIM_PROTOCOL_MIN_RANDS 					_S("MinRands")
  2298 #define EAPSIM_PROTOCOL_MIN_RANDS 					_S("MinRands")
  2324 
       
  2325 #define EAPAKA_PROTOCOL_ID							_S("ProtocolId")
  2299 #define EAPAKA_PROTOCOL_ID							_S("ProtocolId")
  2326 #define EAPAKA_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
  2300 #define EAPAKA_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
  2327 #define EAPAKA_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
  2301 #define EAPAKA_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
  2328 #define EAPAKA_PROTOCOL_NAI_REALM 					_S("NaiRealm")
  2302 #define EAPAKA_PROTOCOL_NAI_REALM 					_S("NaiRealm")
  2329 
       
  2330 //#endif //SYMBIAN_NETWORKING_WIFI
       
  2331 
  2303 
  2332 #define SELECTION_POLICY_IAP1			    		_S("IAP1")
  2304 #define SELECTION_POLICY_IAP1			    		_S("IAP1")
  2333 #define SELECTION_POLICY_IAP2			    		_S("IAP2")
  2305 #define SELECTION_POLICY_IAP2			    		_S("IAP2")
  2334 #define SELECTION_POLICY_IAP3			    		_S("IAP3")
  2306 #define SELECTION_POLICY_IAP3			    		_S("IAP3")
  2335 #define SELECTION_POLICY_IAP4			    		_S("IAP4")
  2307 #define SELECTION_POLICY_IAP4			    		_S("IAP4")
  2344 #define SELECTION_POLICY_IAP13			    		_S("IAP13")
  2316 #define SELECTION_POLICY_IAP13			    		_S("IAP13")
  2345 #define SELECTION_POLICY_IAP14			    		_S("IAP14")
  2317 #define SELECTION_POLICY_IAP14			    		_S("IAP14")
  2346 #define SELECTION_POLICY_IAP15			    		_S("IAP15")
  2318 #define SELECTION_POLICY_IAP15			    		_S("IAP15")
  2347 #define SELECTION_POLICY_IAPCOUNT                   _S("IAPCOUNT")
  2319 #define SELECTION_POLICY_IAPCOUNT                   _S("IAPCOUNT")
  2348 
  2320 
  2349 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
  2350 #define SELECTION_POLICY_AP1			    		_S("AP1")
  2321 #define SELECTION_POLICY_AP1			    		_S("AP1")
  2351 #define SELECTION_POLICY_AP2			    		_S("AP2")
  2322 #define SELECTION_POLICY_AP2			    		_S("AP2")
  2352 #define SELECTION_POLICY_AP3			    		_S("AP3")
  2323 #define SELECTION_POLICY_AP3			    		_S("AP3")
  2353 #define SELECTION_POLICY_AP4			    		_S("AP4")
  2324 #define SELECTION_POLICY_AP4			    		_S("AP4")
  2354 #define SELECTION_POLICY_AP5			    		_S("AP5")
  2325 #define SELECTION_POLICY_AP5			    		_S("AP5")
  2361 #define SELECTION_POLICY_AP12			    		_S("AP12")
  2332 #define SELECTION_POLICY_AP12			    		_S("AP12")
  2362 #define SELECTION_POLICY_AP13			    		_S("AP13")
  2333 #define SELECTION_POLICY_AP13			    		_S("AP13")
  2363 #define SELECTION_POLICY_AP14			    		_S("AP14")
  2334 #define SELECTION_POLICY_AP14			    		_S("AP14")
  2364 #define SELECTION_POLICY_AP15			    		_S("AP15")
  2335 #define SELECTION_POLICY_AP15			    		_S("AP15")
  2365 #define SELECTION_POLICY_APCOUNT                   _S("APCOUNT")
  2336 #define SELECTION_POLICY_APCOUNT                   _S("APCOUNT")
  2366 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
  2337 
  2367 
       
  2368 // need to preserve compatibility, soon to become internalTechnology
       
  2369 //#ifdef SYMBIAN_NETWORKING_WIFI
       
  2370 #define EAPSIM_PROTOCOL_ID							_S("ProtocolId")
  2338 #define EAPSIM_PROTOCOL_ID							_S("ProtocolId")
  2371 #define EAPSIM_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
  2339 #define EAPSIM_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
  2372 #define EAPSIM_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
  2340 #define EAPSIM_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
  2373 #define EAPSIM_PROTOCOL_NAI_REALM 					_S("NaiRealm")
  2341 #define EAPSIM_PROTOCOL_NAI_REALM 					_S("NaiRealm")
  2374 #define EAPSIM_PROTOCOL_MIN_RANDS 					_S("MinRands")
  2342 #define EAPSIM_PROTOCOL_MIN_RANDS 					_S("MinRands")
  2375 
  2343 
  2376 #define EAPAKA_PROTOCOL_ID							_S("ProtocolId")
  2344 #define EAPAKA_PROTOCOL_ID							_S("ProtocolId")
  2377 #define EAPAKA_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
  2345 #define EAPAKA_PROTOCOL_PSEUDONYM 					_S("Pseudonym")
  2378 #define EAPAKA_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
  2346 #define EAPAKA_PROTOCOL_USE_NAI_REALM 				_S("UseNaiRealm")
  2379 #define EAPAKA_PROTOCOL_NAI_REALM 					_S("NaiRealm")
  2347 #define EAPAKA_PROTOCOL_NAI_REALM 					_S("NaiRealm")
  2380 
       
  2381 //#endif //SYMBIAN_NETWORKING_WIFI
       
  2382 
  2348 
  2383 /** Columns of the `EAP Security Settings table` */
  2349 /** Columns of the `EAP Security Settings table` */
  2384 #define	EAP_SEC_OUTER_EAP_TYPE	 					_S("OuterEapMethodType")
  2350 #define	EAP_SEC_OUTER_EAP_TYPE	 					_S("OuterEapMethodType")
  2385 #define	EAP_SEC_ID  								_S("EapId")
  2351 #define	EAP_SEC_ID  								_S("EapId")
  2386 #define	EAP_SEC_PASSWORD  							_S("EapPassword")
  2352 #define	EAP_SEC_PASSWORD  							_S("EapPassword")
  2387 #define	EAP_SEC_CONFIGID							_S("ConfigId")
  2353 #define	EAP_SEC_CONFIGID							_S("ConfigId")
  2388 #define	EAP_SEC_DATA 								_S("EAP_Method_Data")
  2354 #define	EAP_SEC_DATA 								_S("EAP_Method_Data")
  2389 #ifdef SYMBIAN_WIFI_WPS
       
  2390 #define EAP_SEC_VENDORID                            _S("EapVendorId")
  2355 #define EAP_SEC_VENDORID                            _S("EapVendorId")
  2391 #define EAP_SEC_VENDORTYPE                          _S("EapVendorType")
  2356 #define EAP_SEC_VENDORTYPE                          _S("EapVendorType")
  2392 #endif //SYMBIAN_WIFI_WPS
       
  2393 
  2357 
  2394 /** Columns of the `Tunnelled EAP Settings Table` */
  2358 /** Columns of the `Tunnelled EAP Settings Table` */
  2395 #define	TUN_EAP_INNERTYPE	 						_S("InnerEapMethodType")
  2359 #define	TUN_EAP_INNERTYPE	 						_S("InnerEapMethodType")
  2396 #define TUN_EAP_DATA 								_S("Tun_EAP_Method_Data")
  2360 #define TUN_EAP_DATA 								_S("Tun_EAP_Method_Data")
  2397 
  2361 
  2398 /** Columns of the `EAP-TLS Settings Table` */				
  2362 /** Columns of the `EAP-TLS Settings Table` */
  2399 #define	EAP_TLS_CLIENT_CERT_NAME					_S("ClientCertificateName")
  2363 #define	EAP_TLS_CLIENT_CERT_NAME					_S("ClientCertificateName")
  2400 
  2364 
  2401 /** Columns of the `LEAP Settings Table` */					
  2365 /** Columns of the `LEAP Settings Table` */
  2402 #define	EAP_LEAP_TIMEOUT					 			_S("LeapTimeout")
  2366 #define	EAP_LEAP_TIMEOUT					 			_S("LeapTimeout")
  2403 
  2367 
  2404 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
  2405 /** Columns of the base `Params Table` */
  2368 /** Columns of the base `Params Table` */
  2406 #define	STYPEID										_S("STypeId")
  2369 #define	STYPEID										_S("STypeId")
  2407 
  2370 
  2408 /** Columns of the `PolicySelector Table` */
  2371 /** Columns of the `PolicySelector Table` */
  2409 #define POLICYID									_S("PolicyId")
  2372 #define POLICYID									_S("PolicyId")
  2440 #define DOWNLINKPRIORITY							_S("DownLinkPriority")
  2403 #define DOWNLINKPRIORITY							_S("DownLinkPriority")
  2441 #define UPLINKPRIORITY								_S("UpLinkPriority")
  2404 #define UPLINKPRIORITY								_S("UpLinkPriority")
  2442 #define HEADERMODE									_S("HeaderMode")
  2405 #define HEADERMODE									_S("HeaderMode")
  2443 //#define QOSNAME										_S("QosName")
  2406 //#define QOSNAME										_S("QosName")
  2444 
  2407 
  2445 // need to preserve compatibility, soon to become internalTechnology
  2408 /** Columns of the `WifiScanEngine Table`
  2446 //#ifdef SYMBIAN_NETWORKING_WIFI
  2409 @internalTechnology
  2447 /** Columns of the `WifiScanEngine Table` */
  2410 */
  2448 #define SCANPERIODMS								_S("ScanPeriodMs")
  2411 #define SCANPERIODMS								_S("ScanPeriodMs")
  2449 #define RSSIMIN										_S("RSSIMin")
  2412 #define RSSIMIN										_S("RSSIMin")
  2450 #define RSSIMAX										_S("RSSIMax")		
  2413 #define RSSIMAX										_S("RSSIMax")
  2451 //#endif //SYMBIAN_NETWORKING_WIFI
  2414 
  2452 
  2415 
  2453 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
       
  2454 	
       
  2455 /** Enumerated sets and bitmasks for the modem speaker `MODEM_BEARER:MODEM_SPEAKER_PREF`. */
  2416 /** Enumerated sets and bitmasks for the modem speaker `MODEM_BEARER:MODEM_SPEAKER_PREF`. */
  2456 enum TCommsDbModemSpeakerSetting
  2417 enum TCommsDbModemSpeakerSetting
  2457 	{
  2418 	{
  2458 	/** Speaker always off. */
  2419 	/** Speaker always off. */
  2459 	EModemSpeakerSettingNever,
  2420 	EModemSpeakerSettingNever,
  2478 
  2439 
  2479 /** Bit mask used by `MODEM_BEARER:MODEM_COMM_ROLE` */
  2440 /** Bit mask used by `MODEM_BEARER:MODEM_COMM_ROLE` */
  2480 const TUint KModemCommRoleDCE = 0x1;
  2441 const TUint KModemCommRoleDCE = 0x1;
  2481 const TUint32 KLinkableFlagTag = 0x80000000;
  2442 const TUint32 KLinkableFlagTag = 0x80000000;
  2482 
  2443 
  2483 /** Enumeration used by DIAL_*_ISP:ISP_TYPE, OUTGOING_WCDMA:GPRS_AP_TYPE and CDMA2000_PACKET_SERVICE_TABLE:CDMA_AP_TYPE. */
  2444 /** Enumeration used by DIAL_*_ISP:ISP_TYPE, OUTGOING_WCDMA:GPRS_AP_TYPE. */
  2484 enum TCommsDbIspType
  2445 enum TCommsDbIspType
  2485 	{
  2446 	{
  2486 	/** ISP internet only. */
  2447 	/** ISP internet only. */
  2487 	EIspTypeInternetOnly,
  2448 	EIspTypeInternetOnly,
  2488 	/** ISP WAP only. */
  2449 	/** ISP WAP only. */
  2507 	EWapWspOptionConnectionless,
  2468 	EWapWspOptionConnectionless,
  2508 	/** WAP WSP option set to connection oriented. */
  2469 	/** WAP WSP option set to connection oriented. */
  2509 	EWapWspOptionConnectionOriented
  2470 	EWapWspOptionConnectionOriented
  2510 	};
  2471 	};
  2511 
  2472 
  2512 /** 
  2473 /**
  2513 Enum for use in calls to `CCommsDatabase::OpenConnectionPrefTable*LC()`,
  2474 Enum for use in calls to `CCommsDatabase::OpenConnectionPrefTable*LC()`,
  2514 CCommsDatabase::OpenIAPTableViewMatchingBearerSetLC() and
  2475 CCommsDatabase::OpenIAPTableViewMatchingBearerSetLC() and
  2515 CCommsDbConnectionPrefTableView::SwapConnectionPreferencesL()
  2476 CCommsDbConnectionPrefTableView::SwapConnectionPreferencesL()
  2516 */
  2477 */
  2517 enum TCommDbConnectionDirection
  2478 enum TCommDbConnectionDirection
  2533 	KCommDbBearerCSD = 0x1,
  2494 	KCommDbBearerCSD = 0x1,
  2534 	/** WCDMA Bearer support. */
  2495 	/** WCDMA Bearer support. */
  2535 	KCommDbBearerWcdma = 0x2,
  2496 	KCommDbBearerWcdma = 0x2,
  2536 	/** LAN Bearer support. */
  2497 	/** LAN Bearer support. */
  2537 	KCommDbBearerLAN = 0x4,
  2498 	KCommDbBearerLAN = 0x4,
  2538 	/** CDMA2000 Bearer support. */	
       
  2539 	KCommDbBearerCdma2000 = 0x8,
       
  2540 	KCommDbBearerVirtual = 0x10,
  2499 	KCommDbBearerVirtual = 0x10,
  2541 	KCommDbBearerPAN = 0x20,
  2500 	KCommDbBearerPAN = 0x20,
  2542 	KCommDbBearerWLAN = 0x40
  2501 	KCommDbBearerWLAN = 0x40
  2543 	};
  2502 	};
  2544 #define KCommDbBearerPSD (KCommDbBearerWcdma|KCommDbBearerCdma2000)
  2503 
  2545 
  2504 #define DeprecatedCDMA2000 0x8
  2546 /** The dialog preference determines whether or not a user should be prompted with 
  2505 #define KCommDbBearerPSD (KCommDbBearerWcdma|DeprecatedCDMA2000)
       
  2506 
       
  2507 /** The dialog preference determines whether or not a user should be prompted with
  2547 a dialog at connect time. Used in CCommsDbConnectionPrefTableView::UpdateDialogPrefL() */
  2508 a dialog at connect time. Used in CCommsDbConnectionPrefTableView::UpdateDialogPrefL() */
  2548 enum TCommDbDialogPref
  2509 enum TCommDbDialogPref
  2549 	{
  2510 	{
  2550 	/** CommDB dialog preference is unknown. */
  2511 	/** CommDB dialog preference is unknown. */
  2551 	ECommDbDialogPrefUnknown,
  2512 	ECommDbDialogPrefUnknown,
  2603 /** A record in the `MODEM_BEARER` table has been modified or deleted. */
  2564 /** A record in the `MODEM_BEARER` table has been modified or deleted. */
  2604 const TUid KUidCommDbModemRecordChange =  {0x1000A43D} ;
  2565 const TUid KUidCommDbModemRecordChange =  {0x1000A43D} ;
  2605 /** A record in the `PROXIES` table has been modified or deleted */
  2566 /** A record in the `PROXIES` table has been modified or deleted */
  2606 const TUid KUidCommDbProxiesRecordChange = {0x1000A43E};
  2567 const TUid KUidCommDbProxiesRecordChange = {0x1000A43E};
  2607 
  2568 
  2608 /** Enum for DATABASE_TYPE field. 
  2569 /** Enum for DATABASE_TYPE field.
  2609 Was deprecated in v7.0 but replaced for BC with v6.1 in v7.0s and v8.0. */
  2570 Was deprecated in v7.0 but replaced for BC with v6.1 in v7.0s and v8.0. */
  2610 enum TCommDbDatabaseType
  2571 enum TCommDbDatabaseType
  2611 	{
  2572 	{
  2612 	/** Unspecified database type. Any type of database can be opened with this parameter.*/
  2573 	/** Unspecified database type. Any type of database can be opened with this parameter.*/
  2613 	EDatabaseTypeUnspecified =0,	
  2574 	EDatabaseTypeUnspecified =0,
  2614 	/** The database has an IAP table, which defines sets of ISPs and chargecards that 
  2575 	/** The database has an IAP table, which defines sets of ISPs and chargecards that
  2615 	may be used together. */
  2576 	may be used together. */
  2616 	EDatabaseTypeIAP,
  2577 	EDatabaseTypeIAP,
  2617 	/** The database is arranged using separate ISP, location, modem and chargecard 
  2578 	/** The database is arranged using separate ISP, location, modem and chargecard
  2618 	tables whose records are not associated by using IAPs.
  2579 	tables whose records are not associated by using IAPs.
  2619 	
  2580 
  2620 	ISP type databases are deprecated from version 6.1. */
  2581 	ISP type databases are deprecated from version 6.1. */
  2621 	EDatabaseTypeISP
  2582 	EDatabaseTypeISP
  2622 	};
  2583 	};
  2623 
  2584 
  2624 
  2585 
  2625 /** Enum for the global setting `CDMA_OP_CAPABILITY` 
  2586 /** Enum for the global setting `CDMA_OP_CAPABILITY`
  2626 @publishedAll 
  2587 @publishedAll
  2627 @released */
  2588 @released */
  2628 enum TCommDbCdmaOpCapability
  2589 enum TCommDbCdmaOpCapability
  2629 	{
  2590 	{
  2630 	/** Simple IP only supported. */
  2591 	/** Simple IP only supported. */
  2631 	ECommDbCdmaOpCapabilitySimpleIp = 0x1,
  2592 	ECommDbCdmaOpCapabilitySimpleIp = 0x1,
  2632 	/** Mobile IP only supported. */
  2593 	/** Mobile IP only supported. */
  2633 	ECommDbCdmaOpCapabilityMobileIp = 0x2, 
  2594 	ECommDbCdmaOpCapabilityMobileIp = 0x2,
  2634 	/** Mobile IP with Simple IP fallback supported. */
  2595 	/** Mobile IP with Simple IP fallback supported. */
  2635 	ECommDbCdmaOpCapabilityFallback = 0x4  
  2596 	ECommDbCdmaOpCapabilityFallback = 0x4
  2636 	};
  2597 	};
  2637 
  2598 
  2638 /** Enum for the global setting `CDMA_SIMIP_AUTH_SUPPORTED` 
  2599 /** Enum for the global setting `CDMA_SIMIP_AUTH_SUPPORTED`
  2639 @publishedAll 
  2600 @publishedAll
  2640 @released */
  2601 @released */
  2641 enum TCommDbCdmaSimpIpAuthCapability
  2602 enum TCommDbCdmaSimpIpAuthCapability
  2642 	{
  2603 	{
  2643 	/** CHAP supported.  */
  2604 	/** CHAP supported.  */
  2644 	ECommDbCdmaSimpIpCapabilityChap = 0x1, 
  2605 	ECommDbCdmaSimpIpCapabilityChap = 0x1,
  2645 	/** PAP supported. */
  2606 	/** PAP supported. */
  2646 	ECommDbCdmaSimpIpCapabilityPap = 0x2   
  2607 	ECommDbCdmaSimpIpCapabilityPap = 0x2
  2647 	};
  2608 	};
  2648 
  2609 
  2649 /** Enum for the global settings `CDMA_MIP_MN_AAA_AUTH_ALGORITHM` and 'CDMA_MIP_MN_HA_AUTH_ALGORITHM' 
  2610 /** Enum for the global settings `CDMA_MIP_MN_AAA_AUTH_ALGORITHM` and 'CDMA_MIP_MN_HA_AUTH_ALGORITHM'
  2650 @publishedAll
  2611 @publishedAll
  2651 @released */
  2612 @released */
  2652 enum TCommDbCdmaMIpAuthCapability
  2613 enum TCommDbCdmaMIpAuthCapability
  2653 	{
  2614 	{
  2654 	/**  MD5 authentication is supported (RFC 3012). */
  2615 	/**  MD5 authentication is supported (RFC 3012). */
  2655 	ECommDbCdmaMIpMd5 = 0x1 
  2616 	ECommDbCdmaMIpMd5 = 0x1
  2656 	};
       
  2657 
       
  2658 /** Enum for the field `DEFAULT_CDMA2000_SETTINGS_TABLE:CDMA_OP_MODE` 
       
  2659 @publishedAll 
       
  2660 @released */
       
  2661 enum TCommDbCdmaOpMode
       
  2662 	{
       
  2663 	/** Simple IP only. */
       
  2664 	ECommDbCdmaOpSimpleIp = 0x0,
       
  2665 	/** Mobile IP with Simple IP fallback. */	
       
  2666 	ECommDbCdmaOpFallback = 0x1,  
       
  2667 	/** Mobile IP only. */   
       
  2668 	ECommDbCdmaOpMobileIp = 0x2      
       
  2669 	};
       
  2670 
       
  2671 /** Enum for the field `CDMA2000_PACKET_SERVICE_TABLE:CDMA_NAI_TYPE` 
       
  2672 @publishedAll 
       
  2673 @released */
       
  2674 enum TCommDbCdmaNaiType
       
  2675 	{
       
  2676 	/** Simple IP only. */
       
  2677 	ECommDbCdmaNaiSimpleIp = 0, 
       
  2678 	/** Mobile IP only. */
       
  2679 	ECommDbCdmaNaiMobileIp		
       
  2680 	};
       
  2681 
       
  2682 /** Enum for the field `CDMA2000_PACKET_SERVICE_TABLE:CDMA_SIMIP_AUTH_ALGORITHM ` 
       
  2683 @publishedAll 
       
  2684 @released */
       
  2685 enum TCommDbCdmaSimpIpAuthAlgorithm
       
  2686 	{
       
  2687 	/** No authentication.*/
       
  2688 	ECommDbCdmaSimpIpAuthNone = 0x0,	 
       
  2689 	/** PPP CHAP authentication.  */
       
  2690 	ECommDbCdmaSimpIpAuthChap = 0x1,     
       
  2691 	/** PPP PAP authentication.*/
       
  2692 	ECommDbCdmaSimpIpAuthPap = 0x2,  
       
  2693 	/** PPP CHAP to PAP fallback. */
       
  2694 	ECommDbCdmaSimpIpAuthFallback = 0x3  
       
  2695 	};
       
  2696 
       
  2697 /** Enum for the fields `CDMA2000_PACKET_SERVICE_TABLE:CDMA_MIP_MN_AAA_AUTH_ALGORITHM` and
       
  2698 	`CDMA2000_PACKET_SERVICE_TABLE:CDMA_MIP_MN_HA_AUTH_ALGORITHM`
       
  2699 @publishedAll
       
  2700 @released */
       
  2701 enum TCommDbCdmaMIpAuthAlgorithm
       
  2702 	{
       
  2703 	/** No authentication. */
       
  2704 	ECommDbCdmaMIpAuthNone = 0x0,	 
       
  2705 	/** MD5 authentication (IETF RFC 2002)*/
       
  2706 	ECommDbCdmaMIpAuthMd5 = 0x1		
       
  2707 	};
  2617 	};
  2708 
  2618 
  2709 /** Enum for the fields `PAN_SERVICE_EXTENSION:PAN_LOCAL_ROLE` and
  2619 /** Enum for the fields `PAN_SERVICE_EXTENSION:PAN_LOCAL_ROLE` and
  2710 	`PAN_SERVICE_EXTENSION:PAN_REMOTE_ROLE`
  2620 	`PAN_SERVICE_EXTENSION:PAN_REMOTE_ROLE`
  2711 @publishedAll
  2621 @publishedAll
  2714 	{
  2624 	{
  2715 	/** Role not specified. */
  2625 	/** Role not specified. */
  2716 	ECommDbPanRoleUnknown = 0x0000,
  2626 	ECommDbPanRoleUnknown = 0x0000,
  2717 	/** PAN-U Role. */
  2627 	/** PAN-U Role. */
  2718 	ECommDbPanRoleU = 0x1115,
  2628 	ECommDbPanRoleU = 0x1115,
  2719 	/** PAN-NAP Role. */	
  2629 	/** PAN-NAP Role. */
  2720 	ECommDbPanRoleNap = 0x1116,
  2630 	ECommDbPanRoleNap = 0x1116,
  2721 	/** PAN-GN Role. */
  2631 	/** PAN-GN Role. */
  2722 	ECommDbPanRoleGn = 0x1117
  2632 	ECommDbPanRoleGn = 0x1117
  2723 	};
  2633 	};
  2724 	
  2634 
  2725 /** ENum for the fields `WLAN_SERVICE_EXTENSION:EAP_SEC_OUTER_EAP_TYPE` */
  2635 /** ENum for the fields `WLAN_SERVICE_EXTENSION:EAP_SEC_OUTER_EAP_TYPE` */
  2726 enum TCommsDatEAPSECOuterEAPType
  2636 enum TCommsDatEAPSECOuterEAPType
  2727 	{
  2637 	{
  2728 	/** No Security */
  2638 	/** No Security */
  2729 	ECommsDatEAPSecNone = 0x0,
  2639 	ECommsDatEAPSecNone = 0x0,
  2739 	ECommsDatEAPSecLEAP = 0x5,
  2649 	ECommsDatEAPSecLEAP = 0x5,
  2740 	/** EAP-SIM */
  2650 	/** EAP-SIM */
  2741 	ECommsDatEAPSecEAPSIM = 0x6,
  2651 	ECommsDatEAPSecEAPSIM = 0x6,
  2742 	/** EAP-AKA */
  2652 	/** EAP-AKA */
  2743 	ECommsDatEAPSecEAPAKA = 0x7,
  2653 	ECommsDatEAPSecEAPAKA = 0x7,
  2744 #ifndef SYMBIAN_WIFI_WPS	
       
  2745 	/** EAP-MSCHAPv2 */
       
  2746 	ECommsDatEAPSecEAPMSCHAPv2 = 0x8
       
  2747 #else
       
  2748 	/** EAP-MSCHAPv2 */
  2654 	/** EAP-MSCHAPv2 */
  2749 	ECommsDatEAPSecEAPMSCHAPv2 = 0x8,
  2655 	ECommsDatEAPSecEAPMSCHAPv2 = 0x8,
  2750 	/** EAP-WPS */
  2656 	/** EAP-WPS */
  2751 	ECommsDatEAPSecEAPWPS = 0x9
  2657 	ECommsDatEAPSecEAPWPS = 0x9
  2752 #endif // SYMBIAN_WIFI_WPS	
       
  2753 	};
  2658 	};
  2754 
  2659 
  2755 /** ENum for the fields `WLAN_SERVICE_EXTENSION:TUN_EAP_INNERTYPE` */
  2660 /** ENum for the fields `WLAN_SERVICE_EXTENSION:TUN_EAP_INNERTYPE` */
  2756 enum TCommsDatTunEapInnerType
  2661 enum TCommsDatTunEapInnerType
  2757 	{
  2662 	{
  2843 	/** Fast Powersave mode */
  2748 	/** Fast Powersave mode */
  2844 	ECommsDatWlanPowerSaveModeFast = 0x1,
  2749 	ECommsDatWlanPowerSaveModeFast = 0x1,
  2845 	/** Max Powersave mode */
  2750 	/** Max Powersave mode */
  2846 	ECommsDatWlanPowerSaveModeMax = 0x2
  2751 	ECommsDatWlanPowerSaveModeMax = 0x2
  2847 	};
  2752 	};
  2848 	
  2753 
  2849 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_PREAMBLE_TYPE` */
  2754 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_PREAMBLE_TYPE` */
  2850 enum TCommsDatWlanPreambleType
  2755 enum TCommsDatWlanPreambleType
  2851 	{
  2756 	{
  2852 	/** Short */
  2757 	/** Short */
  2853 	ECommsDatWlanPreambleTypeShort = 0x0,
  2758 	ECommsDatWlanPreambleTypeShort = 0x0,
  2868 	ECommsDatWlanRegDomainSpain = 0x31,
  2773 	ECommsDatWlanRegDomainSpain = 0x31,
  2869 	/** France */
  2774 	/** France */
  2870 	ECommsDatWlanRegDomainFrance = 0x32,
  2775 	ECommsDatWlanRegDomainFrance = 0x32,
  2871 	/** MKK - Japan */
  2776 	/** MKK - Japan */
  2872 	ECommsDatWlanRegDomainMKK = 0x40,
  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,
  2873 	/** World */
  2869 	/** World */
  2874 	ECommsDatWlanRegDomainWorld = 0xFF
  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}
  2875 	};
  2929 	};
  2876 
  2930 
  2877 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_AUTHENTICATION_MODE` */
  2931 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_AUTHENTICATION_MODE` */
  2878 enum TCommsDatWlanAuthenticationMode
  2932 enum TCommsDatWlanAuthenticationMode
  2879 	{
  2933 	{
  2887 	ECommsDatWlanAuthenticationModeWPAPSK,
  2941 	ECommsDatWlanAuthenticationModeWPAPSK,
  2888 	/** Open Authentication using EAP */
  2942 	/** Open Authentication using EAP */
  2889 	ECommsDatWlanAuthenticationModeOPENEAP,
  2943 	ECommsDatWlanAuthenticationModeOPENEAP,
  2890 	/** WPA2 */
  2944 	/** WPA2 */
  2891 	ECommsDatWlanAuthenticationModeWPA2,
  2945 	ECommsDatWlanAuthenticationModeWPA2,
  2892 #ifndef SYMBIAN_WIFI_WPS
       
  2893 	/* WPA2-PSK */
  2946 	/* WPA2-PSK */
  2894 	ECommsDatWlanAuthenticationModeWPA2PSK
       
  2895 #else
       
  2896 	ECommsDatWlanAuthenticationModeWPA2PSK,
  2947 	ECommsDatWlanAuthenticationModeWPA2PSK,
  2897 	/* EAP-WPS */
  2948 	/* EAP-WPS */
  2898 	ECommsDatWlanAuthenticationModeEapWps
  2949 	ECommsDatWlanAuthenticationModeEapWps
  2899 #endif //SYMBIAN_WIFI_WPS	
       
  2900 	};
  2950 	};
  2901 
  2951 
  2902 
  2952 
  2903 #endif //CDBCOLS_H
  2953 #endif //CDBCOLS_H