SMS

From Openmoko

Revision as of 03:38, 30 September 2007 by Sagacis (Talk | contribs)

Jump to: navigation, search

The Short Message Service (SMS) protocol is in widespread use among cell phone providers and allows users to send brief (160 western alphanumeric characters) messages to a phone number. The GSM hardware in the Neo1973 supports messaging.

Contents

Message Modes

The modem supports two message modes: PDU mode (AT+CMGF=0) and Simple text mode (AT+CMGF=1).

PDU Mode

Protocol Description Unit (PDU) mode is an 8-bit octet schema, but the data is 7-bit. Information about SMS and the PDU format.

Text Mode

Text mode is simply a decoding of PDU mode within the firmware of the modem. The modem will guess the codepage based upon message contents and convert the PDU message to plain text. It does not handle multipart/mime or multimedia messages.

Other notes

You can use AT commands to manually use SMS. You can also use the shell of the libgsmd-tool.

Some developers have created a python SMS Message sending tool. It posts commands to libgsmd-tool -m shell and reads the responses.

For more information, see GSM

Personal tools

The Short Message Service (SMS) protocol is in widespread use among cell phone providers and allows users to send brief (160 western alphanumeric characters) messages to a phone number. The GSM hardware in the Neo1973 supports messaging.

Message Modes

The modem supports two message modes: PDU mode (AT+CMGF=0) and Simple text mode (AT+CMGF=1).

PDU Mode

Protocol Description Unit (PDU) mode is an 8-bit octet schema, but the data is 7-bit. Information about SMS and the PDU format.

Text Mode

Text mode is simply a decoding of PDU mode within the firmware of the modem. The modem will guess the codepage based upon message contents and convert the PDU message to plain text. It does not handle multipart/mime or multimedia messages.

Other notes

You can use AT commands to manually use SMS. You can also use the shell of the libgsmd-tool.

Some developers have created a python SMS Message sending tool. It posts commands to libgsmd-tool -m shell and reads the responses.

For more information, see GSM