Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Sample XML File For Circuit Switched Data (CSD) Connections

[Top]


Purpose

A sample configuration file containing the settings for establishing a circuit switched data (CSD) 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>CSD: From UK location</Name>
        <IAPService>DialOutISP.Default Dial Out ISP</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>CSD.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>
-<DialOutISPTable>
    <DialOutISP operation="add">
        <Name>Default Dial Out ISP</Name>
        <DialResolution>TRUE</DialResolution>
        <UseLoginScript>FALSE</UseLoginScript>
        <PromptForLogin>FALSE</PromptForLogin>
        <IfPromptForAuth>FALSe</IfPromptForAuth>
        <IpAddrFromServer>TRUE</IpAddrFromServer>
        <IpDNSAddrFromServer>TRUE</IpDNSAddrFromServer>
        <Description>For Documentation</Description>
        <DefaultTelNum>+440123456789</DefaultTelNum>
        <IfNetworks>ip</IfNetworks>
        <IfCallbackEnabled>FALSE</IfCallbackEnabled>
        <CallbackTimeout>0</CallbackTimeout>
        <DisplayPCT>FALSE</DisplayPCT>
        <EnableIPHeaderComp>TRUE</EnableIPHeaderComp>
        <EnableLCPExtension>FALSE</EnableLCPExtension>
        <DisablePlainTextAuth>FALSE</DisablePlainTextAuth>
        <EnableSWComp>FALSE</EnableSWComp>
        <BearerName>ASYNCHRONOUS</BearerName>
        <BearerType>HSCSD</BearerType>
        <BearerProtocol>UNSPECIFIED</BearerProtocol>
        <RlpVersion>0</RlpVersion>
        <IwfToMs>0</IwfToMs>
        <MsToIwf>0</MsToIwf>
        <AckTimer>0</AckTimer>
        <RetransmissionAttempts>0</RetransmissionAttempts>
        <ResequencePeriod>0</ResequencePeriod>
        <V42Compression>0</V42Compression>
        <V42Codewords>0</V42Codewords>
        <V42MaxLength>0</V42MaxLength>
        <Asymmetry>0</Asymmetry>
        <UserInitUpgrade>FALSE</UserInitUpgrade>
        <UseEdge>FALSE</UseEdge>
    </DialOutISP>
</DialOutISPTable>
-<ConnectionPreferencesTable>
    <ConnectionPreferences operation="add">
        <Name>First Choice</Name>
        <Ranking>1</Ranking>
        <Direction>OUTGOING</Direction>
        <BearerSet>CSD</BearerSet>
        <DialogPref>DONOTPROMPT<DialogPref>
        <IAPRef>IAP.CSD: From UK location</IAPRef>
    </ConnectionPreferences>
</ConnectionPreferencesTable>
-<GlobalSettingsTable>
    <GlobalSettings operation="add">
        <Name>GlobalSettingsRecord</Name>
        <ConnectionAttempts>2</ConnectionAttempts>
        <RedialAttempts>3</RedialAttempts>
        <SmsBearer>3</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 Packet Switched Data (PSD) Configuration

Sample VPN Configuration