Send Message +Cmgs - Multitech CDMA Wireless Modem Reference Manual

Multi-tech systems cdma wireless modem reference guide
Hide thumbs Also See for CDMA Wireless Modem:
Table of Contents

Advertisement

Send Message +CMGS

Description:
The <da> field is the address of the terminal to which the message is sent. To send the text
message, type <ctrl-Z> (0x1A) as the final character of the message. This command can be
aborted using the <ESC> (0x1B) character while entering the message text.
The <length> parameter is optional, it is used to set the length of the text string. When
<length> is specified, the CMGS command will only process the number of bytes specified
by <length> regardless of whether it contains <ctrl-Z>, <ESC>, or <backspace> characters.
The parameters <priority> and <cbn> are optional. When not specified, they default as
follows:
Priority: 0 (Normal)
Call back number: Not included in the message.
Values:
<da> : Destination address value in string format.
<length> : Length of the text message (in bytes).
<priority>: Message priority:
0 – Normal
1 – Interactive
2 – Urgent
3 – Emergency
<cbn>: Call Back Number
Note: If the "FD" facility is enabled, only the <da> entries in the FDN phonebook can be
sent.
Syntax:
Command syntax: AT+CMGS=<da> [,<length>] [,<priority>] [,<cbn>] <CR>entered text<ctrl-
Z / ESC>
Command
AT+CMGS="8585551212"<CR>
Please call me soon, Fred. <ctrl-Z>
Note: Send a message
AT+CMGS="8585551212",12<CR>
Please call.<ctrl-Z>
Note: Send 12 byte message
AT+CMGS="8585551212",2,1,1"5550000" <CR>
Please call ASAP<ctrl-Z>
Note: Send a message with the specified priority,
privacy, reply option and call back number. Notice
length field is omitted.
AT+CMGS="12345"<CR>
<Unicode message><0x00><0x1A>
Note: Unicode message without length field. Two byte
Unicode message <ctrl-Z> terminator.
AT+CMGS="1234",4
<Unicode message><dummy byte>
Note: Unicode message with length. Final <dummy
byte> (any value) required for message transmission.
Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C
Chapter 8 – Short Messages Commands
Possible Responses
+CMGS:<mr>
OK
Note: Message reference
output.
+CMGS:<mr>
OK
Note: Message reference
output.
+CMGS:<mr>
OK
Note: Message reference
output.
+CMGS:<mr>
OK
Note: Message reference
output.
+CMGS:<mr>
OK
Note: Message reference
output.
62

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mtsmc-c seriesMtmmc-c seriesMtcba-c series

Table of Contents