1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // - General definitions for client use
15 // - Table and column names,
16 // - Enums and constants use in tables,
17 // - UIDs for notifications
26 @deprecated since v9.1. Functionality is replaced with commsdat.
34 // Database table names. The name (a string) of each table is defined by a macro.
35 #define NETWORK _S("Network")
36 /** Internet access point table identifier.*/
38 /** Identifier of default dial-out ISP table.
40 Field type: TUint32 */
41 #define DIAL_OUT_ISP _S("DialOutISP")
42 /** Dial-in Internet Service Provider.
44 #define DIAL_IN_ISP _S("DialInISP")
45 /** Outgoing WCDMA table.
47 #define OUTGOING_WCDMA _S("OutgoingGPRS")
50 #define INCOMING_WCDMA _S("IncomingGPRS")
51 #define LAN_SERVICE _S("LANService") // test use only
52 #define PAN_SERVICE_EXTENSIONS _S("PANServiceExtensions")
53 #define WLAN_SERVICE_EXTENSIONS _S("WLANServiceExtensions")
55 Identifier of modem settings table.
56 In v7.0s, this table changed its name from MODEM to MODEM_BEARER.
57 In v6.1, it is possible to define only a single record for this table. */
58 #define MODEM_BEARER _S("ModemBearer")
59 #define LAN_BEARER _S("LANBearer")
60 /** Identifier of the default location table.
61 In 6.1, it is possible to define only a single record for this table.
62 Field type: TUint32 */
63 #define LOCATION _S("Location")
64 /** Identifier of the default chargecard table.
66 Field type: TUint32 */
67 #define CHARGECARD _S("Chargecard")
68 /** Identifier of proxy server settings table.*/
69 #define PROXIES _S("Proxies")
70 /** Identifier of default WAP Access Point table.
72 Field type: TUint32 */
73 #define WAP_ACCESS_POINT _S("WAPAccessPoint")
75 #define WAP_IP_BEARER _S("WAPIPBearer")
76 /** WAP SMS bearer. */
77 #define WAP_SMS_BEARER _S("WAPSMSBearer")
78 /** GPRS default settings.
80 It is possible to define only one record for this table.
82 #define DEFAULT_GPRS _S("DefaultGPRS")
83 /** Bluetooth device table. */
84 #define BT_DEVICE_TABLE _S("BTDeviceTable")
85 /** Bluetooth default table. */
86 #define BT_DEFAULT_TABLE _S("BTDefaultTable")
87 /** Bluetooth security table. */
88 #define BT_SECURITY_TABLE _S("BTSecurityTable")
89 /** Bluetooth persist table. */
90 #define BT_PERSIST_TABLE _S("BTPersistTable")
91 /** Identifier of the sockets table.*/
92 #define SS_PROTO_TABLE _S("SecureSocketTable")
93 /** Agent lookup table identifier*/
94 #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")
100 #define VPN_SERVICE _S("VpnService")
101 #define WLAN_SERVICE_EXTENSION_TABLE _S("WLANServiceExtensionTable")
103 #define ACCESS_POINT_TABLE _S("AccessPointTable")
104 #define IAP_PRIORITY_SELECTION_POLICY_TABLE _S("IAPPrioritySelectionPolicyTable")
105 #define XML_ACCESS_POINT_TABLE _S("AccessPoint")
107 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
109 #define AP_PRIORITY_SELECTION_POLICY_TABLE _S("APPrioritySelectionPolicyTable")
110 #define TIER_TABLE _S("TierTable")
111 #define MCPR_TABLE _S("MCprTable")
112 #define CPR_TABLE _S("CprTable")
113 #define SCPR_TABLE _S("SCprTable")
114 #define PROTOCOL_TABLE _S("ProtocolTable")
115 #define BEARER_TYPE_TABLE _S("BearerTypeTable")
116 #define CONFIG_ACCESS_POINT_TABLE _S("ConfigAccessPointTable")
118 #define XML_AP_PRIORITY_SELECTION_POLICY_TABLE _S("APPrioritySelectionPolicy")
119 #define XML_TIER_TABLE _S("Tier")
120 #define XML_MCPR_TABLE _S("MCpr")
121 #define XML_CPR_TABLE _S("Cpr")
122 #define XML_SCPR_TABLE _S("SCpr")
123 #define XML_PROTOCOL_TABLE _S("Protocol")
124 #define XML_BEARER_TYPE_TABLE _S("BearerType")
125 #define XML_CONFIG_ACCESS_POINT_TABLE _S("ConfigAccessPoint")
127 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
129 #define EAP_SEC_TABLE _S("EAPSecuritySettingsTable")
130 #define TUN_EAP_TABLE _S("TunnelledEAPSettingsTable")
131 #define EAP_TLS_TABLE _S("EAPTLSSettingsTable")
132 #define LEAP_TABLE _S("LEAPSettingsTable")
133 #define EAPSIM_PROTOCOL_TABLE _S("EapSimProtocolTable")
134 #define EAPAKA_PROTOCOL_TABLE _S("EapAkaProtocolTable")
136 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
138 #define POLICY_SELECTOR_TABLE _S("PolicySelectorTable")
139 #define XML_POLICY_SELECTOR_TABLE _S("PolicySelector")
141 #define POLICYSELECTOR2QOSPARAMETERS_TABLE _S("PolicySelector2QosParametersTable")
142 #define XML_POLICYSELECTOR2QOSPARAMETERS_TABLE _S("PolicySelector2QosParameters")
144 #define GENERIC_QOS_TABLE _S("GenericQosTable")
145 #define XML_GENERIC_QOS_TABLE _S("GenericQos")
147 // need to preserve compatibility, soon to become internalTechnology
148 //#ifdef SYMBIAN_NETWORKING_WIFI
149 #define WIFI_SCANENGINE_TABLE _S("WifiScanEngineTable")
150 //#endif //SYMBIAN_NETWORKING_WIFI
152 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
155 //DEPRECATED : MODEM has been reassigned so as to maintain backwards compatibility
156 /** Identifier of default modem.
159 @deprecated Unsupported since v7.0 */
160 #define MODEM MODEM_BEARER
161 // Just in case any applications use the literal pre-7.0s string for the ModemBearer table.
162 /** @deprecated Unsupported since v7.0 */
163 #define OLD_MODEM_TABLE _S("Modem")
168 // The following macros define values for the Global table fields.
169 // Note that Global table fields are accessed through CCommsDatabase.
171 /** Number of times to attempt redial when the ISP number is busy.
173 Field type: TUint32 */
174 #define REDIAL_ATTEMPTS _S("RedialAttempts")
175 /** The bearer for sending SMS.
177 Values for this are defined by the enum RMobileSmsMessaging::TMobileSmsBearer
179 Field type: TUint32 */
180 #define SMS_BEARER _S("SmsBearer") // Takes the values of RGprs::TSmsBearer from ETEL
181 /** The SMS receive mode, taken from RMobileSmsMessaging::TMobileSmsReceiveMode.
183 Field type: TUint32 */
184 #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
188 Values for this are defined by the enum RPacketService::TAttachMode
189 Field type: TUint32 */
190 #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
192 accepted (when there is a waiting application).
194 Use a TBool to specify the value.
196 Field type: TUint32 */
197 #define ACCEPT_INCOMING_GPRS _S("AcceptIncomingGprs") // Takes a TBool value - ETrue = accept incoming requests, EFalse = reject incoming requests
198 /** The preferred bearer when device is forced into GPRS Class C operation.
200 The values for this field are defined by TCommDbGprsClassCBearer.
204 @see TCommDbGprsClassCBearer */
205 #define GPRS_CLASS_C_BEARER _S("GPRSClassCBearer") // Takes the values of TCommDbGprsClassCBearer
206 /** The number of connection attempts (preferences) to make.
208 This is limited to a maximum of 2.
210 Field type: TUint32 */
211 #define CONNECTION_ATTEMPTS _S("ConnectionAttempts") // Number of connection preferences, with incremental rank, to try
212 /** Specifies the ID of the modem record to be used for data transactions.
214 Field type: TUint32 */
215 #define MODEM_DATA_FAX _S("ModemForDataAndFax")
216 /** Specifies the ID of the modem record to be used for phone services such as SMS.
218 Field type: TUint32 */
219 #define MODEM_PHONE_SERVICES_SMS _S("ModemForPhoneServicesAndSMS")
220 /** Specifies the location to be used with the default modem for data transactions.
222 Field type: TUint32 */
223 #define LOCATION_DATA_FAX _S("LocationForDataAndFax")
224 /** Specifies the location to be used with default modem for phone services such
227 Field type: TUint32 */
228 #define LOCATION_PHONE_SERVICES_SMS _S("LocationForPhoneServicesAndSMS")
229 /** Maximum RMBuf heap size.
231 Field type: TUint32 */
232 #define MAXMBUF_HEAP _S("MaxMBufHeap")
233 #define DEFAULT_AGENT _S("DefaultAgent")
234 #define DEFAULT_NETWORK _S("DefaultNetwork")
235 #define BEARER_AVAILABILITY_CHECK_TSY _S("BearerAvailabilityCheckTSY")
237 // The following fields define the specific CDMA parameters provisioned through OTA
238 // and defined in TIA-683B section 3.5.8
240 /** Operation capability bitmap to indicate which operations are supported by the MS.
243 bit 0 - SimpleIP supported
245 bit 1 - MobileIP supported
247 bit 2 - MobileIP with simple IP fallback supported
251 Field type: TUint32 */
252 #define CDMA_OP_CAPABILITY _S("CDMAOperationCapability")
253 /** Maximum number of SimpleIP NAI entries.
255 Field type: TUint32 */
256 #define CDMA_SIMIP_MAX_NUM_NAI _S("CDMASimpleIpMaxNumNai")
257 /** Maximum SimpleIP NAI length (min 72 octets).
259 Field type: TUint32 */
260 #define CDMA_SIMIP_MAX_NAI_LENGTH _S("CDMASimpleIpMaxNaiLength")
261 /** Maximum length of SimpleIP shared secret data.
263 Field type: TUint32 */
264 #define CDMA_SIMIP_MAX_SS_LENGTH _S("CDMASimpleIpMaxSsLength")
265 /** SimpleIP authentication algorithm bitmap supported by the MS.
268 bit 0 - CHAP supported
270 bit 1 - PAP supported
274 Field type: TUint32 */
275 #define CDMA_SIMIP_AUTH_SUPPORTED _S("CDMASimpleIpAuthSupported")
276 /** Maximum number of mobile IP NAI entries.
278 Field type: TUint32 */
279 #define CDMA_MIP_MAX_NUM_NAI _S("CDMAMobileIpMaxNumNai")
280 /** Maximum MobileIP NAI length (min 72 octets).
282 Field type: TUint32 */
283 #define CDMA_MIP_MAX_NAI_LENGTH _S("CDMAMobileIpMaxNAILength")
284 /** Maximum length of the shared secret data (MN-AAA)
286 Field type: TUint32 */
287 #define CDMA_MIP_MAX_MN_AAA_SS_LENGTH _S("CDMAMobileIpMaxMnAaaSsLength")
288 /** Authentication algorithm bitmap (MN-AAA) supported by the mobile station.
291 bit 0 - MD5 authentication supported (RFC 3012)
295 Field type: TUint32 */
296 #define CDMA_MIP_MN_AAA_AUTH_ALGORITHM _S("CDMAMobileIpMnAaaAuthAlgorithm")
297 /** Maximum length of the shared secret data (MN-HA)
299 Field type: TUint32 */
300 #define CDMA_MIP_MAX_MN_HA_SS_LENGTH _S("CDMAMobileIpMaxMnHaSsLength")
301 /** Authentication algorithm bitmap (MN-HA) supported by the mobile station.
304 bit 0 - MD5 authentication supported (RFC 3012)
308 Field type: TUint32 */
309 #define CDMA_MIP_MN_HA_AUTH_ALGORITHM _S("CDMAMobileIpMnHaAuthAlgorithm")
311 /** Prompt for an Access Point if used.
314 #define PROMPT_FOR_AP _S("PromptForSnap")
317 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
319 /** If default Access Point is defined, use default Access Point. Otherwise use connection preferences.
321 Field type: TUint32 */
322 #define DEFAULT_AP _S("DefaultSnap")
326 /** This field differentiate the Bravo selection from the 399 selection
327 (needed for implicit scenarios where prefs are not available).
329 Field type: TUint32 */
330 #define DEFAULT_SNAP _S("DefaultSnap")
334 Field type: TUint32 */
335 #define DEFAULT_TIER _S("DefaultTier")
340 #define PROMPT_USER _S("PromptUser")
341 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
343 /** This field defines the default or current IEEE 802.11 regulatory domain or country code.
344 Field type: TCommsDatWlanRegDomain */
345 #define REGULATORY_DOMAIN _S("RegulatoryDomain")
348 Maintained for backwards compatibility.
349 Specifies whether to show the connection dialog.
350 Field type: TUint32 (Boolean)
352 #define ASK_USER_BEFORE_DIAL _S("AskUserBeforeDial")
353 /** Identifier of default dial-out IAP.
357 #define DIAL_OUT_IAP _S("DialOutIAP")
358 #define DIAL_IN_IAP _S("DialInIAP")
359 /** Identifier of (dial out) ISP in this IAP.
360 Field type: TUint32. This field may not be left as NULL.
362 #define IAP_ISP _S("IAPISP")
363 /** Time to stay online when all clients have closed.
367 #define CLIENT_TIMEOUT _S("ClientTimout")
368 /** Time to stay online when idle.
372 #define ROUTE_TIMEOUT _S("RouteTimeout")
373 /** Outgoing GPRS table.
375 #define OUTGOING_GPRS OUTGOING_WCDMA
376 /** Incoming GPRS table.
378 #define INCOMING_GPRS INCOMING_WCDMA
379 #define ECommDbBearerUnknown KCommDbBearerUnknown
380 #define ECommDbBearerCSD KCommDbBearerCSD
381 #define ECommDbBearerWcdma KCommDbBearerWcdma
382 #define ECommDbBearerLAN KCommDbBearerLAN
383 #define ECommDbBearerCdma2000 KCommDbBearerCdma2000
384 #define ECommDbBearerPSD KCommDbBearerPSD
385 #define ECommDbBearerVirtual KCommDbBearerVirtual
386 #define ECommDbBearerPAN KCommDbBearerPAN
387 #define ECommDbBearerWLAN KCommDbBearerWLAN
388 /** Avoids the need for lots of search & replace in migrations from v6.1 */
389 #define ECommDbBearerGPRS ECommDbBearerWcdma
391 // Columns common to all tables
392 /**Unique ID assigned by the server for identification of records by the server.
394 Field type: TUint32 */
395 #define COMMDB_ID _S("Id") // Id of the row
396 /**Name of the record for easy identification by the user.
398 This is not present in the some tables.
400 #define COMMDB_NAME _S("Name") // Name of the row
402 // 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
404 // 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.
406 _LIT(COMMDB_UNUSED_NAME, "__UNUSED_ENTRY_DO_NOT_DELETE__");
408 // Columns for `IAP` table
409 // The following macros define values for the IAP table fields.
410 // An IAP table allows a group of related records for service information (including service
411 // type), and chargecard (optional) to be identified.
412 /** Identifier of the dialog preference in this IAP.
414 Field type: TUint32. This field may be left as NULL. */
415 #define IAP_DIALOG_PREF _S("DialogPref")
416 /** Identifier of the service in this IAP.
418 Field type: TUint32. This field may not be left as NULL. */
419 #define IAP_SERVICE _S("IAPService")
420 /** Name of the service table (e.g. DIAL_OUT_ISP, OUTGOING_GPRS)
423 Field type: Text. This field may not be left as NULL. */
424 #define IAP_SERVICE_TYPE _S("IAPServiceType")
425 /** Identifier of the bearer in this IAP.
427 Field type: TUint32. This field may be left as NULL. */
428 #define IAP_BEARER _S("IAPBearer")
429 /** Identifier of the type of the bearer in this IAP.
431 Field type: Text. This field may be left as NULL. */
432 #define IAP_BEARER_TYPE _S("IAPBearerType")
433 /** Identifier of the network in this IAP.
435 Field type: TUint32. This field may be left as NULL. */
436 #define IAP_NETWORK _S("IAPNetwork")
437 #ifdef SYMBIAN_NETWORKING_UMTSR5
438 /** Identifier of the Application secure ID in this IAP.
440 Field type: TUint32. This field may be left as NULL. */
441 #define IAP_APPSID _S("IAPAppSid")
443 #endif //SYMBIAN_NETWORKING_UMTSR5
444 /** Identifier of the weighting for networks in this IAP.
446 Field type: TUint32. This field may be left as NULL. */
447 #define IAP_NETWORK_WEIGHTING _S("IAPNetworkWeighting")
448 /** Identifier of the location in this IAP.
450 Field type: TUint32. This field may be left as NULL. */
451 #define IAP_LOCATION _S("Location")
452 //#define IAP_CHARGECARD _S("Chargecard")
454 #define BCA_STACK _S("BCAStack") ///< Comma separated list of BCAs, eg. C32BCA
456 // Columns common to all bearer tables using IP and PPP
457 #define IF_NAME _S("IfName") ///< Interface name, e.g. "PPP" or "SLIP"
459 // Columns common to all service tables using IP and PPP
460 #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"
464 /** 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.
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).
467 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")
470 #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
472 #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
474 #define SERVICE_IF_CALLBACK_ENABLED _S("IfCallbackEnabled") ///< Callback enabled?
475 #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
477 #define SERVICE_CALLBACK_TIMEOUT _S("CallbackTimeout") ///< time to wait for callback
478 #define SERVICE_IF_SERVER_MODE _S("IfServerMode") ///< PPP in server mode?
480 #define SERVICE_IP_ADDR_FROM_SERVER _S("IpAddrFromServer") ///< Get IP address from server?
481 #define SERVICE_IP_ADDR _S("IpAddr") ///< IP Address of Interface
482 #define SERVICE_IP_NETMASK _S("IpNetMask") ///< IP Netmask of Interface
483 #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?
485 #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
488 #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
490 #define SERVICE_IP6_NAME_SERVER2 _S("Ip6NameServer2") ///< IP Address of secondary name server reachable through this interface
492 #define SERVICE_ENABLE_IP_HEADER_COMP _S("EnableIPHeaderComp") ///< Enable IP header compression
493 #define SERVICE_ENABLE_LCP_EXTENSIONS _S("EnableLCPExtension") ///< Enable LCP extension
494 #define SERVICE_DISABLE_PLAIN_TEXT_AUTH _S("DisablePlainTextAuth") ///< Disable plain text authentication
495 #define SERVICE_ENABLE_SW_COMP _S("EnableSWComp") ///< Enable S/W compression
497 #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)
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)
500 #define SERVICE_CONFIG_DAEMON_NAME _S("ConfigDaemonName") ///< Name of the daemon used for address configuration .e.g Dhcp, MobileIp
502 /** Enable link-local multicast name resolution
504 Field type: TBool. This field may be left as NULL. */
505 #define SERVICE_ENABLE_LLMNR _S("EnableLLMNR")
506 #define ISP_SERVICE_ENABLE_LLMNR SERVICE_ENABLE_LLMNR
507 #define GPRS_SERVICE_ENABLE_LLMNR SERVICE_ENABLE_LLMNR
508 #define LAN_SERVICE_ENABLE_LLMNR SERVICE_ENABLE_LLMNR
509 #define CDMA_SERVICE_ENABLE_LLMNR SERVICE_ENABLE_LLMNR
510 #define VPN_SERVICE_ENABLE_LLMNR SERVICE_ENABLE_LLMNR
512 // Columns of the `DIAL_OUT_ISP` and `DIAL_IN_ISP` service tables.
513 // The following macros define values for the dial out/in ISP table fields.
514 /** Description of ISP (for use by applications etc.)
516 Field type: Text. This field may be left as NULL.*/
517 #define ISP_DESCRIPTION _S("Description") // text field for app to use to describe ISP
518 /** TCommsDbIspType value indicating ISP type, e.g. Internet, LAN, etc.
520 Field type: TUint32. This field may be left as NULL. */
521 #define ISP_TYPE _S("Type") // int field for ISP "type" e.g. Internet, LAN, etc
523 /** Default phone number.
525 Field type: Text. This field may be left as NULL. */
526 #define ISP_DEFAULT_TEL_NUM _S("DefaultTelNum") // The default telephone number to be used if the location does not match those below
527 /** Perform dialling resolution for default phone number?
529 Field type: TBool. This field may not be left as NULL. */
530 #define ISP_DIAL_RESOLUTION _S("DialResolution") // Perform Dialing Resolution for default phone number?
531 /** Use login script?
533 Field type: TBool. This field may not be left as NULL. */
534 #define ISP_USE_LOGIN_SCRIPT _S("UseLoginScript") // Use login script?
535 /** Login script (used if ISP_USE_LOGIN_SCRIPT is ETrue).
537 Type Text. This field may be left as NULL. */
538 #define ISP_LOGIN_SCRIPT _S("LoginScript") // Login Script
539 /** Prompt user for username and password?
541 Field type: TBool. This field may not be left as NULL. */
542 #define ISP_PROMPT_FOR_LOGIN _S("PromptForLogin") // Prompt user for username and password?
545 Field type: Text. This field may be left as NULL. */
546 #define ISP_LOGIN_NAME _S("LoginName") // Login name
549 Field type: Text. This field may be left as NULL. */
550 #define ISP_LOGIN_PASS _S("LoginPass") // Login password
551 /** Identifier of the chargecard used for this ISP (optional).
553 Field type: TUint32. This field may be left as NULL. */
554 #define ISP_CHARGECARD _S("Chargecard")
555 /** Display post connection terminal (PCT) (without scanning script for READ command)?
557 Field type: TBool. This field may be left as NULL. */
558 #define ISP_DISPLAY_PCT _S("DisplayPCT") // Display PCT (do not scan script for READ)?
559 //#define ISP_IF_NAME SERVICE_IF_NAME
560 /** Interface parameter string
562 Field type: Text. This field may be left as NULL. */
563 #define ISP_IF_PARAMS SERVICE_IF_PARAMS
564 /** Comma separated list of network protocols, e.g. "IP"
566 Field type: Text. This field may be left as NULL. */
567 #define ISP_IF_NETWORKS SERVICE_IF_NETWORKS
569 /** Prompt user for authentication username and password?
571 Field type: TBool. This field may not be left as NULL. */
572 #define ISP_IF_PROMPT_FOR_AUTH SERVICE_IF_PROMPT_FOR_AUTH
573 /** Authentication username used by PPP
575 Field type: Text. This field may be left as NULL. */
576 #define ISP_IF_AUTH_NAME SERVICE_IF_AUTH_NAME
577 /** Authentication password used by PPP
579 Field type: Text. This field may be left as NULL. */
580 #define ISP_IF_AUTH_PASS SERVICE_IF_AUTH_PASS
581 /** Number of retries if authentication fails.
583 Field type: TUint32. This field may be left as NULL. */
584 #define ISP_IF_AUTH_RETRIES SERVICE_IF_AUTH_RETRIES
585 /** Callback enabled?
587 Field type: TBool. This field may be left as NULL. */
588 #define ISP_IF_CALLBACK_ENABLED SERVICE_IF_CALLBACK_ENABLED
589 /** TCallbackAction value indicating type of callback (if enabled)
591 Field type: TUint32. This field may be left as NULL. */
592 #define ISP_IF_CALLBACK_TYPE SERVICE_IF_CALLBACK_TYPE
593 /** Callback information, e.g. phone number to call back to.
595 Field type: 8-Bit Text. This field may be left as NULL. */
596 #define ISP_IF_CALLBACK_INFO SERVICE_IF_CALLBACK_INFO
597 /** Time to wait for callback in microseconds (if enabled)
599 Field type: TUint32. This field may be left as NULL. */
600 #define ISP_CALLBACK_TIMEOUT SERVICE_CALLBACK_TIMEOUT
601 /** PPP in server mode?
603 Field type: TBool. This field may be left as NULL. */
604 #define ISP_IF_SERVER_MODE SERVICE_IF_SERVER_MODE
606 /** Get IP address from server?
608 Field type: TBool. This field may not be left as NULL. */
609 #define ISP_IP_ADDR_FROM_SERVER SERVICE_IP_ADDR_FROM_SERVER
610 /** IP address of interface
612 Field type: Text. This field may be left as NULL. */
613 #define ISP_IP_ADDR SERVICE_IP_ADDR
614 /** IP net mask of interface
616 Field type: Text. This field may be left as NULL. */
617 #define ISP_IP_NETMASK SERVICE_IP_NETMASK
618 /** IP address of gateway
620 Field type: Text. This field may be left as NULL. */
621 #define ISP_IP_GATEWAY SERVICE_IP_GATEWAY
622 /** Get DNS addresses from server?
624 Field type: TBool. This field may not be left as NULL. */
625 #define ISP_IP_DNS_ADDR_FROM_SERVER SERVICE_IP_DNS_ADDR_FROM_SERVER
626 /** IP address of primary name server
628 Field type: Text. This field may be left as NULL. */
629 #define ISP_IP_NAME_SERVER1 SERVICE_IP_NAME_SERVER1
630 /** IP address of secondary name server
632 Field type: Text. This field may be left as NULL. */
633 #define ISP_IP_NAME_SERVER2 SERVICE_IP_NAME_SERVER2
635 #define ISP_IP6_DNS_ADDR_FROM_SERVER SERVICE_IP6_DNS_ADDR_FROM_SERVER
636 #define ISP_IP6_NAME_SERVER1 SERVICE_IP6_NAME_SERVER1
637 #define ISP_IP6_NAME_SERVER2 SERVICE_IP6_NAME_SERVER2
639 #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
642 /** Name of the ECOM configuration daemon manager component.
643 This component interfaces with the server identified in ISP_CONFIG_DAEMON_NAME.
644 If specified, ISP_CONFIG_DAEMON_NAME should also be specified.
646 Field type: Text. This field may be left as NULL. */
647 #define ISP_CONFIG_DAEMON_MANAGER_NAME SERVICE_CONFIG_DAEMON_MANAGER_NAME
648 /** Name of the configuration daemon server. This server is used to
649 provide further configuration for a connection, e.g. dynamic IP
650 address assignment. If specified, ISP_CONFIG_DAEMON_MANAGER_NAME
651 should also be specified.
653 Field type: Text. This field may be left as NULL. */
654 #define ISP_CONFIG_DAEMON_NAME SERVICE_CONFIG_DAEMON_NAME
656 /** Enable IP header compression
658 Field type: TBool. This field may be left as NULL. */
659 #define ISP_ENABLE_IP_HEADER_COMP SERVICE_ENABLE_IP_HEADER_COMP
660 /** Whether to enable LCP extensions.
662 Field type: TBool. This field may be left as NULL. */
663 #define ISP_ENABLE_LCP_EXTENSIONS SERVICE_ENABLE_LCP_EXTENSIONS
664 /** Disable plain text authentication?
666 Field type: TBool. This field may be left as NULL. */
667 #define ISP_DISABLE_PLAIN_TEXT_AUTH SERVICE_DISABLE_PLAIN_TEXT_AUTH
668 /** Enable software compression (e.g. Microsoft, STAC or Predictor compression)?
670 Field type: TBool. This field may be left as NULL. */
671 #define ISP_ENABLE_SW_COMP SERVICE_ENABLE_SW_COMP
673 /** The name of the bearer (RMobileCall::TMobileCallDataProtocol value)
675 Field type: TUint32. This field may be left as NULL. */
676 #define ISP_BEARER_NAME _S("BearerName") // Bearer Name (for GSM)
677 /** Connection speed if this is an ISDN, HSCSD or other connection (RMobileCall::TMobileCallDataSpeed
680 Field type: TUint32. This field may be left as NULL. */
681 #define ISP_BEARER_SPEED _S("BearerSpeed") // Bearer Speed (for GSM)
682 /** The bearer CE (RMobileCall::TMobileCallTchCoding value)
684 Field type: TUint32. This field may be left as NULL. */
685 #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
687 will be copied into the MODEM_ISP_INIT_STRING field by RGenericAgent.
689 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
692 /** TCommsDbBearerType value indicating connection type, e.g. Standard GSM, HSCSD.
694 Field type: TUint32. This field may be left as NULL. */
695 #define ISP_BEARER_TYPE _S("BearerType") // HSCSD or CSD?
696 /** RMobileCall::TMobileCallTchCoding value specifying HSCSD channel coding.
698 Field type: TUint32. This field may be left as NULL. */
699 #define ISP_CHANNEL_CODING _S("ChannelCoding") // Channel coding if HSCSD connection
700 /** RMobileCall::TMobileCallAiur value specifying AIUR for HSCSD.
702 Field type: TUint32. This field may be left as NULL. */
703 #define ISP_AIUR _S("AIUR") // AIUR is HSCSD connection
704 /** Requested number of time slots for HSCSD.
706 Field type: TUint32. This field may be left as NULL. */
707 #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
711 Field type: TUint32. This field may be left as NULL. */
712 #define ISP_MAXIMUM_TIME_SLOTS _S("MaximumTimeSlots") // Maximum time slots if HSCSD connection
714 /** Reserved for future use.
716 Field type: Text. This field may be left as NULL. */
717 #define ISP_AUTHENTICATION _S("Authentication") // Authentication table/group (dial in only)
719 /** Enum of type RMobileCall::TMobileCallDataService.
721 Field type: TUint32. This field may be left as NULL. */
722 #define ISP_BEARER_SERVICE _S("BearerService")
723 /** Enum of type RMobileCall::TMobileCallDataProtocol.
725 Field type: TUint32. This field may be left as NULL. */
726 #define ISP_BEARER_PROTOCOL _S("BearerProtocol")
727 /** Enum of type RMobileCall::TMobileCallDataRLPVersion.
729 Field type: TUint32. This field may be left as NULL. */
730 #define ISP_RLP_VERSION _S("RlpVersion")
731 /** Integer specifying network to MS window size.
733 Field type: TUint32. This field may be left as NULL. */
734 #define ISP_IWF_TO_MS _S("IwfToMs")
735 /** Integer specifying MS to network window size.
737 Field type: TUint32. This field may be left as NULL. */
738 #define ISP_MS_TO_IWF _S("MsToIwf")
739 /** Integer specifying rlp ack timeout in microseconds.
741 Field type: TUint32. This field may be left as NULL. */
742 #define ISP_ACK_TIMER _S("AckTimer")
743 /** Integer specifying rlp retransmission attempts.
745 Field type: TUint32. This field may be left as NULL. */
746 #define ISP_RETRANSMISSION_ATTEMPTS _S("RetransmissionAttempts")
747 /** Integer specifying resequencing period.
749 Field type: TUint32. This field may be left as NULL. */
750 #define ISP_RESEQUENCE_PERIOD _S("ResequencePeriod")
751 /** Enum of type RMobileCall::TMobileCallDataV42bis.
753 Field type: TUint32. This field may be left as NULL. */
754 #define ISP_V42_COMPRESSION _S("V42Compression")
755 /** Integer specifying V42bis codewords.
757 Field type: TUint32. This field may be left as NULL. */
758 #define ISP_V42_CODEWORDS _S("V42Codewords")
759 /** Integer specifying V42bis maximum string length.
761 Field type: TUint32. This field may be left as NULL. */
762 #define ISP_V42_MAX_LENGTH _S("V42MaxLength")
763 /** Enum of type RMobileCall::TMobileCallAsymmetry for HSCSD.
765 Field type: TUint32. This field may be left as NULL. */
766 #define ISP_ASYMMETRY _S("Asymmetry")
767 /** HSCSD parameter - user init upgrade?
769 Field type: TBool. This field may be left as NULL. */
770 #define ISP_USER_INIT_UPGRADE _S("UserInitUpgrade")
773 Field type: TBool. This field may be left as NULL. */
774 #define ISP_USE_EDGE _S("UseEdge")
778 // Columns for `OUTGOING_WCDMA` and `INCOMING_WCDMA` tables.
779 // The following macros define values for the outgoing and incoming WCDMA table fields.
780 // Both tables have the same set of fields.
781 /** Access point name.
783 Field type: Text. This field may be left as NULL. */
784 #define GPRS_APN _S("APN")
786 /** PDP (Packet Data Protocol, e.g. IP) type.
788 Field type: TUint32. This field may not be left as NULL. */
789 #define GPRS_PDP_TYPE _S("PDPType")
790 /** PDP address of the phone.
792 Field type: Text. This field may be left as NULL. */
793 #define GPRS_PDP_ADDRESS _S("PDPAddress") // Phone IP address
795 /** Requested quality of service precedence class.
797 Field type: TUint32 from RPacketQoS::TQoSPrecedence. This field may be left as NULL. */
798 #define GPRS_REQ_PRECEDENCE _S("ReqPrecedence")
799 /** Requested quality of service delay class.
801 Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
802 #define GPRS_REQ_DELAY _S("ReqDelay")
803 /** Requested quality of service reliability class.
805 Field type: TUint32 from RPacketQoS::TQoSReliability. This field may be left as NULL.*/
806 #define GPRS_REQ_RELIABILITY _S("ReqReliability")
807 /** Requested quality of service peak throughput.
809 Field type: TUint32 from RPacketQoS::TQoSPeakThroughput. This field may be left as NULL. */
810 #define GPRS_REQ_PEAK_THROUGHPUT _S("ReqPeakThroughput")
811 /** Requested quality of service mean throughput class.
813 Field type: TUint32 from RPacketQoS::TQoSMeanThroughput. This field may be left as NULL. */
814 #define GPRS_REQ_MEAN_THROUGHPUT _S("ReqMeanThroughput")
816 /** Minimum quality of service precedence class.
818 Field type: TUint32 from RPacketQoS::TQoSPrecedence. This field may be left as NULL. */
819 #define GPRS_MIN_PRECEDENCE _S("MinPrecedence")
820 /** Minimum quality of service delay class.
822 Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
823 #define GPRS_MIN_DELAY _S("MinDelay")
824 /** Minimum quality of service reliability class.
826 Field type: TUint32 from RPacketQoS::TQoSReliability. This field may be left as NULL.*/
827 #define GPRS_MIN_RELIABILITY _S("MinReliability")
828 /** Minimum quality of service peak throughput class.
830 Field type: TUint32 from RPacketQoS::TQoSMeanThroughput. This field may be left as NULL. */
831 #define GPRS_MIN_PEAK_THROUGHPUT _S("MinPeakThroughput")
832 /** Minimum quality of service mean throughput class.
834 Field type: TUint32 from RPacketQoS::TQoSMeanThroughput. This field may be left as NULL. */
835 #define GPRS_MIN_MEAN_THROUGHPUT _S("MinMeanThroughput")
837 /** Whether data compression is on.
839 Field type: TBool. This field may be left as NULL. */
840 #define GPRS_DATA_COMPRESSION _S("DataCompression")
841 /** Whether IP header compression is on.
843 Field type: TBool. This field may be left as NULL. */
844 #define GPRS_HEADER_COMPRESSION _S("HeaderCompression")
846 /** Whether data compression is on and what type of compression should be used when using UMTS R5
847 Field type: TDataCompression. This field may be left as NULL. */
848 #define GPRS_R5_DATA_COMPRESSION _S("R5DataCompression")
850 /** Whether IP header compression is on and what type of compression should be used when using UMTS R5
851 Field type: THeaderCompression. This field may be left as NULL. */
852 #define GPRS_R5_HEADER_COMPRESSION _S("R5HeaderCompression")
854 /** Packet flow indicator - See table 10.5.161 of TS 24.008
855 Field type: TPacketFlowIdentifier. This field may be left as NULL. */
856 #define GPRS_R4_PACKET_FLOW_IDENTIFIER _S("PacketFlowIdentifier")
858 /** Identifies the current UMTS/GPRS release in use.
859 Field type: TUmtsGprsRelease. This field may be left as NULL. */
860 #define GPRS_UMTS_GPRS_RELEASE _S("UmtsGprsRelease")
862 /** Whether use of anonymous access is on.
864 Field type: TBool. This field may be left as NULL. */
865 #define GPRS_ANONYMOUS_ACCESS _S("AnonymousAccess")
869 Field type: TBool. This field may be left as NULL. */
870 #define GPRS_USE_EDGE _S("GprsUseEdge")
872 //#define GPRS_IF_NAME SERVICE_IF_NAME
873 /** Interface parameter string.
875 Field type: Text. This field may be left as NULL. */
876 #define GPRS_IF_PARAMS SERVICE_IF_PARAMS
877 /** Comma separated list of network protocols, e.g. "PPP".
879 Field type: Text. This field may be left as NULL. */
880 #define GPRS_IF_NETWORKS SERVICE_IF_NETWORKS
881 /** Whether to prompt user for authentication username and password.
883 Field type: TBool. This field may not be left as NULL. */
884 #define GPRS_IF_PROMPT_FOR_AUTH SERVICE_IF_PROMPT_FOR_AUTH
885 /** Authentication username used by PPP.
887 Field type: Text. This field may be left as NULL. */
888 #define GPRS_IF_AUTH_NAME SERVICE_IF_AUTH_NAME
889 /** Authentication password used by PPP.
891 Field type: Text. This field may be left as NULL. */
892 #define GPRS_IF_AUTH_PASS SERVICE_IF_AUTH_PASS
893 /** Number of times to retry authentication if it fails.
895 Field type: TUint32. This field may be left as NULL. */
896 #define GPRS_IF_AUTH_RETRIES SERVICE_IF_AUTH_RETRIES
898 /** IP net mask of interface.
900 Field type: Text. This field may be left as NULL. */
901 #define GPRS_IP_NETMASK SERVICE_IP_NETMASK
902 /** IP address of the gateway.
904 Field type: Text. This field may be left as NULL. */
905 #define GPRS_IP_GATEWAY SERVICE_IP_GATEWAY
906 /** Whether to get IP addresses (for the Symbian phone) from the server.
908 Field type: TBool. This field may not be left as NULL. */
909 #define GPRS_IP_ADDR_FROM_SERVER SERVICE_IP_ADDR_FROM_SERVER
910 /** IP address of the Symbian phone
912 Field type: Text. This field may be left as NULL. */
913 #define GPRS_IP_ADDR SERVICE_IP_ADDR // EPOC IP address
914 /** Whether to get DNS addresses from the server.
916 Field type: TBool. This field may not be left as NULL. */
917 #define GPRS_IP_DNS_ADDR_FROM_SERVER SERVICE_IP_DNS_ADDR_FROM_SERVER
918 /** IP address of the primary name server.
920 Field type: Text. This field may be left as NULL. */
921 #define GPRS_IP_NAME_SERVER1 SERVICE_IP_NAME_SERVER1
922 /** IP address of the secondary name server.
924 Field type: Text. This field may be left as NULL. */
925 #define GPRS_IP_NAME_SERVER2 SERVICE_IP_NAME_SERVER2
927 #define GPRS_IP6_DNS_ADDR_FROM_SERVER SERVICE_IP6_DNS_ADDR_FROM_SERVER
928 #define GPRS_IP6_NAME_SERVER1 SERVICE_IP6_NAME_SERVER1
929 #define GPRS_IP6_NAME_SERVER2 SERVICE_IP6_NAME_SERVER2
931 #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
934 /** Name of the ECOM configuration daemon manager component.
935 This component interfaces with the server identified in GPRS_CONFIG_DAEMON_NAME.
936 If specified, GPRS_CONFIG_DAEMON_NAME should also be specified.
938 Field type: Text. This field may be left as NULL. */
939 #define GPRS_CONFIG_DAEMON_MANAGER_NAME SERVICE_CONFIG_DAEMON_MANAGER_NAME
940 /** Name of the configuration daemon server. This server is used to
941 provide further configuration for a connection, e.g. dynamic IP
942 address assignment. If specified, GPRS_CONFIG_DAEMON_MANAGER_NAME
943 should also be specified.
945 Field type: Text. This field may be left as NULL. */
946 #define GPRS_CONFIG_DAEMON_NAME SERVICE_CONFIG_DAEMON_NAME
948 /** Whether to enable LCP extensions.
950 Field type: TBool. This field may be left as NULL. */
951 #define GPRS_ENABLE_LCP_EXTENSIONS SERVICE_ENABLE_LCP_EXTENSIONS
952 /** Whether to disable plain text authentication.
954 Field type: TBool. This field may be left as NULL. */
955 #define GPRS_DISABLE_PLAIN_TEXT_AUTH SERVICE_DISABLE_PLAIN_TEXT_AUTH
957 /** Service supports Internet only, WAP only or both.
959 Field type: TUint32. This field may be left as NULL. */
960 #define GPRS_AP_TYPE _S("GprsAccessPointType")
962 /** If the requested QOS can not be satisfied warn the user after this time in microseconds.
963 Set to 0xffffffff to disable.
965 Field type: TUint32. This field may be left as NULL. */
966 #define GPRS_QOS_WARNING_TIMEOUT _S("QosWarningTimeout")
970 Link to the Gprs R99 Parameters Table
971 Field type: TUint32. This field may be left as NULL
973 #define QOS_UMTS_R99_AND_ON_TABLE _S("UmtsR99QoSAndOn")
976 // Columns of the `QOS R99 Parameters` Table.
978 #define GPRS_QOS_REQ_TRAFFIC_CLASS _S("ReqTrafficClass")
979 #define GPRS_QOS_MIN_TRAFFIC_CLASS _S("MinTrafficClass")
980 #define GPRS_QOS_REQ_DELIVERY_ORDER _S("ReqDeliveryOrder")
981 #define GPRS_QOS_MIN_DELIVERY_ORDER _S("MinDeliveryOrder")
982 #define GPRS_QOS_REQ_DELIVER_ERRONEOUS_SDU _S("ReqDeliverErroneousSDU")
983 #define GPRS_QOS_MIN_DELIVER_ERRONEOUS_SDU _S("MinDeliverErroneousSDU")
984 #define GPRS_QOS_REQ_MAX_SDUSIZE _S("ReqMaxSDUSize")
985 #define GPRS_QOS_MIN_ACCEPTABLE_MAX_SDU_SIZE _S("MinAcceptableMaxSDUSize")
986 #define GPRS_QOS_REQ_MAX_UPLINK_RATE _S("ReqMaxUplinkRate")
987 #define GPRS_QOS_REQ_MIN_UPLINK_RATE _S("ReqMinUplinkRate")
988 #define GPRS_QOS_REQ_MAX_DOWNLINK_RATE _S("ReqMaxDownlinkRate")
989 #define GPRS_QOS_REQ_MIN_DOWNLINK_RATE _S("ReqMinDownlinkRate")
990 #define GPRS_QOS_REQ_BER _S("ReqBER")
991 #define GPRS_QOS_MAX_BER _S("MaxBER")
992 #define GPRS_QOS_REQ_SDU_ERROR_RATIO _S("ReqSDUErrorRatio")
993 #define GPRS_QOS_MAX_SDU_ERROR_RATIO _S("MaxSDUErrorRatio")
994 #define GPRS_QOS_REQ_TRAFFIC_HANDLING_PRIORITY _S("ReqTrafficHandlingPriority")
995 #define GPRS_QOS_MIN_TRAFFIC_HANDLING_PRIORITY _S("MinTrafficHandlingPriority")
996 #define GPRS_QOS_REQ_TRANSFER_DELAY _S("ReqTransferDelay")
997 #define GPRS_QOS_MAX_TRANSFER_DELAY _S("MaxTransferDelay")
998 #define GPRS_QOS_REQ_GUARANTEED_UPLINK_RATE _S("ReqGuaranteedUplinkRate")
999 #define GPRS_QOS_MIN_GUARANTEED_UPLINK_RATE _S("MinGuaranteedUplinkRat")
1000 #define GPRS_QOS_REQ_GUARANTEED_DOWNLINK_RATE _S("ReqGuaranteedDownlinkRate")
1001 #define GPRS_QOS_MIN_GUARANTEED_DOWNLINK_RATE _S("MinGuaranteedDownlinkRate")
1002 #define GPRS_QOS_SIGNALLING_INDICATION _S("SignallingIndication")
1003 #define GPRS_QOS_IM_CN_SIGNALLING_INDICATOR _S("IMCNSignallingIndication")
1004 #define GPRS_QOS_SOURCE_STATISTICS_DESCRIPTOR _S("SourceStatisticsDescriptor")
1008 // Columns of the `LAN_SERVICE` Table.
1010 #define LAN_IF_NETWORKS SERVICE_IF_NETWORKS
1011 #define LAN_IP_NETMASK SERVICE_IP_NETMASK
1012 #define LAN_IP_GATEWAY SERVICE_IP_GATEWAY
1013 #define LAN_IP_ADDR_FROM_SERVER SERVICE_IP_ADDR_FROM_SERVER
1014 #define LAN_IP_ADDR SERVICE_IP_ADDR
1015 #define LAN_IP_DNS_ADDR_FROM_SERVER SERVICE_IP_DNS_ADDR_FROM_SERVER
1016 #define LAN_IP_NAME_SERVER1 SERVICE_IP_NAME_SERVER1
1017 #define LAN_IP_NAME_SERVER2 SERVICE_IP_NAME_SERVER2
1018 #define LAN_IP6_DNS_ADDR_FROM_SERVER SERVICE_IP6_DNS_ADDR_FROM_SERVER
1019 #define LAN_IP6_NAME_SERVER1 SERVICE_IP6_NAME_SERVER1
1020 #define LAN_IP6_NAME_SERVER2 SERVICE_IP6_NAME_SERVER2
1022 #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
1024 #define LAN_CONFIG_DAEMON_MANAGER_NAME SERVICE_CONFIG_DAEMON_MANAGER_NAME
1025 #define LAN_CONFIG_DAEMON_NAME SERVICE_CONFIG_DAEMON_NAME
1027 /** used when Bluetooth PAN profile or WLAN is in use */
1028 #define LAN_SERVICE_EXTENSION_TABLE_NAME _S("LanServiceExtensionTableName")
1029 #define LAN_SERVICE_EXTENSION_TABLE_RECORD_ID _S("LanServiceExtensionTableRecordId")
1032 // Columns of the `PAN_SERVICE_EXTENSION` Table.
1035 /** PAN role that the local device will act in. To dynamically select a role, use ECommDbPanRoleUnknown.
1036 Field type: TCommDbBluetoothPanRole.*/
1037 #define PAN_LOCAL_ROLE _S("LocalRole")
1038 /** PAN role that the remote device will act in. To dynamically select a role, use ECommDbPanRoleUnknown.
1039 Field type: TCommDbBluetoothPanRole.*/
1040 #define PAN_PEER_ROLE _S("PeerRole")
1041 /** A list of Bluetooth MAC addresses. If one address is specified, then PAN agent will connect to it. If more than one device address is specified (in a comma seperated list), then PAN agent will discover whether any of the devices are in range, and connect to one of them.
1042 Field type: Comma-separated list of Bluetooth MAC addresses, with no "0x" preamble and no colons separating the digits*/
1043 #define PAN_PEER_MAC_ADDRESSES _S("PeerMACAddresses")
1044 /** Whether the agent should prompt the user to select the remote devices to which we will connect.
1046 #define PAN_PROMPT_FOR_REMOTE_DEVICES _S("PromptForRemoteDevices")
1047 /** Whether the remote role defined above should be accepted without performing an SDP query to ensure the remote device supports the specified role. Not recommended for use.
1049 #define PAN_DISABLE_SDP_QUERY _S("DisableSdpQuery")
1050 /** Whether the PAN agent should support incoming connections.
1052 #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.
1055 #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
1060 #define PAN_NAP_SERVICE_ENABLED _S("NapServiceEnabled")
1061 #endif // SYMBIAN_NETWORKING_DHCPSERVER
1063 /** Columns of all bearer tables */
1064 #define AGENT_NAME _S("Agent")
1065 #define LAST_SOCKET_ACTIVITY_TIMEOUT _S("LastSocketActivityTimeout")
1066 #define LAST_SESSION_CLOSED_TIMEOUT _S("LastSessionClosedTimeout")
1067 #define LAST_SOCKET_CLOSED_TIMEOUT _S("LastSocketClosedTimeout")
1069 // Columns of the `MODEM BEARER` table.
1070 // The following macros define values for the Modem Bearer table fields.
1071 // Note that in v7.0s, this table changed its name from MODEM to MODEM_BEARER.
1072 // In v6.1 there can be only a single record in this table.
1073 /** Agent identifier.
1075 Field type: TUint32. This field may be left as NULL. */
1076 #define MODEM_AGENT AGENT_NAME
1079 Field type: Text. This field may be left as NULL. */
1080 #define MODEM_NIF_NAME IF_NAME
1081 /** BCA (Baseband Channel Adaptor) Stack.
1083 Field type: Text. This field may be left as NULL. */
1084 #define MODEM_BCA_STACK BCA_STACK
1087 Field type: Text. This field may be left as NULL. */
1088 #define MODEM_PORT_NAME _S("PortName")
1089 /** The modem control channel port name.
1091 Field type: Text. This field may be left as NULL. */
1092 #define MODEM_CONTROL_CHANNEL_PORT_NAME _S("ControlChannelPortName")
1095 Field type: Text. This field may be left as NULL. */
1096 #define MODEM_TSY_NAME _S("TSYName")
1099 Field type: Text. This field may be left as NULL. */
1100 #define MODEM_CSY_NAME _S("CSYName")
1101 /** Data bits (TDataBits value).
1103 Field type: TUint8. This field may not be left as NULL. */
1104 #define MODEM_DATA_BITS _S("DataBits") // Data Bits to use for ISP or Modem
1107 This is a TStopBits value.
1109 Field type: TUint8. This field may not be left as NULL. */
1110 #define MODEM_STOP_BITS _S("StopBits") // Stop Bits to use for ISP or Modem
1113 This is a TParity value.
1115 Field type: TUint8. This field may not be left as NULL. */
1116 #define MODEM_PARITY _S("Parity") // Parity Type to use for ISP or Modem
1119 This is a TBps value.
1121 Field type: TUint32. This field may not be left as NULL. */
1122 #define MODEM_RATE _S("Rate")
1125 Field type: TUint32. This field may be left as NULL. */
1126 #define MODEM_HANDSHAKING _S("Handshaking")
1129 Field type: TUint32. This field may be left as NULL. */
1130 #define MODEM_SPECIAL_RATE _S("SpecialRate")
1133 Field type: TUint8. This field may be left as NULL. */
1134 #define MODEM_XON_CHAR _S("XonChar")
1137 Field type: TUint8. This field may be left as NULL. */
1138 #define MODEM_XOFF_CHAR _S("XoffChar")
1140 /** Preferred fax class.
1142 This is a TFaxClass value.
1144 Field type: TUint8. This field may not be left as NULL. */
1145 #define MODEM_FAX_CLASS_PREF _S("FaxClassPref")
1146 /** Preferred speaker mode.
1148 This is a TCommsDbModemSpeakerSetting value.
1150 Field type: TUint8. This field may not be left as NULL. */
1151 #define MODEM_SPEAKER_PREF _S("SpeakerPref")
1152 /** Preferred speaker volume.
1154 This is a TCommsDbModemSpeakerVolume value.
1156 Field type: TUint8. This field may not be left as NULL. */
1157 #define MODEM_SPEAKER_VOL_PREF _S("SpeakerVolPref")
1159 /** General modem initialisation string
1161 Field type: 8-Bit Text. This field may be left as NULL. */
1162 #define MODEM_MODEM_INIT_STRING _S("ModemInitString")
1163 /** Data initialisation string
1165 Field type: 8-Bit Text. This field may be left as NULL. */
1166 #define MODEM_DATA_INIT_STRING _S("DataInitString")
1167 /** Fax initialisation string.
1169 Field type: 8-Bit Text. This field may be left as NULL. */
1170 #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.
1173 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.
1176 /** Command to modify the pause created during dialling using the comma character
1179 Field type: 8-Bit Text. This field may be left as NULL. */
1180 #define MODEM_DIAL_PAUSE_LENGTH _S("DialPauseLength")
1181 /** Command to set the time out the modem uses when establishing a link before
1182 giving up and returning to command mode.
1184 Field type: 8-Bit Text. This field may be left as NULL. */
1185 #define MODEM_CARRIER_TIMEOUT _S("CarrierTimeout")
1186 /** Command to set the number of rings before the modem auto answers.
1188 Field type: 8-Bit Text. This field may be left as NULL. */
1189 #define MODEM_AUTO_ANSWER_RING_COUNT _S("AutoAnswerRingCount")
1190 /** Command to set the modem speaker volume to low.
1192 Field type: 8-Bit Text. This field may be left as NULL. */
1193 // This field is left misspelled to preserve backward compatibility
1194 #define MODEM_SPEAKER_VOL_CONTROL_LOW _S("SpeakerVolContorlLow")
1195 /** Command to set the modem speaker volume to medium.
1197 Field type: 8-Bit Text. This field may be left as NULL. */
1198 #define MODEM_SPEAKER_VOL_CONTROL_MEDIUM _S("SpeakerVolControlMedium")
1199 /** Command to set the modem speaker volume to high.
1201 Field type: 8-Bit Text. This field may be left as NULL. */
1202 #define MODEM_SPEAKER_VOL_CONTROL_HIGH _S("SpeakerVolControlHigh")
1203 /** Command to set the modem speaker off.
1205 Field type: 8-Bit Text. This field may be left as NULL. */
1206 #define MODEM_SPEAKER_ALWAYS_OFF _S("SpeakerAlwaysOff")
1207 /** Command to set the modem speaker on until the carrier.
1209 Field type: 8-Bit Text. This field may be left as NULL. */
1210 #define MODEM_SPEAKER_ON_UNTIL_CARRIER _S("SpeakerOnUntilCarrier")
1211 /** Command to set the modem speaker on
1213 Field type: 8-Bit Text. This field may be left as NULL. */
1214 #define MODEM_SPEAKER_ALWAYS_ON _S("SpeakerAlwaysOn")
1215 /** Command to set the modem speaker on except during dialling.
1217 Field type: 8-Bit Text. This field may be left as NULL. */
1218 #define MODEM_SPEAKER_ON_AFTER_DIAL_UNTIL_CARRIER _S("SpeakerOnAfterUntilCarrier")
1219 /** The dial command modifier to wait for dial tone.
1221 Field type: 8-Bit Text. This field may be left as NULL. */
1222 #define MODEM_DIAL_TONE_WAIT_MODIFIER _S("DialToneWaitModifier")
1223 /** Disable busy and dial tone detection.
1225 Field type: 8-Bit Text. This field may be left as NULL. */
1226 #define MODEM_CALL_PROGRESS_1 _S("CallProgress1") // Dialtone & busy detection disabled, result codes 0-5,10
1227 /** Dial tone detection enabled, busy detection disabled.
1229 Field type: 8-Bit Text. This field may be left as NULL. */
1230 #define MODEM_CALL_PROGRESS_2 _S("CallProgress2") // Dialtone detection enabled & busy detection disabled, result codes 0-6,10
1231 /** Dial tone detection disabled, busy detection enabled.
1233 Field type: 8-Bit Text. This field may be left as NULL. */
1234 #define MODEM_CALL_PROGRESS_3 _S("CallProgress3") // Dialtone detection disabled , but busy detection enabled, result codes 0-5,7,10
1235 /** Dial tone and busy detection enabled.
1237 Field type: 8-Bit Text. This field may be left as NULL. */
1238 #define MODEM_CALL_PROGRESS_4 _S("CallProgress4") // Dialtone detection & busy detection enabled, result codes 0-7,10
1239 /** Switch echo mode off.
1241 Field type: 8-Bit Text. This field may be left as NULL. */
1242 #define MODEM_ECHO_OFF _S("EchoOff")
1243 /** Switch verbose mode on.
1245 Field type: 8-Bit Text. This field may be left as NULL. */
1246 #define MODEM_VERBOSE_TEXT _S("VerboseText")
1247 /** Switch quiet mode on.
1249 Field type: 8-Bit Text. This field may be left as NULL. */
1250 #define MODEM_QUIET_ON _S("QuietOn")
1251 /** Switch quiet mode off.
1253 Field type: 8-Bit Text. This field may be left as NULL. */
1254 #define MODEM_QUIET_OFF _S("QuietOff")
1255 /** Dial command modifier to return to command mode after dialling.
1257 Field type: 8-Bit Text. This field may be left as NULL. */
1258 #define MODEM_DIAL_COMMAND_STATE_MODIFIER _S("DialCommandStateModifier")
1259 /** Enter on-line mode from on-line command mode.
1261 Field type: 8-Bit Text. This field may be left as NULL. */
1262 #define MODEM_ON_LINE _S("OnLine")
1263 /** Reset the modem configuration.
1265 Field type: 8-Bit Text. This field may be left as NULL. */
1266 #define MODEM_RESET_CONFIGURATION _S("ResetConfiguration")
1267 /** Return the modem configuration to its factory defaults.
1269 Field type: 8-Bit Text. This field may be left as NULL. */
1270 #define MODEM_RETURN_TO_FACTORY_DEFS _S("ReturnToFactoryDefs")
1271 /** Command the modem to only assert DCD when a carrier is actually detected, i.e.
1272 while the link is up.
1274 Field type: 8-Bit Text. This field may be left as NULL. */
1275 #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.
1278 Field type: 8-Bit Text. This field may be left as NULL. */
1279 #define MODEM_DTR_HANG_UP _S("DTRHangUp")
1280 /** Command the modem to always assert DSR.
1282 Field type: 8-Bit Text. This field may be left as NULL. */
1283 #define MODEM_DSR_ALWAYS_ON _S("DSRAlwaysOn")
1284 /** Command the modem to use RTS/CTS flow control.
1286 Field type: 8-Bit Text. This field may be left as NULL. */
1287 #define MODEM_RTS_CTS_HANDSHAKE _S("RTSCTSHandshake")
1288 /** Command the modem to use software flow control.
1290 Field type: 8-Bit Text. This field may be left as NULL. */
1291 #define MODEM_XON_XOFF_HANDSHAKE _S("XonXoffHandshake")
1292 /** The character used by the DTE to return to command mode from on-line mode.
1294 Field type: 8-Bit Text. This field may be left as NULL. */
1295 #define MODEM_ESCAPE_CHARACTER _S("EscapeCharacter")
1296 /** Command the modem to use a particular escape sequence guard period.
1298 Field type: 8-Bit Text. This field may be left as NULL. */
1299 #define MODEM_ESCAPE_GUARD_PERIOD _S("EscapeGuardPeriod")
1300 /** Ask the modem which fax modes are supported.
1302 Field type: 8-Bit Text. This field may be left as NULL. */
1303 #define MODEM_FAX_CLASS_INTERROGATE _S("FaxClassInterrogate")
1304 /** Set the fax mode.
1306 Field type: 8-Bit Text. This field may be left as NULL. */
1307 #define MODEM_FAX_CLASS _S("FaxClass")
1309 /** Modem response when no dial tone is detected.
1311 Field type: 8-Bit Text. This field may be left as NULL. */
1312 #define MODEM_NO_DIAL_TONE _S("NoDialTone")
1313 /** Modem response when a busy tone is detected.
1315 Field type: 8-Bit Text. This field may be left as NULL. */
1316 #define MODEM_BUSY _S("Busy")
1317 /** Modem response when no answer is detected.
1319 Field type: 8-Bit Text. This field may be left as NULL. */
1320 #define MODEM_NO_ANSWER _S("NoAnswer")
1321 /** Carrier report message.
1323 Field type: 8-Bit Text. This field may be left as NULL. */
1324 #define MODEM_CARRIER _S("Carrier")
1325 /** Connection report message.
1327 Field type: 8-Bit Text. This field may be left as NULL. */
1328 #define MODEM_CONNECT _S("Connect")
1329 /** Compression Class 5 report message.
1331 Field type: 8-Bit Text. This field may be left as NULL. */
1332 #define MODEM_COMPRESSION_CLASS_5 _S("CompressionClass5")
1333 /** Compression V.42 bis report message.
1335 Field type: 8-Bit Text. This field may be left as NULL. */
1336 #define MODEM_COMPRESSION_V42BIS _S("CompressionV42bis")
1337 /** No compression report message.
1339 Field type: 8-Bit Text. This field may be left as NULL. */
1340 #define MODEM_COMPRESSION_NONE _S("CompressionNone")
1341 /** LAPD protocol report message.
1343 Field type: 8-Bit Text. This field may be left as NULL. */
1344 #define MODEM_PROTOCOL_LAPD _S("ProtocolLAPD")
1345 /** ALT protocol report message.
1347 Field type: 8-Bit Text. This field may be left as NULL. */
1348 #define MODEM_PROTOCOL_ALT _S("ProtocolALT")
1349 /** ALT-CELLULAR report message.
1351 Field type: 8-Bit Text. This field may be left as NULL. */
1352 #define MODEM_PROTOCOL_ALTCELLULAR _S("ProtocolALTCELLULAR")
1353 /** No protocol report message.
1355 Field type: 8-Bit Text. This field may be left as NULL. */
1356 #define MODEM_PROTOCOL_NONE _S("ProtocolNone")
1358 /** Phone number of message centre.
1360 Field type: TUint16. This field may be left as NULL. */
1361 #define MODEM_MESSAGE_CENTRE_NUMBER _S("MessageCentreNumber")
1362 /** Validity period for SMS in minutes.
1364 Field type: TUint32. This field may be left as NULL. */
1365 #define MODEM_MESSAGE_VALIDITY_PERIOD _S("MessageValidityPeriod")
1366 /** Whether to produce an SMS delivery report.
1368 Field type: TBool. This field may be left as NULL. */
1369 #define MODEM_MESSAGE_DELIVERY_REPORT _S("MessageDeliveryReport")
1370 /** Minimum signal level.
1372 Field type: TUint32. This field may not be left as NULL. */
1373 #define MODEM_MIN_SIGNAL_LEVEL _S("MinimumSignalLevel")
1375 Field type: TUint32. This field may be left as NULL. */
1376 #define MODEM_SIR_SETTINGS _S("SIRSettings")
1378 /** Whether comm port should be opened in the role of DTE or DCE
1379 Contents is a bit mask (see KModemCommRoleDCE)
1381 Field type: TUint32. This field may be left as NULL. */
1382 #define MODEM_COMM_ROLE _S("CommRole")
1384 /*Field type: TUint32. This field may be left as NULL. This is a TCommsDbBearerType value. */
1385 #define BEARER_TECHNOLOGY _S("BearerTechnology")
1387 // Columns of the 'LAN Bearer' table
1388 #define LAN_BEARER_AGENT AGENT_NAME
1389 #define LAN_BEARER_NIF_NAME IF_NAME
1390 #define LAN_BEARER_LDD_FILENAME _S("LDDFilename")
1391 #define LAN_BEARER_LDD_NAME _S("LDDName")
1392 #define LAN_BEARER_PDD_FILENAME _S("PDDFilename")
1393 #define LAN_BEARER_PDD_NAME _S("PDDName")
1394 #define LAN_BEARER_PACKET_DRIVER_NAME _S("PacketDriverName")
1396 // Columns of the `LOCATION` table.
1397 // The following macros define values for the Location table fields.
1398 // Note that in v6.1 there can be only a single record in this table.
1399 /** International prefix code.
1401 Field type: Text. This field may be left as NULL. */
1402 #define LOCATION_INTL_PREFIX_CODE _S("IntlPrefixCode")
1403 /** National prefix code.
1405 Field type: Text. This field may be left as NULL. */
1406 #define LOCATION_NAT_PREFIX_CODE _S("NatPrefixCode")
1409 Field type: Text. This field may be left as NULL. */
1410 #define LOCATION_NAT_CODE _S("NatCode")
1413 Field type: Text. This field may be left as NULL. */
1414 #define LOCATION_AREA_CODE _S("AreaCode")
1415 /** Number to dial for an outside line.
1417 Field type: Text. This field may be left as NULL. */
1418 #define LOCATION_DIAL_OUT_CODE _S("DialOutCode")
1419 /** Code to dial to disable call waiting facility.
1421 Field type: Text. This field may be left as NULL. */
1422 #define LOCATION_DISABLE_CALL_WAITING_CODE _S("DisableCallWaitingCode")
1425 Field type: TBool. This field may not be left as NULL. */
1426 #define LOCATION_MOBILE _S("Mobile")
1427 /** Use pulse dialling?
1429 Field type: TBool. This field may not be left as NULL. */
1430 #define LOCATION_USE_PULSE_DIAL _S("UsePulseDial")
1431 /** Wait for the dial tone?
1433 Field type: TBool. This field may not be left as NULL. */
1434 #define LOCATION_WAIT_FOR_DIAL_TONE _S("WaitForDialTone")
1435 /** Pause time after dial out.
1437 Field type: TUint32. This field may not be left as NULL. */
1438 #define LOCATION_PAUSE_AFTER_DIAL_OUT _S("PauseAfterDialout")
1440 // Columns of the `CHARGECARD` table
1441 // The following macros define values for the Chargecard table fields.
1444 Field type: Text. This field may be left as NULL. */
1445 #define CHARGECARD_ACCOUNT_NUMBER _S("AccountNumber")
1448 Field type: Text. This field may be left as NULL. */
1449 #define CHARGECARD_PIN _S("Pin")
1450 /** Order of dialling account number, PIN and phone number for local calls.
1452 Field type: Text. This field may be left as NULL. */
1453 #define CHARGECARD_LOCAL_RULE _S("LocalRule")
1454 /** Order of dialling account number, PIN and phone number for national calls.
1456 Field type: Text. This field may be left as NULL. */
1457 #define CHARGECARD_NAT_RULE _S("NatRule")
1458 /** Order of dialling account number, PIN and phone number for international calls.
1460 Field type: Text. This field may be left as NULL. */
1461 #define CHARGECARD_INTL_RULE _S("IntlRule")
1463 // Columns of the `PROXIES` table.
1464 // The following macros define values for the Proxies table fields.
1465 /** Identifier of the associated ISP record.
1467 Field type: TUint32. This field may not be left as NULL.*/
1468 #define PROXY_ISP _S("ISP") // ISP with which these proxies are associated
1469 /** The table from which the PROXY_ISP has been taken.
1471 This is necessary as GPRS records as well as ISP records can have proxy settings
1472 associated with them.
1474 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
1476 that proxies are only available to the dial out ISP and not other service
1479 Field type: Text. This field may be left as NULL. */
1480 #define PROXY_SERVICE_TYPE _S("ProxyServiceType")
1481 /** Use proxy server?
1483 Field type: TBool. This field may not be left as NULL. */
1484 #define PROXY_USE_PROXY_SERVER _S("UseProxyServer")
1485 /** Name of the host.
1487 Field type: Long Text. This field may be left as NULL. */
1488 #define PROXY_SERVER_NAME _S("ProxyServerName") // Name of the proxy server
1489 /** Name of the protocol for which this proxy can be used.
1491 Field type: Text. This field may not be left as NULL. */
1492 #define PROXY_PROTOCOL_NAME _S("ProtocolName")
1495 Field type: TUint32. This field may be left as NULL. */
1496 #define PROXY_PORT_NUMBER _S("PortNumber")
1497 /** Semi-colon separated list of the addresses for which the proxy server should
1500 Field type: Long Text. This field may be left as NULL. */
1501 #define PROXY_EXCEPTIONS _S("Exceptions")
1503 // Columns of the `WAP_ACCESS_POINT` table. The following macros define values
1504 // for the WAP access point table fields.
1505 /** Text string indicating the name of the table from which to read the bearer
1508 This can be WAP_IP_BEARER or WAP_SMS_BEARER.
1510 Field type: Text. This field may not be left as NULL. */
1511 #define WAP_CURRENT_BEARER _S("CurrentBearer")
1512 /** WAP start page URL.
1514 Field type: Text. This field may be left as NULL. */
1515 #define WAP_START_PAGE _S("StartPage")
1517 // 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.
1519 // These tables have no COMMDB_NAME field.
1520 /** ID of the WAP Access Point record to which this bearer information refers.
1522 Field type: TUint32. This field may not be left as NULL.*/
1523 #define WAP_ACCESS_POINT_ID _S("AccessPointId")
1524 /** WAP gateway address: an IP address or phone number.
1526 Field type: Text. This field may be left as NULL. */
1527 #define WAP_GATEWAY_ADDRESS _S("GatewayAddress")
1528 /** Whether connection-oriented or connectionless API should be used.
1530 This is a TCommsDbWapWspOption value.
1532 Field type: TUint8. This field may be left as NULL. */
1533 #define WAP_WSP_OPTION _S("WSPOption") // Connectionless or Connection-oriented
1534 /** Attempt secure WTLS connection to the gateway.
1536 Field type: TBool. This field may be left as NULL. */
1537 #define WAP_SECURITY _S("Security")
1539 // Additional Columns of the `WAP_IP_BEARER` table.
1540 /** Identifier of a record in the IAP table to be used.
1542 Field type: TUint32. This field may be left as NULL. */
1543 #define WAP_IAP _S("IAP")
1544 /** Proxy port number. Required for WAP2.0 only.
1546 Field type: TUint32. This field may not be left as NULL. */
1547 #define WAP_PROXY_PORT _S("ProxyPortNumber")
1548 /** Proxy login name. Required for WAP2.0 only.
1550 Field type: Text. This field may be left as NULL. */
1551 #define WAP_PROXY_LOGIN_NAME _S("ProxyLogin")
1552 /** Proxy login password. Required for WAP2.0 only.
1554 Field type: Text. This field may be left as NULL. */
1555 #define WAP_PROXY_LOGIN_PASS _S("ProxyPassword")
1557 // Additional Column of the `WAP_SMS_BEARER` table.
1558 /** Service Centre Address.
1560 Field type: Text. This field may be left as NULL. */
1561 #define WAP_SERVICE_CENTRE_ADDRESS _S("ServiceCentreAddress")
1563 // The following macros define values for the Bluetooth device table fields.
1564 // These tables have no COMMDB_NAME field.
1566 // Column common to the `BT_DEVICE_TABLE` and `BT_SECURITY_TABLE` tables.
1567 /** Bluetooth device address.
1569 Field type: 8-bit Text. This field may not be left as NULL. */
1570 #define BT_DEV_ADD _S("DeviceAddress")
1572 // Additional Columns of the `BT_DEVICE_TABLE` table.
1573 /** Bluetooth device default name.
1575 Field type: Long text. This field may be left as NULL. */
1576 #define BT_DEV_DFLT_NAME _S("DeviceDefaultName")
1577 /** Bluetooth device friendly name.
1579 Field type: Long text. This field may be left as NULL. */
1580 #define BT_DEV_FRIENDLY_NAME _S("DeviceFriendlyName")
1581 /** Bluetooth device class.
1583 Field type: TUint32. This field may be left as NULL. */
1584 #define BT_DEVICE_CLASS _S("DeviceClass")
1585 /** Bluetooth Link key.
1587 Field type: 8-bit Text. This field may be left as NULL. */
1588 #define BT_LINKKEY _S("DeviceLinkKey")
1589 /** Bluetooth device state.
1591 Field type: TUint32. This field may not be left as NULL. */
1592 #define BT_DEV_STATE _S("DeviceStatus")
1593 /** Bluetooth device global security setting.
1595 Field type: TUint32. This field may be left as NULL. */
1596 #define BT_DEVICE_GLOBAL_SECURITY _S("DeviceGlobalSecurity")
1597 /** Bluetooth page scan repetition mode.
1599 Field type: TUint32. This field may be left as NULL. */
1600 #define BT_PAGE_SCAN_REP_MODE _S("DevicePageScanRepMode")
1601 /** Field type: TUint32. This field may be left as NULL. */
1602 #define BT_PAGE_SCAN_PERIOD_MODE _S("DevicePageScanPeriodMode")
1603 /** Field type: TUint32. This field may be left as NULL. */
1604 #define BT_PAGE_SCAN_MODE _S("DevicePageScanMode")
1606 #define BT_SPARE _S("DeviceSpareInfo")
1607 /** Bluetooth clock offset.
1609 Field type: TUint32. This field may be left as NULL. */
1610 #define BT_CLK_OFFSET _S("DeviceClkOffset")
1611 /** Bluetooth class of device.
1613 Field type: TUint32. This field may be left as NULL. */
1614 #define BT_COD _S("DeviceClassOfDevice")
1616 // Additional Columns of the `WAP_SMS_BEARER` table.
1617 /** Bluetooth security UID.
1619 Field type: TUint32. This field may be left as NULL. */
1620 #define BT_SEC_UID _S("BTSecurityUID")
1621 /** Bluetooth security device.
1623 Field type: TUint32. This field may be left as NULL. */
1624 #define BT_SEC_DEVICE_SECURITY _S("BTSecurityDevice")
1626 // Columns of the `BT_DEFAULT_TABLE` table.
1627 // The following macros define values for the Bluetooth Default table fields.
1628 // This table has no COMMDB_NAME field.
1629 /** Bluetooth default service name.
1631 Field type: Text. This field may be left as NULL. */
1632 #define BT_DFLT_SER_NAME _S("DefaultServicename")
1633 /** Bluetooth default service ID.
1635 Field type: TUint32. This field may not be left as NULL. */
1636 #define BT_DFLT_SER_UUID _S("DefaultServiceUID")
1637 /** Bluetooth default device address.
1639 Field type: 8-bit Text. This field may not be left as NULL. */
1640 #define BT_DFLT_DEV_ADD _S("DefaultDeviceAddress")
1641 /** Bluetooth default virtual port number.
1643 Field type: TUint32. This field may not be left as NULL. */
1644 #define BT_DFLT_VIRTUAL_PORT _S("DefaultVirtualPort")
1645 /** Bluetooth default security level.
1647 Field type: TUint8. This field may be left as NULL. */
1648 #define BT_DFLT_SECURITY_LEVEL _S("DefaultSecurityLevel")
1651 // Columns of the BT Persistance Table
1652 // The following macros define values for the Bluetooth Persist table fields.
1653 // This table has no COMMDB_NAME field.
1654 // These items are all internal and not intended for use.
1655 #define BT_PERSIST_COD _S("ClassOfDevice")
1656 #define BT_PERSIST_PAGE_TIMEOUT _S("PageTimeout")
1657 #define BT_PERSIST_PAGE_SCAN_INTERVAL _S("PageScanInterval")
1658 #define BT_PERSIST_PAGE_SCAN_WINDOW _S("PageScanWindow")
1659 #define BT_PERSIST_INQUIRY_SCAN_INTERVAL _S("InquiryScanInterval")
1660 #define BT_PERSIST_INQUIRY_SCAN_WINDOW _S("InquiryScanWindow")
1661 #define BT_PERSIST_HOLD_MODE_ACTIVITY _S("HoldModeActivity")
1662 #define BT_PERSIST_SCO_FLOW_CONTROL _S("SCOFlowControl")
1663 #define BT_PERSIST_PAGE_SCAN_PERIOD _S("PageScanPeriod")
1664 #define BT_PERSIST_PAGE_SCAN_MODE _S("PageScanMode")
1665 #define BT_PERSIST_POWER_SETTINGS _S("PowerSettings")
1666 #define BT_PERSIST_SCAN _S("Scan")
1667 #define BT_PERSIST_LOCAL_NAME _S("LocalName")
1668 #define BT_PERSIST_IAC_LAP _S("IacLap")
1669 #define BT_PERSIST_STATE _S("PersistState")
1672 // Columns for `SS_PROTO_TABLE` table
1673 // The following macros define values for the SS Proto table fields.
1674 // This table has no COMMDB_NAME field.
1675 /** Secure Sockets protocol name.
1677 Field type: Text. This field may not be left as NULL. */
1678 #define SS_PROTO_NAME _S("ProtocolName")
1679 /** Secure Sockets protocol library.
1681 Field type: Text. This field may not be left as NULL. */
1682 #define SS_PROTO_LIBRARY _S("ProtoLibrary")
1684 // Columns of the `DEFAULT_GPRS` table.
1685 // The following macros define values for the Default GPRS fields.
1686 // GPRS Phase 1 requires that a default PDP (Packet Data Protocol, e.g. IP4)
1687 // context configuration for GPRS is stored for use when no other configuration
1688 // information is specified for a context by the terminal. This table is
1689 // provided for this purpose. Defaults can be used when the device
1690 // is used as a GPRS modem with an external device that does not specify GPRS
1691 // parameters for the connection.In release v6.1 the enums that are now in
1692 // RPacketContext and RPacketQoS were in RGprsContext.The following macros
1693 // define the fields for the table. The description is followed by the field
1694 // type, and whether the specified field may be left null or not.
1695 /** Specifies usage of this default.
1697 Field type: TUint32. This field may be left as NULL. */
1698 #define DEFAULT_GPRS_USAGE _S("Usage")
1699 /** Default access point name.
1701 Field type: Text. This field may not be left as NULL. */
1702 #define DEFAULT_GPRS_APN _S("APN")
1704 /** Default PDP type (e.g. IP4).
1706 The enum RPacketContext::TProtocolType defines valid values for this field.
1708 Field type: TUint32. This field may not be left as NULL. */
1709 #define DEFAULT_GPRS_PDP_TYPE _S("PDPType")
1710 /** Default PDP address.
1712 Field type: Text. This field may not be left as NULL. */
1713 #define DEFAULT_GPRS_PDP_ADDRESS _S("PDPAddress")
1715 /** Default quality of service precedence class.
1717 Values for this are defined by the enum RPacketQoS::TQoSPrecedence.
1719 Field type: TUint32. This field may be left as NULL. */
1720 #define DEFAULT_GPRS_PRECEDENCE _S("Precedence")
1722 /** Default quality of service delay class.
1724 Values for this are defined by the enum RPacketQoS::TQoSDelay.
1726 Field type: TUint32. This field may be left as NULL. */
1727 #define DEFAULT_GPRS_DELAY _S("Delay")
1729 /** Default quality of service reliability class.
1731 Values for this are defined by the enum RPacketQoS::TQoSReliability.
1733 Field type: TUint32. This field may be left as NULL. */
1734 #define DEFAULT_GPRS_RELIABILITY _S("Reliability")
1736 /** Default quality of service peak throughput class.
1738 Values for this are defined by the enum RPacketQoS::TQoSPeakThroughput.
1740 Field type: TUint32. This field may be left as NULL. */
1741 #define DEFAULT_GPRS_PEAK_THROUGHPUT _S("PeakThroughput")
1743 /** Default quality of service mean throughput class.
1745 Values for this are defined by the enum RPacketQoS::TQoSMeanThroughput.
1747 Field type: TUint32. This field may be left as NULL. */
1748 #define DEFAULT_GPRS_MEAN_THROUGHPUT _S("MeanThroughput")
1750 #define DEFAULT_GPRS_MIN_PRECEDENCE _S("MinPrecedence")
1752 /** Minimum quality of service delay class.
1754 Values for this are defined by the enum RPacketQoS::TQoSDelay.
1756 Field type: TUint32. This field may be left as NULL. */
1757 #define DEFAULT_GPRS_MIN_DELAY _S("MinDelay")
1759 /** Default minimum quality of service reliability class.
1761 Values for this are defined by the enum RPacketQoS::TQoSReliability.
1763 Field type: TUint32. This field may be left as NULL. */
1764 #define DEFAULT_GPRS_MIN_RELIABILITY _S("MinReliability")
1766 /** Default minimum quality of service peak throughput class.
1768 Values for this are defined by the enum RPacketQoS::TQoSMeanThroughput.
1770 Field type: TUint32. This field may be left as NULL. */
1771 #define DEFAULT_GPRS_MIN_PEAK_THROUGHPUT _S("MinPeakThroughput")
1773 /** Default minimum quality of service mean throughput class.
1775 Values for this are defined by the enum RPacketQoS::TQoSMeanThroughput.
1777 Field type: TUint32. This field may be left as NULL. */
1778 #define DEFAULT_GPRS_MIN_MEAN_THROUGHPUT _S("MinMeanThroughput")
1780 /** Default value for whether data compression is on.
1782 Field type: TBool. This field may be left as NULL. */
1783 #define DEFAULT_GPRS_DATA_COMPRESSION _S("DataCompression")
1785 /** Default value for whether IP header compression is on.
1787 Field type: TBool. This field may be left as NULL. */
1788 #define DEFAULT_GPRS_HEADER_COMPRESSION _S("HeaderCompression")
1790 /** Default value for whether use of anonymous access is on.
1792 Field type: TBool. This field may be left as NULL. */
1793 #define DEFAULT_GPRS_ANONYMOUS_ACCESS _S("AnonymousAccess")
1794 /** Default value for EDGE parameter
1796 Field type: TBool. This field may be left as NULL. */
1797 #define DEFAULT_GPRS_USE_EDGE _S("GprsUseEdge")
1799 // Columns of the `AGENT_LOOKUP` table
1800 // The following macros define values for the Agent Lookup fields.
1801 // This table has no COMMDB_NAME field.
1802 /** The Agent's name.
1804 Field type: Text. This field may not be left as NULL. */
1805 #define AGENT_FRIENDLY_NAME _S("AgentFriendlyName")
1806 /** The internal file location of the agent.
1808 Field type: Text. This field may not be left as NULL. */
1809 #define AGENT_FILENAME _S("AgentFilename")
1811 // Columns of the `CDMA2000_PACKET_SERVICE_TABLE`
1812 // The following macros define values for the CDMA 2000 Packet Service fields.
1815 Field type: Text. This field must not be left as NULL. */
1816 #define CDMA_IWF_NAME _S("IwfName")
1817 /** Mask indicating valid service options.
1819 Field type: TUint32 from RPacketContext::TServiceOption. This field may not be left as NULL. */
1820 #define CDMA_SERVICE_OPTION _S("ServiceOption")
1822 /** PDP type. (IPv4 or IPv6).
1824 Field type: TUint32 from RPacketContext::TProtocolType. This field may not be left as NULL. */
1825 #define CDMA_PDP_TYPE _S("PdpType")
1826 /** PDP address of phone.
1828 Field type: Text. This field may be left as NULL. */
1829 #define CDMA_PDP_ADDRESS _S("PdpAddress")
1831 /** Requested forward priority.
1833 Field type: TUint32 from RPacketQoS::TQoSLinkPriority. This field may be left as NULL. */
1834 #define CDMA_REQ_FWD_PRIORITY _S("ReqFwdPriority")
1835 /** Requested reverse priority.
1837 Field type: TUint32 from RPacketQoS::TQoSLinkPriority. This field may be left as NULL. */
1838 #define CDMA_REQ_REV_PRIORITY _S("ReqRevPriority")
1839 /** Requested forward bitrate.
1841 Field type: TUint32 from RPacketQoS::TQoSDataRate. This field may be left as NULL. */
1842 #define CDMA_REQ_FWD_BITRATE _S("ReqFwdBitrate")
1843 /** Requested reverse bitrate.
1845 Field type: TUint32 from RPacketQoS::TQoSDataRate. This field may be left as NULL. */
1846 #define CDMA_REQ_REV_BITRATE _S("ReqRevBitrate")
1847 /** Requested forward frame loss rate.
1849 Field type: TUint32 from RPacketQoS::TQoSDataLoss. This field may be left as NULL. */
1850 #define CDMA_REQ_FWD_LOSS _S("ReqFwdLoss")
1851 /** Requested reverse frame loss rate.
1853 Field type: TUint32 from RPacketQoS::TQoSDataLoss. This field may be left as NULL. */
1854 #define CDMA_REQ_REV_LOSS _S("ReqRevLoss")
1855 /** Requested forward delay.
1857 Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
1858 #define CDMA_REQ_FWD_MAXDELAY _S("ReqFwdMaxdelay")
1859 /** Requested reverse delay.
1861 Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
1862 #define CDMA_REQ_REV_MAXDELAY _S("ReqRevMaxdelay")
1863 /** Minimum acceptable forward bitrate.
1865 Field type: TUint32 from RPacketQoS::TQoSDataRate. This field may be left as NULL. */
1866 #define CDMA_MIN_FWD_BITRATE _S("MinFwdBitrate")
1867 /** Minimum acceptable reverse bitrate.
1869 Field type: TUint32 from RPacketQoS::TQoSDataRate. This field may be left as NULL. */
1870 #define CDMA_MIN_REV_BITRATE _S("MinRevBitrate")
1871 /** Maximum acceptable forward frame loss rate.
1873 Field type: TUint32 from RPacketQoS::TQoSDataLoss. This field may be left as NULL. */
1874 #define CDMA_ACCPT_FWD_LOSS _S("AccptFwdLoss")
1875 /** Maximum acceptable forward frame loss rate.
1877 Field type: TUint32 from RPacketQoS::TQoSDataLoss. This field may be left as NULL. */
1878 #define CDMA_ACCPT_REV_LOSS _S("AccptRevLoss")
1879 /** Maximum acceptable forward delay.
1881 Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
1882 #define CDMA_ACCPT_FWD_MAXDELAY _S("AccptFwdMaxdelay")
1883 /** Maximum acceptable reverse delay.
1885 Field type: TUint32 from RPacketQoS::TQoSDelay. This field may be left as NULL. */
1886 #define CDMA_ACCPT_REV_MAXDELAY _S("AccptRevMaxdelay")
1887 /** Data compression on?
1889 Field type: TBool. This field may be left as NULL. */
1890 #define CDMA_DATA_COMPRESSION _S("DataCompression")
1891 /** Van Jacobson IP header compression on?
1893 Field type: TBool. This field may be left as NULL. */
1894 #define CDMA_ENABLE_IP_HEADER_COMP SERVICE_ENABLE_IP_HEADER_COMP
1895 /** Use anonymous access on?
1897 Field type: TBool. This field may be left as NULL. */
1898 #define CDMA_ANONYMOUS_ACCESS _S("AnonymousAccess")
1900 //#define CDMA_IF_NAME SERVICE_IF_NAME
1901 /** Interface parameter string.
1903 Field type: Text. This field may be left as NULL. */
1904 #define CDMA_IF_PARAMS SERVICE_IF_PARAMS
1905 /** Comma separated list of network protocols, e.g. "PPP".
1907 Field type: Text. This field may be left as NULL. */
1908 #define CDMA_IF_NETWORKS SERVICE_IF_NETWORKS
1909 /** Always reject PPP peer authentication requests when using external IP configuration.
1911 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
1913 /** Prompt user for authentication username and password?
1915 Field type: TBool. This field may not be left as NULL. */
1916 #define CDMA_IF_PROMPT_FOR_AUTH SERVICE_IF_PROMPT_FOR_AUTH
1917 /** Authentication username used by PPP in the Simple IP case or
1918 by the Mobile IP implementation when Mobile IP is enabled.
1920 Field type: Text. This field may be left as NULL. */
1921 #define CDMA_IF_AUTH_NAME SERVICE_IF_AUTH_NAME
1922 /** Authentication password used by PPP.
1924 Field type: Text. This field may be left as NULL. */
1925 #define CDMA_IF_AUTH_PASS SERVICE_IF_AUTH_PASS
1926 /** Number of times to retry authentication if it fails.
1928 Field type: TUint32. This field may be left as NULL. */
1929 #define CDMA_IF_AUTH_RETRIES SERVICE_IF_AUTH_RETRIES
1930 /** IP Net mask of Symbian OS mobile network interface.
1932 Field type: Text. This field may be left as NULL. */
1933 #define CDMA_IP_NETMASK SERVICE_IP_NETMASK
1934 /** IP address of gateway.
1936 Field type: Text. This field may be left as NULL. */
1937 #define CDMA_IP_GATEWAY SERVICE_IP_GATEWAY
1938 /** Get IP addresses (for Symbian OS mobile) from server?
1940 Field type: TBool. This field may not be left as NULL. */
1941 #define CDMA_IP_ADDR_FROM_SERVER SERVICE_IP_ADDR_FROM_SERVER
1943 IP address (of Symbian OS mobile), to be used by PPP and TCP/IP.
1945 Field type: Text. This field may be left as NULL. */
1946 #define CDMA_IP_ADDR SERVICE_IP_ADDR
1947 /** Get DNS addresses from server?
1949 Field type: TBool. This field may not be left as NULL. */
1950 #define CDMA_IP_DNS_ADDR_FROM_SERVER SERVICE_IP_DNS_ADDR_FROM_SERVER
1951 /** IP Address of primary name server.
1953 Field type: Text. This field may be left as NULL. */
1954 #define CDMA_IP_NAME_SERVER1 SERVICE_IP_NAME_SERVER1
1955 /** IP Address of secondary name server.
1957 Field type: Text. This field may be left as NULL. */
1958 #define CDMA_IP_NAME_SERVER2 SERVICE_IP_NAME_SERVER2
1959 /** Get IP6 DNS address from Server?
1961 Field type: TBool. This field may be left as NULL. */
1962 #define CDMA_IP6_DNS_ADDR_FROM_SERVER SERVICE_IP6_DNS_ADDR_FROM_SERVER
1963 /** IP6 address of the primary name server
1965 Field type: Text. This field may be left as NULL. */
1966 #define CDMA_IP6_NAME_SERVER1 SERVICE_IP6_NAME_SERVER1
1967 /** IP6 address of the secondary name server
1969 Field type: Text. This field may be left as NULL. */
1970 #define CDMA_IP6_NAME_SERVER2 SERVICE_IP6_NAME_SERVER2
1971 /** IP address valid from this time,
1972 used to store dynamically assigned address lease info.
1974 Field type: Text. This field may be left as NULL. */
1975 #define CDMA_IP_ADDR_LEASE_VALID_FROM SERVICE_IP_ADDR_LEASE_VALID_FROM
1976 /** IP address valid to this time,
1977 used to store dynamically assigned address lease info.
1979 Field type: Text. This field may be left as NULL. */
1980 #define CDMA_IP_ADDR_LEASE_VALID_TO SERVICE_IP_ADDR_LEASE_VALID_TO
1981 /** Name of the ECOM configuration daemon manager component.
1982 This component interfaces with the server identified in CDMA_CONFIG_DAEMON_NAME.
1983 If specified, CDMA_CONFIG_DAEMON_NAME should also be specified.
1985 Field type: Text. This field may be left as NULL. */
1986 #define CDMA_CONFIG_DAEMON_MANAGER_NAME SERVICE_CONFIG_DAEMON_MANAGER_NAME
1987 /** Name of the configuration daemon server. This server is used to
1988 provide further configuration for a connection, e.g. dynamic IP
1989 address assignment. If specified, CDMA_CONFIG_DAEMON_MANAGER_NAME
1990 should also be specified.
1992 Field type: Text. This field may be left as NULL. */
1993 #define CDMA_CONFIG_DAEMON_NAME SERVICE_CONFIG_DAEMON_NAME
1994 /** Enable LCP extensions?
1996 Field type: TBool. This field may be left as NULL. */
1997 #define CDMA_ENABLE_LCP_EXTENSIONS SERVICE_ENABLE_LCP_EXTENSIONS
1998 /** Disable plain text authentication?
2000 Field type: TBool. This field may be left as NULL. */
2001 #define CDMA_DISABLE_PLAIN_TEXT_AUTH SERVICE_DISABLE_PLAIN_TEXT_AUTH
2002 /** Service supports Internet only, WAP only or both.
2004 Field type: TUint32 from TCommsDbIspType. This field may be left as NULL. */
2005 #define CDMA_AP_TYPE _S("ApType")
2006 /** Notify user if the requested QOS can not be satisfied for this time in microseconds.
2007 Set to 0xffffffff to disable.
2009 Field type: TUint32. This field may be left as NULL. */
2010 #define CDMA_QOS_WARNING_TIMEOUT _S("QosWarningTimeout")
2012 /** Transparent or non-transparent radio link protocol.
2014 Field type: TUint32 from RPacketQoS::TRLPMode. This field may not be left as NULL. */
2015 #define CDMA_RLP_MODE _S("RlpMode")
2017 // Deprecated Mobile IP fields
2019 /** Attempt to use the mobile IP protocol.
2021 Field type: TBool. This field may be left as NULL. */
2022 #define CDMA_MIP _S("CDMAMobileIP")
2023 /** Home agent address.
2025 Field type: Text. This field may be left as NULL. */
2026 #define CDMA_MIP_HA_ADDRESS _S("HomeAgentAddress")
2028 /** 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).
2030 If they do, an automatic reconnect takes place.
2032 Field type: TUint32 This field may be left as NULL. */
2033 #define CDMA_MIP_TIMEOUT _S("CDMAMobileIPTimeout")
2035 // The following fields define the specific CDMA parameters provisioned through OTA
2036 // and defined in TIA-683B section 3.5.8
2037 // These fields replace the old MIP fields (CDMA_MIP, CDMA_MIP_HA_ADDRESS,
2038 // CDMA_MIP_TIMEOUT)
2040 /** Defines the type of NAI this record refers to (SimpleIP or MobileIP).
2041 Possible values: ECommDbCdmaNaiSimpleIp, ECommDbCdmaNaiMobileIp. Replaces the
2044 Field type: TUint32. This field must not be left as NULL. */
2045 #define CDMA_NAI_TYPE _S("CDMANaiType")
2046 /** SimpleIP authentication algorithm. Possible values (TCommDbCdmaSimpIpAuthAlgorithm):
2048 0000 - No authentication
2050 0001 - PPP CHAP authentication
2052 0002 - PPP PAP authentication
2054 0003 - PPP CHAP to PAP fallback
2056 Field type: TUint32, for the enum TCommDbCdmaSimpIpAuthAlgorithm. This field may be left as NULL. */
2057 #define CDMA_SIMIP_AUTH_ALGORITHM _S("CDMASimpleIpAuthAlgorithm")
2058 /** SimpleIP PAP shared secret handle
2060 Field type: TUint32. This field may be left as NULL. */
2061 #define CDMA_SIMIP_PAP_SS_HANDLE _S("CDMASimpleIpPapSsHandle")
2062 /** SimpleIP CHAP shared secret handle
2064 Field type: TUint32. This field may be left as NULL. */
2065 #define CDMA_SIMIP_CHAP_SS_HANDLE _S("CDMASimpleIpChapSsHandle")
2066 /** Reverse-tunnelling required flag.
2068 Field type: TUint32. This field may be left as NULL. */
2069 #define CDMA_MIP_T_BIT _S("CDMAMobileIpTBit")
2070 /** Home address associated with the Mobile Station.
2072 Field type: Text. This field may be left as NULL. */
2073 #define CDMA_MIP_HOME_ADDRESS _S("CDMAMobileIpHomeAddress")
2074 /** IP address of the mobile node's primary home agent.
2075 Replaces the CDMA_MIP_HA_ADDRESS field.
2077 Field type: Text. This field may be left as NULL. */
2078 #define CDMA_MIP_PRIMARY_HOME_AGENT _S("CDMAMobileIpPrimaryHomeAgent")
2079 /** IP address of the mobile node's secondary home agent.
2081 Field type: Text. This field may be left as NULL. */
2082 #define CDMA_MIP_SECONDARY_HOME_AGENT _S("CDMAMobileIpSecondaryHomeAgent")
2083 /** Authentication algorithm (MN-AAA). Possible values:
2085 0000 - No authentication
2087 0001 - MD5 authentication (IETF RFC 2002)
2089 Field type: TUint32. This field may be left as NULL. */
2090 #define CDMA_MIP_MN_AAA_AUTH_ALGORITHM _S("CDMAMobileIpMnAaaAuthAlgorithm")
2093 /** Security Parameter Index Indicator (MN-AAA)
2095 Field type: TBool. This field may be left as NULL. */
2096 #define CDMA_MIP_MN_AAA_SPI_INDICATOR _S("CDMAMobileIpMnAaaSpiIndicator")
2099 /** Security Parameter Index (MN-AAA).
2101 Field type: TUint32. This field may be left as NULL. */
2102 #define CDMA_MIP_MN_AAA_SPI _S("CDMAMobileIpMnAaaSpi")
2103 /** MobileIP MN-AAA shared secret data.
2105 Field type: Text. This field may be left as NULL. */
2106 #define CDMA_MIP_MN_AAA_SS_DATA _S("CDMAMobileIpMnAaaSsData")
2107 /** Authentication algorithm (MN-HA). Possible values:
2109 0000 - No authentication
2111 0001 - MD5 authentication (IETF RFC 2002)
2113 Field type: TUint32. This field may be left as NULL. */
2114 #define CDMA_MIP_MN_HA_AUTH_ALGORITHM _S("CDMAMobileIpMnHaAuthAlgorithm")
2118 /** Security Parameter Index Indicator (MN-HA)
2120 Field type: TBool. This field may be left as NULL. */
2121 #define CDMA_MIP_MN_HA_SPI_INDICATOR _S("CDMAMobileIpMnHaSpiIndicator")
2123 /** Security Parameter Index (MN-HA)
2125 Field type: TUint32. This field may be left as NULL. */
2126 #define CDMA_MIP_MN_HA_SPI _S("CDMAMobileIpMnHaSpi")
2129 /** MobileIP MN-HA shared secret data.
2131 Field type: Text. This field may be left as NULL. */
2132 #define CDMA_MIP_MN_HA_SS_DATA _S("CDMAMobileIpMnHaSsData")
2134 /** Fundamental channel multiplex option
2135 Field type: TUint32. */
2136 #define CDMA_FCH_MUX _S("CDMAFchMux")
2138 /** Supplemental channel multiplex option
2139 Field type: TUint32. */
2140 #define CDMA_SCH_MUX _S("CDMASchMux")
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.
2147 Field type: TUint32. This field may be left as NULL. */
2148 #define DEFAULT_CDMA_USAGE _S("Usage")
2151 Field type: Text. This field may not be left as NULL. */
2152 #define DEFAULT_CDMA_IWF_NAME CDMA_IWF_NAME
2153 /** Mask indicating valid service options.
2155 Field type: TUint32 from RPacketContext::TServiceOption. This field may not be left as NULL. */
2156 #define DEFAULT_CDMA_SERVICE_OPTION CDMA_SERVICE_OPTION
2157 /** PDP type. (IPv4 or IPv6).
2159 Field type: TUint32 from RPacketContext::TProtocolType. This field may not be left as NULL. */
2160 #define DEFAULT_CDMA_PDP_TYPE CDMA_PDP_TYPE
2161 /** PDP address of phone.
2163 Field type: Text. This field may be left as NULL. */
2164 #define DEFAULT_CDMA_PDP_ADDRESS CDMA_PDP_ADDRESS
2165 /** Data compression?
2167 Field type: TBool. This field may be left as NULL. */
2168 #define DEFAULT_CDMA_DATA_COMPRESSION CDMA_DATA_COMPRESSION
2169 /** Van Jacobson IP header compression on?
2171 Field type: TBool. This field may be left as NULL. */
2172 #define DEFAULT_CDMA_ENABLE_IP_HEADER_COMP CDMA_ENABLE_IP_HEADER_COMP
2173 /** Use anonymous access?
2175 Field type: TBool. This field may be left as NULL. */
2176 #define DEFAULT_CDMA_ANONYMOUS_ACCESS CDMA_ANONYMOUS_ACCESS
2178 // Default values for the deprecated Mobile IP fields.
2179 /** Default CDMA mobile IP?
2181 Field type: TBool. This field may be left as NULL.
2184 #define DEFAULT_CDMA_MIP CDMA_MIP
2185 /** CDMA mobile IP home address.
2187 Field type: Text. This field may be left as NULL.
2190 #define DEFAULT_CDMA_MIP_HA_ADDRESS CDMA_MIP_HA_ADDRESS
2191 /** CDMA Mobile IP timeout.
2193 Field type: TUint32. This field may be left as NULL.
2196 #define DEFAULT_CDMA_MIP_TIMEOUT CDMA_MIP_TIMEOUT
2198 /** Default fundamental channel multiplex option
2199 Field type: TUint32. */
2200 #define DEFAULT_CDMA_FCH_MUX CDMA_FCH_MUX
2202 /** Default supplemental channel multiplex option
2203 Field type: TUint32. */
2204 #define DEFAULT_CDMA_SCH_MUX CDMA_SCH_MUX
2207 // The following fields define the specific CDMA parameters provisioned through OTA
2208 // and defined in TIA-683B section 3.5.8
2210 /** Defines the active operation mode in the mobile station. Possible values:
2214 01 - MobileIP with SimpleIP fallback
2218 Field type: TUint32. */
2219 #define CDMA_OP_MODE _S("CDMAOperationMode")
2220 /** Maximum number of retries for MobileIP registration.
2222 Field type: TUint32. */
2223 #define CDMA_MIP_MAX_NUM_RETRY _S("CDMAMobileIpMaxNumRetry")
2224 /** 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).
2227 Field type: TUint32. */
2228 #define CDMA_MIP_FIRST_RETRY_TIMEOUT _S("CDMAMobileIpFirstRetryTimeout")
2229 /** Re-registration threshold (time in minutes before the expiration of the registration
2232 Field type: TUint32. */
2233 #define CDMA_MIP_REREG_THRESHOLD _S("CDMAMobileIpReregThreshold")
2235 /** Columns of the `VIRTUAL_BEARER table` */
2236 #define VIRTUAL_BEARER_AGENT AGENT_NAME
2237 #define VIRTUAL_BEARER_NIF IF_NAME
2239 /** Columns of the `VIRTUAL_SERVICE table` */
2240 #define VPN_SERVICE_POLICY _S("Policy")
2241 #define VPN_SERVICE_IAP _S("HomeIAP")
2242 #define VPN_SERVICE_NETWORKID _S("HomeNetwork")
2244 /** Columns of the `WLAN_SERVICE table` */
2245 #define WLAN_PROFILE _S("Wlan_Profile")
2246 #define WLAN_SSID _S("Wlan_SSID")
2247 #define WLAN_ENCRYPTION_STATUS _S("Wlan_Encryption_Status")
2248 #define WLAN_ENCRYPTION_TYPE _S("Wlan_Encryption_Type")
2249 #define WLAN_DEFAULT_WEP_KEY _S("Wlan_Wep_Default_Key")
2250 #define WLAN_ENCRYPT_KEY1_VALID _S("Wlan_Key1_Valid")
2251 #define WLAN_WEP_Key1 _S("Wlan_Wep_Key1")
2252 #define WLAN_ENCRYPT_KEY2_VALID _S("Wlan_Key2_Valid")
2253 #define WLAN_WEP_KEY2 _S("Wlan_Wep_Key2")
2254 #define WLAN_ENCRYPT_KEY3_VALID _S("Wlan_Key3_Valid")
2255 #define WLAN_WEP_KEY3 _S("Wlan_Wep_Key3")
2256 #define WLAN_ENCRYPT_KEY4_VALID _S("Wlan_Key4_Valid")
2257 #define WLAN_WEP_KEY4 _S("Wlan_Wep_Key4")
2258 #define WLANRANKING _S("Wlan_Ranking")
2259 #define WLAN_DIALOG_PREF _S("Wlan_Dialog_Pref")
2260 #define WLAN_NETWORK_TYPE _S("Wlan_Network_Type")
2261 #define WLAN_FRAG_THRES _S("Wlan_Frag_Threshold")
2262 #define WLAN_RTS_THRES _S("Wlan_RTS_Threshold")
2263 #define WLAN_DES_TRANS_RATE _S("Wlan_Desired_Transmit_Rate")
2264 #define WLAN_BEACON_INT _S("Wlan_Beacon_Int")
2265 #define WLAN_CHANNEL_ID _S("Wlan_Channel_ID")
2266 #define WLAN_AUTHENTICATION_MODE _S("Wlan_Authentication_Mode")
2267 #define WLAN_POWERSAVE_MODE _S("Wlan_Power_Save_Mode")
2268 #define WLAN_ALLOW_UNENCRYPT_MODE _S("Wlan_Allow_UnEncrypt_Mode")
2269 #define WLAN_ALLOW_SHORT_PRE _S("Wlan_Allow_Short_Preamble")
2270 #define WLAN_PREAMBLE_TYPE _S("Wlan_Preamble_Type")
2271 #define WLAN_TX_POWER_LEVEL _S("Wlan_TX_Power_Level")
2272 #define WLAN_EAP_PRESHARED_KEY _S("Wlan_EAP_Preshared_Key")
2273 #define WLAN_REG_DOMAIN _S("Wlan_Reglutory_Domain")
2274 #define WLAN_SEC_DATA _S("Wlan_Security_Data")
2276 /** Columns of the `NETWORK table` */
2277 #define HOST_NAME _S("HostName")
2279 /** Columns of the AccessPoint table */
2280 #define ACCESS_POINT_GID _S("AccessPointGID")
2282 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
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")
2288 #define ACCESS_POINT_MCPR _S("MCpr")
2289 #define ACCESS_POINT_CPR _S("Cpr")
2290 #define ACCESS_POINT_CPRCONFIGID _S("CprConfig")
2291 #define ACCESS_POINT_SCPR _S("SCpr")
2292 #define ACCESS_POINT_PROTOCOL _S("Protocol")
2293 #define ACCESS_POINT_APPSID _S("AppSID")
2294 #define ACCESS_POINT_CONFIG_AP_ID_LIST _S("ConfigAPIdList")
2295 #define ACCESS_POINT_CUSTOM_SELECTION_POLICY _S("CustomSelectionPolicy")
2297 #define TIER_THREAD_NAME _S("TierThreadName")
2298 #define TIER_MANAGER_NAME _S("TierManagerName")
2299 #define DEFAULT_ACCESS_POINT _S("DefaultAccessPoint")
2301 #define MCPR_UID _S("MCprUid")
2302 #define CPR_UID _S("CprUid")
2303 #define SCPR_UID _S("SCprUid")
2304 #define PROTOCOL_UID _S("ProtocolUid")
2305 #define PROTOCOL_CONFIG_LOADER_UID _S("ProtocolConfigLoaderUid")
2307 #define PROTOCOL_CONFIG _S("ProtocolConfig")
2308 #define LAYER_BELOW _S("LayerBelow")
2311 //in the old environment the original name is used.
2312 #define ACCESS_POINT_POLICY _S("AccessPointSelectionPolicy")
2314 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
2316 // need to preserve compatibility, soon to become internalTechnology
2317 //#ifdef SYMBIAN_NETWORKING_WIFI
2319 #define EAPSIM_PROTOCOL_ID _S("ProtocolId")
2320 #define EAPSIM_PROTOCOL_PSEUDONYM _S("Pseudonym")
2321 #define EAPSIM_PROTOCOL_USE_NAI_REALM _S("UseNaiRealm")
2322 #define EAPSIM_PROTOCOL_NAI_REALM _S("NaiRealm")
2323 #define EAPSIM_PROTOCOL_MIN_RANDS _S("MinRands")
2325 #define EAPAKA_PROTOCOL_ID _S("ProtocolId")
2326 #define EAPAKA_PROTOCOL_PSEUDONYM _S("Pseudonym")
2327 #define EAPAKA_PROTOCOL_USE_NAI_REALM _S("UseNaiRealm")
2328 #define EAPAKA_PROTOCOL_NAI_REALM _S("NaiRealm")
2330 //#endif //SYMBIAN_NETWORKING_WIFI
2332 #define SELECTION_POLICY_IAP1 _S("IAP1")
2333 #define SELECTION_POLICY_IAP2 _S("IAP2")
2334 #define SELECTION_POLICY_IAP3 _S("IAP3")
2335 #define SELECTION_POLICY_IAP4 _S("IAP4")
2336 #define SELECTION_POLICY_IAP5 _S("IAP5")
2337 #define SELECTION_POLICY_IAP6 _S("IAP6")
2338 #define SELECTION_POLICY_IAP7 _S("IAP7")
2339 #define SELECTION_POLICY_IAP8 _S("IAP8")
2340 #define SELECTION_POLICY_IAP9 _S("IAP9")
2341 #define SELECTION_POLICY_IAP10 _S("IAP10")
2342 #define SELECTION_POLICY_IAP11 _S("IAP11")
2343 #define SELECTION_POLICY_IAP12 _S("IAP12")
2344 #define SELECTION_POLICY_IAP13 _S("IAP13")
2345 #define SELECTION_POLICY_IAP14 _S("IAP14")
2346 #define SELECTION_POLICY_IAP15 _S("IAP15")
2347 #define SELECTION_POLICY_IAPCOUNT _S("IAPCOUNT")
2349 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
2350 #define SELECTION_POLICY_AP1 _S("AP1")
2351 #define SELECTION_POLICY_AP2 _S("AP2")
2352 #define SELECTION_POLICY_AP3 _S("AP3")
2353 #define SELECTION_POLICY_AP4 _S("AP4")
2354 #define SELECTION_POLICY_AP5 _S("AP5")
2355 #define SELECTION_POLICY_AP6 _S("AP6")
2356 #define SELECTION_POLICY_AP7 _S("AP7")
2357 #define SELECTION_POLICY_AP8 _S("AP8")
2358 #define SELECTION_POLICY_AP9 _S("AP9")
2359 #define SELECTION_POLICY_AP10 _S("AP10")
2360 #define SELECTION_POLICY_AP11 _S("AP11")
2361 #define SELECTION_POLICY_AP12 _S("AP12")
2362 #define SELECTION_POLICY_AP13 _S("AP13")
2363 #define SELECTION_POLICY_AP14 _S("AP14")
2364 #define SELECTION_POLICY_AP15 _S("AP15")
2365 #define SELECTION_POLICY_APCOUNT _S("APCOUNT")
2366 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
2368 // need to preserve compatibility, soon to become internalTechnology
2369 //#ifdef SYMBIAN_NETWORKING_WIFI
2370 #define EAPSIM_PROTOCOL_ID _S("ProtocolId")
2371 #define EAPSIM_PROTOCOL_PSEUDONYM _S("Pseudonym")
2372 #define EAPSIM_PROTOCOL_USE_NAI_REALM _S("UseNaiRealm")
2373 #define EAPSIM_PROTOCOL_NAI_REALM _S("NaiRealm")
2374 #define EAPSIM_PROTOCOL_MIN_RANDS _S("MinRands")
2376 #define EAPAKA_PROTOCOL_ID _S("ProtocolId")
2377 #define EAPAKA_PROTOCOL_PSEUDONYM _S("Pseudonym")
2378 #define EAPAKA_PROTOCOL_USE_NAI_REALM _S("UseNaiRealm")
2379 #define EAPAKA_PROTOCOL_NAI_REALM _S("NaiRealm")
2381 //#endif //SYMBIAN_NETWORKING_WIFI
2383 /** Columns of the `EAP Security Settings table` */
2384 #define EAP_SEC_OUTER_EAP_TYPE _S("OuterEapMethodType")
2385 #define EAP_SEC_ID _S("EapId")
2386 #define EAP_SEC_PASSWORD _S("EapPassword")
2387 #define EAP_SEC_CONFIGID _S("ConfigId")
2388 #define EAP_SEC_DATA _S("EAP_Method_Data")
2389 #ifdef SYMBIAN_WIFI_WPS
2390 #define EAP_SEC_VENDORID _S("EapVendorId")
2391 #define EAP_SEC_VENDORTYPE _S("EapVendorType")
2392 #endif //SYMBIAN_WIFI_WPS
2394 /** Columns of the `Tunnelled EAP Settings Table` */
2395 #define TUN_EAP_INNERTYPE _S("InnerEapMethodType")
2396 #define TUN_EAP_DATA _S("Tun_EAP_Method_Data")
2398 /** Columns of the `EAP-TLS Settings Table` */
2399 #define EAP_TLS_CLIENT_CERT_NAME _S("ClientCertificateName")
2401 /** Columns of the `LEAP Settings Table` */
2402 #define EAP_LEAP_TIMEOUT _S("LeapTimeout")
2404 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
2405 /** Columns of the base `Params Table` */
2406 #define STYPEID _S("STypeId")
2408 /** Columns of the `PolicySelector Table` */
2409 #define POLICYID _S("PolicyId")
2410 #define APPUID _S("AppUid")
2411 #define SRCADDRESS _S("SrcAddress")
2412 #define SRCMASK _S("SrcMask")
2413 #define DSTADDRESS _S("DstAddress")
2414 #define DSTMASK _S("DstMask")
2415 #define SRCPORT _S("SrcPort")
2416 #define DSTPORT _S("DstPort")
2417 #define SRCPORTMAX _S("SrcPortMax")
2418 #define DSTPORTMAX _S("DstPortMax")
2419 #define PROTOCOLID _S("ProtocolId")
2420 #define IAPID _S("IapId")
2421 #define PRIORITY _S("Priority")
2423 /** Columns of the `PolicySelector2Params Table` */
2424 #define POLICYSELECTORID _S("PolicySelectorId")
2425 #define PARAMSID _S("ParamsId")
2427 /** Columns of the `GenericQos Table` */
2428 #define DOWNLINKBANDWIDTH _S("DownlinkBandwidth")
2429 #define UPLINKBANDWIDTH _S("UplinkBandwidth")
2430 #define DOWNLINKMAXIMUMBURSTSIZE _S("DownLinkMaximumBurstSize")
2431 #define UPLINKMAXIMUMBURSTSIZE _S("UpLinkMaximumBurstSize")
2432 #define DOWNLINKAVERAGEPACKETSIZE _S("DownLinkAveragePacketSize")
2433 #define UPLINKAVERAGEPACKETSIZE _S("UpLinkAveragePacketSize")
2434 #define DOWNLINKMAXIMUMPACKETSIZE _S("DownLinkMaximumPacketSize")
2435 #define UPLINKMAXIMUMPACKETSIZE _S("UpLinkMaximumPacketSize")
2436 #define DOWNLINKDELAY _S("DownLinkDelay")
2437 #define UPLINKDELAY _S("UpLinkDelay")
2438 #define DOWNLINKDELAYVARIATION _S("DownLinkDelayVariation")
2439 #define UPLINKDELAYVARIATION _S("UpLinkDelayVariation")
2440 #define DOWNLINKPRIORITY _S("DownLinkPriority")
2441 #define UPLINKPRIORITY _S("UpLinkPriority")
2442 #define HEADERMODE _S("HeaderMode")
2443 //#define QOSNAME _S("QosName")
2445 // need to preserve compatibility, soon to become internalTechnology
2446 //#ifdef SYMBIAN_NETWORKING_WIFI
2447 /** Columns of the `WifiScanEngine Table` */
2448 #define SCANPERIODMS _S("ScanPeriodMs")
2449 #define RSSIMIN _S("RSSIMin")
2450 #define RSSIMAX _S("RSSIMax")
2451 //#endif //SYMBIAN_NETWORKING_WIFI
2453 #endif //SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
2455 /** Enumerated sets and bitmasks for the modem speaker `MODEM_BEARER:MODEM_SPEAKER_PREF`. */
2456 enum TCommsDbModemSpeakerSetting
2458 /** Speaker always off. */
2459 EModemSpeakerSettingNever,
2460 /** Speaker on until the call has been answered. */
2461 EModemSpeakerSettingUntilCallAnswered,
2462 /** Speaker always on. */
2463 EModemSpeakerSettingAlways,
2464 /** Speaker on after dialing until answer. */
2465 EModemSpeakerSettingAfterDialUntilAnswer
2468 /** Enumeration used by `MODEM_BEARER:MODEM_SPEAKER_VOL_PREF` */
2469 enum TCommsDbModemSpeakerVolume
2472 EModemSpeakerVolumeQuiet,
2473 /** Speaker volume set to medium. */
2474 EModemSpeakerVolumeMedium,
2475 /** Speaker volume set to loud. */
2476 EModemSpeakerVolumeLoud
2479 /** Bit mask used by `MODEM_BEARER:MODEM_COMM_ROLE` */
2480 const TUint KModemCommRoleDCE = 0x1;
2481 const TUint32 KLinkableFlagTag = 0x80000000;
2483 /** Enumeration used by DIAL_*_ISP:ISP_TYPE, OUTGOING_WCDMA:GPRS_AP_TYPE and CDMA2000_PACKET_SERVICE_TABLE:CDMA_AP_TYPE. */
2484 enum TCommsDbIspType
2486 /** ISP internet only. */
2487 EIspTypeInternetOnly,
2488 /** ISP WAP only. */
2490 /** ISP internet and WAP. */
2491 EIspTypeInternetAndWAP
2494 /** Enum used by DIAL_*_ISP:ISP_BEARER_TYPE. */
2495 enum TCommsDbBearerType
2499 /** HSCSD bearer. */
2503 /** Enum used by WAP_*_BEARER:WAP_WSP_OPTION. */
2504 enum TCommsDbWapWspOption
2506 /** WAP WSP option set to connectionless. */
2507 EWapWspOptionConnectionless,
2508 /** WAP WSP option set to connection oriented. */
2509 EWapWspOptionConnectionOriented
2513 Enum for use in calls to `CCommsDatabase::OpenConnectionPrefTable*LC()`,
2514 CCommsDatabase::OpenIAPTableViewMatchingBearerSetLC() and
2515 CCommsDbConnectionPrefTableView::SwapConnectionPreferencesL()
2517 enum TCommDbConnectionDirection
2519 /** Connection direction is unknown. */
2520 ECommDbConnectionDirectionUnknown,
2521 /** Connection direction is outgoing. */
2522 ECommDbConnectionDirectionOutgoing,
2523 /** Connection direction is incoming. */
2524 ECommDbConnectionDirectionIncoming
2527 /** Bitmask for use in calls to: CCommsDatabase::OpenIAPTableViewMatchingBearerSetLC() */
2530 /** Bearer support unknown. */
2531 KCommDbBearerUnknown = 0x0,
2532 /** CSD Bearer support. */
2533 KCommDbBearerCSD = 0x1,
2534 /** WCDMA Bearer support. */
2535 KCommDbBearerWcdma = 0x2,
2536 /** LAN Bearer support. */
2537 KCommDbBearerLAN = 0x4,
2538 /** CDMA2000 Bearer support. */
2539 KCommDbBearerCdma2000 = 0x8,
2540 KCommDbBearerVirtual = 0x10,
2541 KCommDbBearerPAN = 0x20,
2542 KCommDbBearerWLAN = 0x40
2544 #define KCommDbBearerPSD (KCommDbBearerWcdma|KCommDbBearerCdma2000)
2546 /** The dialog preference determines whether or not a user should be prompted with
2547 a dialog at connect time. Used in CCommsDbConnectionPrefTableView::UpdateDialogPrefL() */
2548 enum TCommDbDialogPref
2550 /** CommDB dialog preference is unknown. */
2551 ECommDbDialogPrefUnknown,
2552 /** Preference set to prompt user. */
2553 ECommDbDialogPrefPrompt,
2554 /** Preference set to warn user. */
2555 ECommDbDialogPrefWarn,
2556 /** Preference set not to prompt user. */
2557 ECommDbDialogPrefDoNotPrompt,
2558 /** Preference set to prompt user when in wrong mode. */
2559 ECommDbDialogPrefPromptIfWrongMode
2562 /** Enum for the global setting: GPRS_CLASS_C_BEARER. */
2563 enum TCommDbGprsClassCBearer
2565 /** GPRS Class C bearer. */
2566 ECommDbGprsClassCBearerGprs,
2567 /** GSM Class C bearer. */
2568 ECommDbGprsClassCBearerGsm
2571 /** Enum for use in calls to CCommsDatabase::NewL() */
2572 enum TCommDbOpeningMethod
2574 /** CommDB has been created. */
2576 /** CommDB Copied default. */
2577 ECommDbCopiedDefault,
2578 /** CommDB has been opened. */
2582 /** UIDs for system agent event notification */
2584 /** The global setting `SMS_BEARER` has changed */
2585 const TUid KUidCommDbSMSBearerChange = {0x10008F04};
2586 /** The global setting `SMS_RECEIVE_MODE' has changed */
2587 const TUid KUidCommDbSMSReceiveModeChange = {0x101F4AB0};
2588 /** The global setting `GPRS_ATTACH_MODE' has changed */
2589 const TUid KUidCommDbGPRSAttachModeChange = {0x100092BC};
2591 /** The `MODEM_BEARER:MODEM_TSY_NAME` field has been written or a `MODEM` record has
2593 const TUid KUidCommDbModemTsyNameChange = {0x1000947f};
2594 /** As `KUidCommDbModemTsyNameChange` above except only for a change in the
2595 record specified by the `MODEM_DATA_FAX` global setting */
2596 const TUid KUidCommDbModemDataAndFaxChange = {0x1000A43F} ;
2597 /** As `KUidCommDbModemTsyNameChange` above except only for a change in the
2598 record specified by the `MODEM_PHONE_SERVICES_SMS` global setting */
2599 const TUid KUidCommDbModemPhoneServicesAndSMSChange = {0x1000A440};
2601 /** A record in the `DEFAULT_GPRS` table has been modified or deleted. */
2602 const TUid KUidCommDbGPRSDefaultParamsChange = {0x10008F05};
2603 /** A record in the `MODEM_BEARER` table has been modified or deleted. */
2604 const TUid KUidCommDbModemRecordChange = {0x1000A43D} ;
2605 /** A record in the `PROXIES` table has been modified or deleted */
2606 const TUid KUidCommDbProxiesRecordChange = {0x1000A43E};
2608 /** Enum for DATABASE_TYPE field.
2609 Was deprecated in v7.0 but replaced for BC with v6.1 in v7.0s and v8.0. */
2610 enum TCommDbDatabaseType
2612 /** Unspecified database type. Any type of database can be opened with this parameter.*/
2613 EDatabaseTypeUnspecified =0,
2614 /** The database has an IAP table, which defines sets of ISPs and chargecards that
2615 may be used together. */
2617 /** The database is arranged using separate ISP, location, modem and chargecard
2618 tables whose records are not associated by using IAPs.
2620 ISP type databases are deprecated from version 6.1. */
2625 /** Enum for the global setting `CDMA_OP_CAPABILITY`
2628 enum TCommDbCdmaOpCapability
2630 /** Simple IP only supported. */
2631 ECommDbCdmaOpCapabilitySimpleIp = 0x1,
2632 /** Mobile IP only supported. */
2633 ECommDbCdmaOpCapabilityMobileIp = 0x2,
2634 /** Mobile IP with Simple IP fallback supported. */
2635 ECommDbCdmaOpCapabilityFallback = 0x4
2638 /** Enum for the global setting `CDMA_SIMIP_AUTH_SUPPORTED`
2641 enum TCommDbCdmaSimpIpAuthCapability
2643 /** CHAP supported. */
2644 ECommDbCdmaSimpIpCapabilityChap = 0x1,
2645 /** PAP supported. */
2646 ECommDbCdmaSimpIpCapabilityPap = 0x2
2649 /** Enum for the global settings `CDMA_MIP_MN_AAA_AUTH_ALGORITHM` and 'CDMA_MIP_MN_HA_AUTH_ALGORITHM'
2652 enum TCommDbCdmaMIpAuthCapability
2654 /** MD5 authentication is supported (RFC 3012). */
2655 ECommDbCdmaMIpMd5 = 0x1
2658 /** Enum for the field `DEFAULT_CDMA2000_SETTINGS_TABLE:CDMA_OP_MODE`
2661 enum TCommDbCdmaOpMode
2663 /** Simple IP only. */
2664 ECommDbCdmaOpSimpleIp = 0x0,
2665 /** Mobile IP with Simple IP fallback. */
2666 ECommDbCdmaOpFallback = 0x1,
2667 /** Mobile IP only. */
2668 ECommDbCdmaOpMobileIp = 0x2
2671 /** Enum for the field `CDMA2000_PACKET_SERVICE_TABLE:CDMA_NAI_TYPE`
2674 enum TCommDbCdmaNaiType
2676 /** Simple IP only. */
2677 ECommDbCdmaNaiSimpleIp = 0,
2678 /** Mobile IP only. */
2679 ECommDbCdmaNaiMobileIp
2682 /** Enum for the field `CDMA2000_PACKET_SERVICE_TABLE:CDMA_SIMIP_AUTH_ALGORITHM `
2685 enum TCommDbCdmaSimpIpAuthAlgorithm
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
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`
2701 enum TCommDbCdmaMIpAuthAlgorithm
2703 /** No authentication. */
2704 ECommDbCdmaMIpAuthNone = 0x0,
2705 /** MD5 authentication (IETF RFC 2002)*/
2706 ECommDbCdmaMIpAuthMd5 = 0x1
2709 /** Enum for the fields `PAN_SERVICE_EXTENSION:PAN_LOCAL_ROLE` and
2710 `PAN_SERVICE_EXTENSION:PAN_REMOTE_ROLE`
2713 enum TCommDbBluetoothPanRole
2715 /** Role not specified. */
2716 ECommDbPanRoleUnknown = 0x0000,
2718 ECommDbPanRoleU = 0x1115,
2719 /** PAN-NAP Role. */
2720 ECommDbPanRoleNap = 0x1116,
2722 ECommDbPanRoleGn = 0x1117
2725 /** ENum for the fields `WLAN_SERVICE_EXTENSION:EAP_SEC_OUTER_EAP_TYPE` */
2726 enum TCommsDatEAPSECOuterEAPType
2729 ECommsDatEAPSecNone = 0x0,
2731 ECommsDatEAPSecEAPMD5 = 0x1,
2733 ECommsDatEAPSecEAPTLS = 0x2,
2735 ECommsDatEAPSecEAPTTLS = 0x3,
2737 ECommsDatEAPSecPEAP = 0x4,
2739 ECommsDatEAPSecLEAP = 0x5,
2741 ECommsDatEAPSecEAPSIM = 0x6,
2743 ECommsDatEAPSecEAPAKA = 0x7,
2744 #ifndef SYMBIAN_WIFI_WPS
2746 ECommsDatEAPSecEAPMSCHAPv2 = 0x8
2749 ECommsDatEAPSecEAPMSCHAPv2 = 0x8,
2751 ECommsDatEAPSecEAPWPS = 0x9
2752 #endif // SYMBIAN_WIFI_WPS
2755 /** ENum for the fields `WLAN_SERVICE_EXTENSION:TUN_EAP_INNERTYPE` */
2756 enum TCommsDatTunEapInnerType
2759 ECommsDatTunEapNone = 0x0,
2761 ECommsDatTunEapEAPMD5 = 0x1,
2763 ECommsDatTunEapMSCHAPv2 = 0x8
2766 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_ENCRYPTION_TYPE` */
2767 enum TCommsDatWlanEncrytionType
2770 ECommsDatWlanEncryptionTypeNone = 0x0,
2772 ECommsDatWlanEncryptionTypeStaticWEP = 0x1,
2774 ECommsDatWlanEncryptionTypeTKIP = 0x2,
2776 ECommsDatWlanEncryptionTypeAES = 0x3
2778 /*ECommsDatWlanEncryptionTypeDynamicWEP = 0x4*/
2781 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_DIALOG_PREF` */
2782 enum TCommsDatWlanDialogPref
2785 ECommsDatWlanDialogPrefUnknown = 0x0,
2787 ECommsDatWlanDialogPrefPrompt = 0x1,
2788 /** Do Not Prompt */
2789 ECommsDatWlanDialogPrefNoPrompt = 0x2,
2791 ECommsDatWlanDialogPrefWarn = 0x3
2794 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_NETWORK_TYPE` */
2795 enum TCommsDatWlanNetworkType
2797 /** Infrastructure Network */
2798 ECommsDatWlanNetworkTypeInfrastructure = 0x0,
2799 /** Ad-Hoc / Independent Network */
2800 ECommsDatWlanNetworkTypeAdHoc = 0x1
2803 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_DES_TRANS_RATE` */
2804 enum TCommsDatWlanDesTransRate
2807 ECommsDatWlanDesTransRate1Mbps = 0x02,
2809 ECommsDatWlanDesTransRate2Mbps = 0x04,
2811 ECommsDatWlanDesTransRate5Mbps = 0x0b,
2813 ECommsDatWlanDesTransRate6Mbps = 0x0c,
2815 ECommsDatWlanDesTransRate9Mbps = 0x12,
2817 ECommsDatWlanDesTransRate11Mbps = 0x16,
2819 ECommsDatWlanDesTransRate12Mbps = 0x18,
2821 ECommsDatWlanDesTransRate18Mbps = 0x24,
2823 ECommsDatWlanDesTransRate22Mbps = 0x2c,
2825 ECommsDatWlanDesTransRate24Mbps = 0x30,
2827 ECommsDatWlanDesTransRate33Mbps = 0x42,
2829 ECommsDatWlanDesTransRate36Mbps = 0x48,
2831 ECommsDatWlanDesTransRate48Mbps = 0x60,
2833 ECommsDatWlanDesTransRate54Mbps = 0x6c,
2835 ECommsDatWlanDesTransRateAuto = 0xff
2838 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_POWERSAVE_MODE` */
2839 enum TCommsDatWlanPowerSaveMode
2842 ECommsDatWlanPowerSaveModeDisabled = 0x0,
2843 /** Fast Powersave mode */
2844 ECommsDatWlanPowerSaveModeFast = 0x1,
2845 /** Max Powersave mode */
2846 ECommsDatWlanPowerSaveModeMax = 0x2
2849 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_PREAMBLE_TYPE` */
2850 enum TCommsDatWlanPreambleType
2853 ECommsDatWlanPreambleTypeShort = 0x0,
2855 ECommsDatWlanPreambleTypeLong = 0x1
2858 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_REG_DOMAIN` */
2859 enum TCommsDatWlanRegDomain
2861 /** FCC - United States */
2862 ECommsDatWlanRegDomainFCC = 0x10,
2864 ECommsDatWlanRegDomainIC = 0x20,
2865 /** ETSI - Most of Europe */
2866 ECommsDatWlanRegDomainETSI = 0x30,
2868 ECommsDatWlanRegDomainSpain = 0x31,
2870 ECommsDatWlanRegDomainFrance = 0x32,
2872 ECommsDatWlanRegDomainMKK = 0x40,
2874 ECommsDatWlanRegDomainWorld = 0xFF
2877 /** ENum for the fields `WLAN_SERVICE_EXTENSION:WLAN_AUTHENTICATION_MODE` */
2878 enum TCommsDatWlanAuthenticationMode
2880 /** Open Authentication */
2881 ECommsDatWlanAuthenticationModeOpen,
2883 ECommsDatWlanAuthenticationModeShared,
2885 ECommsDatWlanAuthenticationModeWPA,
2887 ECommsDatWlanAuthenticationModeWPAPSK,
2888 /** Open Authentication using EAP */
2889 ECommsDatWlanAuthenticationModeOPENEAP,
2891 ECommsDatWlanAuthenticationModeWPA2,
2892 #ifndef SYMBIAN_WIFI_WPS
2894 ECommsDatWlanAuthenticationModeWPA2PSK
2896 ECommsDatWlanAuthenticationModeWPA2PSK,
2898 ECommsDatWlanAuthenticationModeEapWps
2899 #endif //SYMBIAN_WIFI_WPS