Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Sample XML File Packet Switched Data (PSD) Connections

[Top]


Purpose

A sample configuration file containing the settings for establishing a Packet switched data (PSD) connection. The sample file contains dummy values and it is recommended that you replace them with valid values appropriate to your environment.

[Top]


Sample configuration file

<?xml version="1.0" encoding="UTF-8" ?>
<!--     CommDB settings File

--> 
- <CommDB:Config xmlns="SymbianOS.Generic.Comms-Infras.CommDB" xmlns:CommDB="SymbianOS.Generic.Comms-
Infras.CommDB" xmlns:xlink="http://www.w3.org/1999/xlink"xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:schemaLocation="SymbianOS.Generic.Comms-Infras.CommDB CommDB.xsd">
<InformationTable /> 

-<NetworkTable>
    <Network operation="add">
        <Name>Office Intranet</Name>
    </Network>
</NetworkTable>
-<IAPTable>
    <IAP operation="add">
        <Name>PSD: Outgoing GPRS connection</Name>
        <IAPService>OutgoingGPRS.Test GPRS</IAPService>
        <IAPBearer>ModemBearer.Dacom Surfer</IAPBearer>
        <IAPNetwork>Network. Office Intranet</IAPNetwork>
        <IAPNetworkWeighting>0</IAPNetworkWeighting>
        <LocationRef>Location.Direct Dial From Office</LocationRef>
    </IAP>
</IAPTable>
<ModemBearerTable>
    <ModemBearer operation="add">
        <Name>Dacom Surfer</Name>
        <Agent>DummyPSD.agt</Agent>                 
        <IfName>PPP</IfName>
        <PortName>COMM::0</PortName>
        <TSYName>MM</TSYName>
        <CSYName>ECUART</CSYName>
        <DataBits>8</DataBits>
        <StopBits>1</StopBits>
        <Parity>NONE</Parity>
        <Rate>57600</Rate>
        <Handshaking>244</Handshaking>
        <SpecialRate>0</SpecialRate>
        <XonChar>0</XonChar>
        <XoffChar>0</XoffChar>
        <FaxClassPref>AUTO</FaxClassPref>
        <SpeakerPref>AFTERDIALUNTILANSWER</SpeakerPref>
        <SpeakerVolPref>QUIET</SpeakerVolPref>
        <ModemInitString>AT&F</ModemInitString>
        <DataInitString>AT</DataInitString>
        <FaxInitString>AT&d2</FaxInitString>
        <DialPauseLength>S8=</DialPauseLength>
        <SpeakerVolContorlLow>L0</SpeakerVolContorlLow>
        <SpeakerVolControlMedium>L1</SpeakerVolControlMedium>
        <SpeakerVolControlHigh>L2</SpeakerVolControlHigh>
        <SpeakerAlwaysOff>M0</SpeakerAlwaysOff>
        <SpeakerOnUntilCarrier>M1</SpeakerOnUntilCarrier>
        <SpeakerAlwaysOn>M2</SpeakerAlwaysOn>
        <SpeakerOnAfterUntilCarrier>M3</SpeakerOnAfterUntilCarrier>
        <DialToneWaitModifier>W</DialToneWaitModifier>
        <CallProgress1>X1</CallProgress1>
        <CallProgress2>X2</CallProgress2>
        <CallProgress3>X3</CallProgress3>
        <CallProgress4>X4</CallProgress4>
        <EchoOff>E0</EchoOff>
        <VerboseText>V1</VerboseText>
        <QuietOff>Q0</QuietOff>
        <QuietOn>Q1</QuietOn>
        <DialCommandStateModifier>;</DialCommandStateModifier>
        <OnLine>O</OnLine>
        <ResetConfiguration>Z</ResetConfiguration>
        <ReturnToFactoryDefs>&F</ReturnToFactoryDefs>
        <DCDOnDuringLink>&C1</DCDOnDuringLink>
        <DTRHangUp>&D2</DTRHangUp>
        <DSRAlwaysOn>&S0</DSRAlwaysOn>
        <RTSCTSHandshake>&K3</RTSCTSHandshake>
        <XonXoffHandshake>&K4</XonXoffHandshake>
        <EscapeCharacter>+</EscapeCharacter>
        <EscapeGuardPeriod>S12</EscapeGuardPeriod>
        <NoDialTone>NO DIAL TONE</NoDialTone>
        <Busy>BUSY</Busy>
        <NoAnswer>NO ANSWER</NoAnswer>
        <Carrier>CARRIER</Carrier>
        <Connect>CONNECT</Connect>
        <CompressionClass5>COMPRESSION:CLASS 5</CompressionClass5>
        <CompressionV42bis>COMPRESSION:V.42 bis</CompressionV42bis>
        <CompressionNone>COMPRESSION:NONE</CompressionNone>
        <ProtocolLAPD>PROTOCOL:LAPD</ProtocolLAPD>
        <ProtocolALT>PROTOCOL:ALT</ProtocolALT>
        <ProtocolALTCELLULAR>PROTOCOL:ALT-CELLULAR</ProtocolALTCELLULAR>
        <ProtocolNone>PROTOCOL:NONE</ProtocolNone>
        <MessageCentreNumber>+44123456789</MessageCentreNumber>
        <MessageValidityPeriod>1440</MessageValidityPeriod>
        <MessageDeliveryReport>FALSE</MessageDeliveryReport>
        <MinimumSignalLevel>9905</MinimumSignalLevel>
        <LastSocketActivityTimeout>180</LastSocketActivityTimeout>
        <LastSessionClosedTimeout>30</LastSessionClosedTimeout>
        <LastSocketClosedTimeout>60</LastSocketClosedTimeout>
    </ModemBearer>
