×
Namespaces

Variants
Actions
Revision as of 10:14, 20 July 2012 by hamishwillee (Talk | contribs)

CommDb

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: ivey (21 Mar 2007)
Last edited: hamishwillee (20 Jul 2012)


Contents

Introduction

The communications database known as CommDb is a Symbian OS database which is managed by the Symbian OS DBMS system. Basically, this provides a system-wide storage for communications related settings.

This is mostly used by applications and other communications sub-systems, such as, Telephony and WAP to store component configuration information. This kind stored content in the database can be accessed and updated by using CommDb APIs provided by Symbian OS.These APIs allow multiple clients/connections to access the database concurrently.


Architecture

CommDb stores the settings in a series of tables in a relational database, using the DBMS architecture. DBMS is a client/server architecture and provides for safe access by multiple clients. It holds information about:

  • Internet Access Providers (IAPs)
  • Internet Service Providers (ISPs)
  • GPRS
  • modems
  • locations
  • charge-cards
  • proxies and WAP settings.


CommDB Interface

The CommDb interface allows clients to access the database, open its tables and perform different transactions. It is provided by CCommsDatabase and its base class CCommsDatabaseBase. In CommDb interface, access to a Table in a database is provided by CCommsDbTableView.

class CCommsDbTableView : public CBase;


We need the type of table we want to access while making use of the CommDb APIs, so some specific types of tables are as follows:

  • Chargecard table
  • Connection preferences table
  • Dial-out ISP table
  • Global table
  • IAP table: an Internet Access Point (IAP) defines sets of ISP and chargecard that can be used together
  • Incoming GPRS table
  • Location table: affects how telephone numbers are dialled
  • Modems table
  • Outgoing GPRS table
  • Proxies table
  • WAP access point table
  • WAP IP bearer table
  • WAP SMS bearer table


CommDB Editor

The CommDB Editor is a PC tool that allows us to view and edit CommDB in the emulator. It is a useful tool, especially for developers who are still new to CommDB. It shows the table structure of CommDB and the value of its fields (see picture below).

For more information, how to import and export CommDB to this editor, please read Configuring Comms Database using CEDDUMP and CED.

CommDB Editor.png

Related

 

54 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×