Types of SMS Message

There are four classes of an SMS message. Classes identify the importance of an SMS message and also the location where it must be stored.

  • Class 0

    This type of SMS message is displayed on the mobile screen without being saved in the message store or on the SIM card; unless explicitly saved by the mobile user.

  • Class 1

    This message is to be stored in the device memory or the SIM card (depending on memory availability).

  • Class 2

    This message class carries SIM card data. The SIM card data must be successfully transferred prior to sending acknowledgment to the service center. An error message is sent to the service center if this transmission is not possible.

  • Class 3

    This message is forwarded from the receiving entity to an external device. The delivery acknowledgment is sent to the service center regardless of whether or not the message was forwarded to the external device.

Data flow

For an incoming message, the usual route is:

  1. The phone receives the SMS. The telephony server notifies the SMS stack.

  2. The SMS stack decodes the message and then notifies the SMS watcher that handles messages of the relevant service center. The watcher creates a new messaging entry in the message store's Inbox.

  3. Any messaging application that is set as an observer of the message store is notified of the arrival of the new message. The application can then determine whether it should handle the message, and if so, can then read the message and process it appropriately.

For an outgoing message, the route is:

  1. A messaging application uses the SMS client MTM APIs to create a message, to set its contents and fields, and to send it

  2. The message server passes the send command to the SMS server MTM. This calls the appropriate SMS stack to send the message.

  3. The stack calls the telephony server to send the message.

Related concepts