Configuring comms database using CED and CEDDUMP
2008-12-22 11:34
316 查看
Configuring comms database using CED
and CEDDUMP
Configuring comms database using CED and CEDDUMPThe comms database configuration editor tools, CED and CEDDUMP, are command line tools that allow you to modify the comms database systematically and securely. This is useful, for example, when you need to configure modem, Internet connection and other network component settings for the emulator/phone.
Note that v9.1 does not store comms settings in the same way as previous OS releases. Instead of the CommDb API, which stored settings in a database file
cdbv3.dat, the CommsDat API (new in v9.1) is used, which stores settings in the central respository. v9.1 updates the CED and the CEDDUMP tools to use the new API.
Workflow process
You are not allowed to edit the comms database directly. Instead, you must useCEDDUMPto create an editable configuration file that represents the contents of the comms database. After you have edited the configuration file, use
CEDto turn it into a new comms database.
This is shown in the diagram:
The typical workflow process when using
CEDand
CEDDUMPis as follows:
Use
CEDDUMPto create a configuration file based on the current comms database.
Edit the configuration file to modify settings or to add new settings.
Use
CEDto create a modified comms database.
You do not have to use
CEDDUMPto create the configuration file. An alternative is to create a new configuration file and use
CEDto turn it into the comms database for Symbian OS to use.
Editing configuration files
Configuration files can be in two formats: text (with the extension.cfgas output by
CEDDUMP), or an XML file (
.xml).
The configuration file can be edited with a text editor, an XML editor, or the Symbian CommDb Editor, a Java graphical utility that can be downloaded from the Symbian Developer Network.
For information on the format of the
.cfgor
.xmlfile, see Comms database configuration file format.
File locations
CED and CEDDUMP are Symbian OS programs, so are run from the emulator binaries directory,epoc32/release/<emulator-build>/<udeb or urel>.
CEDDUMP outputs a configuration file in text format called
epoc32/<emulator-build>/c/cedout.cfg.
CED does not output a file. It updates or overwrites the central repository area that stores the comms settings.
Note: Both the
CEDand
CEDDUMPtools are console programs, and are best run without the emulator GUI shell. To do this, either add the statement
textshellto the beginning of the
epoc32/data/epoc.inifile, or call the tools with the option
-dtextshell --on the command line.
CED
command line syntax
CEDis located in
/epoc32/release/<emulator-build>/<udeb or urel>.
The command line syntax for the
CEDtool is as follows:
>ced.exe [-a] [-d] [-f] [-h] [-i <input_file>] [-o <log_file>]
The defaults are:
the existing settings will be deleted
the input file is
/epoc32/<emulator-build>/c/ced.cfgor
ced.xml
the log file is
/epoc32/<emulator-build>/c/ced.log.
Arguments
The following arguments are used with theCEDtool.
|
CEDtool has been run, a statement at the end of the log file will show whether the process was successful or whether any errors were produced.
Example
The following is an example of using theCEDtool with:
a file
c:/logs/test/faxrecv.cfgas input
new settings added to the existing database
a log file written to
c:/cedout.log
>ced.exe -i c:/logs/test/faxrecv.cfg -o c:/cedout.log -a
CEDDUMP
command line syntax
CEDDUMPis located in
/epoc32/release/<emulator-build>/<udeb or urel>.
The command line syntax for the
CEDDUMPtool is as follows:
>ceddump.exe
No arguments are necessary for
CEDDUMP.
The output is a
.cfgtext file called
/epoc32/<emulator-build>/c/cedout.cfg. This file represents the content of the comms database, and can be used by the
CEDtool.
» Symbian OS v9.1 » Symbian OS Tools And Utilities » Emulator » Emulator guide » Comms database configuration tools » Configuring comms database using CED and CEDDUMP Copyright ©2006 Symbian Software Ltd. |
相关文章推荐
- Backup and Restore MySQL Database Using mysqldump
- 使用Response文件安装和配置Oracle数据库 - Installing and Configuring Oracle Database Using Response Files
- Backup and Restore MySQL Database Using mysqldump
- Oracle® Database Performance Tuning Guide 11g Release 2 (11.2)----Configuring and Using Memory
- csharp: SQL Server 2005 Database Backup and Restore using C#
- 官方文档 恢复备份指南七 Using Flashback Database and Restore Points
- Tracing SQL Queries in Real Time for MySQL Databases using WinDbg and Basic Assembler Knowledge
- Step By Step Guide To Create Physical Standby Database Using RMAN Backup and Restore
- 官方文档 恢复备份指南七 Using Flashback Database and Restore Points
- Configuring and Using the Twisted Web Server
- How to read and save Images in a Sql Server Database using ADO.NET and C#
- Many ways to communicate with your database using jQuery AJAX and ASP.NET
- How to get Full Rom Dump / Stock ROM of MT6572 MediaTek Smartphones using SPFT and MTK Droid Root an
- 5.The database instance is currently using SPFILE. View the Exhibit and examine the error that you
- WinCE Application: using database SQLLite and import data from EXCEL
- Using Flashback Database and Restore Points
- dump video es and audio es from avi using gstreamer tools
- Understanding and Configuring Switching Database Manager on Catalyst 3750 Series Switches
- SQL Server Database Mirroring - Creating and using Mirror Endpoints in Principal, Mirror and Witness
- [Database] mongodb mongodump and mongorestore