Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Comms database configuration file format

The Comms database Configuration Editor, CED, takes as input a configuration file in either text format (.cfg) or an XML format (.xml). Both contain information about the new settings for the comms database.

These files can either be created manually, or by using the CEDDUMP tool, which creates a configuration file by dumping the contents of the comms database into a .cfg file.

CED can also be used to convert between text and XML configuration files.

[Top]


Text file format (.cfg)

The text file format has the extension .cfg. This file contains the table records and settings to be edited in the comms database.

You can create/modify this file with any text editor, using the following file format (parameters are not case sensitive).

[<Table Name>]

ADD_TEMPLATE
  <Field Name>=<String>
  <Field Name>=<Boolean>
  <Field Name>=<Int>
  FIELD_COUNT=<Field Count>
END_TEMPLATE

ADD_SECTION
  <String Field Name>=<String>
  <Boolean Field Name>=<Boolean>
  <Field Name>=<Int>
  FIELD_COUNT=<Field Count>
END_ADD

where:

[Top]


XML file format (.xml)

If you are using an XML file as input to the CED utility, you need to use the following format:

<DialInISPTable>

<DialInISP operation="template">

<Name>Default Dial In ISP</Name>
<UseLoginScript>FALSE</UseLoginScript>
<IpAddrFromServer>TRUE</IpAddrFromServer>
<IpDNSAddrFromServer>TRUE</IpDNSAddrFromServer>
<EnableIPHeaderComp>FALSE</EnableIPHeaderComp>
<EnableLCPExtension>FALSE</EnableLCPExtension>
<DisablePlainTextAuth>FALSE</DisablePlainTextAuth>
<EnableSWComp>FALSE</EnableSWComp>
<UseEdge>FALSE</UseEdge>

</DialInISP>

<DialInISP operation="add">
<Name>Dial In CS ISP</Name>
<UseLoginScript>FALSE</UseLoginScript>
<IpAddrFromServer>TRUE</IpAddrFromServer>
<IpDNSAddrFromServer>TRUE</IpDNSAddrFromServer>
<EnableIPHeaderComp>FALSE</EnableIPHeaderComp>
<EnableLCPExtension>FALSE</EnableLCPExtension>
<DisablePlainTextAuth>FALSE</DisablePlainTextAuth>
<EnableSWComp>FALSE</EnableSWComp>
<UseEdge>FALSE</UseEdge>

</DialInISP>

</DialInISPTable>

The syntax of this XML file is specified by a set of XML Schema files which describe the structure of each comms database table and its parameters as well as the valid range of values they can receive.

The XML Schema files which define the syntax for the XML-based input file for CED are all stored in a specific directory and, therefore, different directories can be created for various Symbian OS versions.