Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



SMS MTM Overview


Purpose

Provides sending and receiving of SMS text messages.

[Top]


Architectural relationships

The Messaging Architecture defines a framework in which modules (MTMs) can be implemented that provide support for particular messaging protocols. A client MTM provides the API for application engines to use the protocol. The SMS MTM API provides the client MTM API, plus supporting classes, for SMS.

The SMS MTM uses the SMS interface provided by the Telephony sub-system. This provides support for 7, 8, and 16-bit text messages, and message concatenation.

[Top]


Description

The API has three key concepts: SMS Client MTM, SMS service settings, and progress information.


SMS Client MTM

The SMS Client MTM provides MTM-specific operations for SMS, including accessing a telephone handset's service centre information, and scheduled sending of SMS messages. Note that SMS receiving is normally done automatically by system telephony and messaging components, with received SMS messages placed in the Inbox. Generic message receiving operations are not supported by the MTM.

The SMS Client MTM class is CSMSMtmClient.


SMS service settings

Settings for SMS connections, such as service centre addresses, are stored in the message store (CMsvStore) for the SMS service entry. Encapsulation of service settings is provided by CSmsSettings.


Progress information

The Messaging Architecture allows progress information to be obtained for messaging operations. For SMS operations, progress information includes such things as type of operation, and number of messages processed. Progress information is provided by TSmsProgress.