</ModemBearerTable>
-<OutboundGPRSTable>
    <OutgoingGPRS operation="add">
        <Name>Test GPRS</Name>
        <APN>Test</APN>
        <PDPType>IPV4</PDPType>
        <ReqPrecedence>2</ReqPrecedence>
        <ReqDelay>4<ReqDelay>
        <ReqReliability>3</ReqReliability>
        <ReqPeakThroughput>3</ReqPeakThrroughput>
        <ReqMeanThroughput>31</ReqMeanThroughput>
        <MinPrecedence>2</MinPrecedence>
        <MinDelay>4</MinDelay>
        <MinReliability>3</MinReliability>
        <MinPeakThroughput>3</MinPeakThroughput>
        <MinMeanThroughput>31</MinMeanThroughput>
        <DataCompression>FALSE</DataCompression>
        <HeaderCompression>FALSE</HeaderCompression>
        <GprsUseEdge>FALSE</GprsUseEdge>
        <AnonymousAccess>FALSE</AnonymousAccess>
        <IfNetworks>ip</IfNetworks>
        <IfPromptForAuth>FALSE</IfPromptForAuth>
        <IfAuthName>RasUser</IfAuthName>
        <IfAuthPass>pass</IfAuthPass>
        <AuthRetries>1</AuthRetries>
        <IpAddrFromserver>TRUE</IpAddrFromServer>
        <IpDNSAddrFromServer>TRUE</IpDNSAddrFromServer>
        <IpGateway>0.0.0.1</IpGateway>
        <EnableLCPExtension>FALSE</EnableLCPExtension>
        <DisablePlainTextAuth>FALSE</DiablePlainTextAuth>
        <GprsAccessPointType>0</GprsAccessPointType>
        <QosWarningTimeout>1000000</QosWarningTimeout>
    </OutgoingGPRS>
</OutgoingGPRSTable>
-<ConnectionPreferencesTable>
    <ConnectionPreferences operation="add">
        <Name>First Choice</Name>
        <Ranking>1</Ranking>
        <Direction>OUTGOING</Direction>
        <BearerSet>PSD</BearerSet>
        <DialogPref>DONOTPROMPT<DialogPref>
        <IAPRef>IAP.PSD: Outgoing GPRS connection</IAPRef>
    </ConnectionPreferences>
</ConnectionPreferencesTable>
-<GlobalSettingsTable>
    <GlobalSettings operation="add">
        <Name>GlobalSettingsRecord</Name>
        <ConnectionAttempts>2</ConnectionAttempts>
        <RedialAttempts>3</RedialAttempts>
        <SmsBearer>1</Smsbearer>
        <SmsReceiveMode>2</SmsReceiveMode>
        <GprsAtachMode>1</GprsAttachMode>
        <AcceptIncomingGprs>1</AcceptIncomingGprs>
        <GprsClassCBearer>GSM</GprsClassCBearer>
        <ModemForDataAndFax>1</ModemForDataAndFax>
        <ModemForPhoneServicesAndSMS>1</ModemForPhoneServicesAndSMS>
        <LocationForDataAndFax>Location.Direct Dial From Office</LocationForDataAndFax>
        <LocationForPhoneServicesAndSMS>Location.Direct Dial From Office</LocationForPhoneServicesAndSMS>
        <DefaultNetwork>Network.Office Intranet</DefaultNetwork>
        <MaxBufHeap>2</MaxBufHeap>
        <BearerAvailabilityCheckTSY>mm</BearerAvailabilityCheckTSY>
    </GlobalSettings>
</GlobalSettingsTable>
-<LocationTable>
    <Location operation="add">
        <Name>Direct Dial From Office</Name>
        <IntlPrefixCode>00</IntlPrefixCode>
        <NatPrefixCode>0</NatPrefixCode>
        <AreaCode>207</AreaCode>
        <Mobile>FALSE</Mobile>
        <UsePulseDial>FALSE</UsePulseDial>
        <WaitForDialTone>FALSE</WaitFotDialTone>
        <PauseAfterDialOut>0</PauseAfterDialOut>
    </Location>
</LocationTable>
-<ChargecardTable>
    <Chargecard operation="add">
        <Name>Dummy chargecard record</Name>
        <AccountNumber>0500800800</AccountNumber>
        <Pin>****</Pin>
        <LocalRule>HG</LocalRule>
        <NatRule>J, K, OFG</NatRule>
        <IntlRule>HEFG</IntlRule>
    </Chargecard>
</ChargecardTable>

You can use the sample XML file with appropriate changes, and the configuration settings can be stored using CED and CEDDUMP tools

[Top]


See also

Sample Ethernet Configuration

Sample Circuit Switched Data (CSD) Configuration

Sample VPN Configuration