Chapter 14 – Short Message Service Control Commands
Chapter 14 – Short Message
Service Control Commands
Send Message +CMGS
Description:
Syntax:
This command is used to send an SMS message.
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 <priority>, <privacy>, <reply option>, and <cbn> parameters are optional. Defaults are used
when not specified.
The +CMGS: <mr> unsolicited message and OK response indicate that the +CMGS command
has been accepted without errors and an attempt to deliver the SMS to the network is being
made.
It is recommended that +CDS: unsolicited messages are enabled using the AT+CNMI command.
+CDS: indicates that the message has been received by the network and the network is
delivering the SMS or there is an error in attempting to send the SMS. Attempting to send a
second SMS prior to the +CDS: unsolicited message will result in an error.
Command syntax : AT+CMGS=<da> [,<length>] [,<priority>] [,<privacy>] [,<reply>] [,<cbn>]
<cr><message 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.
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. Note omitted length field.
Possible responses
+CMGS:<mr>
OK
+CDS: <fo>, <mr>, [<ra>] , [<tora>],
<scts>, <dt>, <st>
+CMGS:<mr>
OK
+CMGS:<mr>
OK
Values:
<da>
<length>
Destination address value in string format.
Length of the text message (in bytes).
<priority> The priority level of the message.
0
Normal (default)
1
2
3
Interactive )
Urgent
Emergency
Not currently supported
Not currently supported
<privacy> The privacy level of the message.
0
1
2
3
Normal (default)
Restricted
Confidential
Secret
Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide (PN S000478C)
70
相关PDF资料
MTCBA-C1-U-N2 MODEM CDMA USB 800MHZ 1.9GHZ
MTCBA-C1X-N2-NAM MODEM CDMA 800MHZ 1.9GHZ
MTCBA-G-EN-F4-ED-GB/IE MODEM GPRS QUAD EU/UK ETH INTFC
MTCBA-G2 MODEM GPRS CELLULAR SERIAL
MTCBA-H-EN2-NAM WIRELESS ROUTER INTELLIGNT HSDPA
MTCBA-H3-U1 MULTIMODEM CELL WIRELESS MODEM
MTCBA-H4-EN2-GP-P1 ROUTER WIRELESS QUAD HSPA
MTCMR-G2 MODEM GPRS 850MHZ 1.9GHZ
相关代理商/技术参数
MTCBA-C1-N3-NAM 功能描述:MODEM CELLULAR RS232 DUAL CDMA RoHS:是 类别:RF/IF 和 RFID >> RF 接收器、发射器及收发器的成品装置 系列:MultiModem® Cell 标准包装:5 系列:MultiModem® iCell 功能:收发器,HSPA,调制解调器 调制或协议:GPRS,GSM,EDGE 频率:850MHz,900MHz,1.8GHz,1.9GHz 应用:- 接口:RS-232,USB 灵敏度:- 功率 - 输出:- 数据传输率 - 最大:7.2 Mbps 特点:- 电源电压:9 V ~ 32 V,USB 其它名称:881-1125
MTCBA-C1-U-N2 功能描述:MODEM CDMA USB 800MHZ 1.9GHZ RoHS:是 类别:RF/IF 和 RFID >> RF 接收器、发射器及收发器的成品装置 系列:MultiModem® Cell 标准包装:5 系列:MultiModem® iCell 功能:收发器,HSPA,调制解调器 调制或协议:GPRS,GSM,EDGE 频率:850MHz,900MHz,1.8GHz,1.9GHz 应用:- 接口:RS-232,USB 灵敏度:- 功率 - 输出:- 数据传输率 - 最大:7.2 Mbps 特点:- 电源电压:9 V ~ 32 V,USB 其它名称:881-1125
MTCBA-C1-U-N3 功能描述:MODEM CDMA USB 800MHZ 1.9GHZ RoHS:是 类别:RF/IF 和 RFID >> RF 接收器、发射器及收发器的成品装置 系列:MultiModem® Cell 标准包装:5 系列:MultiModem® iCell 功能:收发器,HSPA,调制解调器 调制或协议:GPRS,GSM,EDGE 频率:850MHz,900MHz,1.8GHz,1.9GHz 应用:- 接口:RS-232,USB 灵敏度:- 功率 - 输出:- 数据传输率 - 最大:7.2 Mbps 特点:- 电源电压:9 V ~ 32 V,USB 其它名称:881-1125
MTCBA-C1X-N16-NAM 功能描述:MODEM CDMA 800MHZ 1.9GHZ RoHS:是 类别:RF/IF 和 RFID >> RF 接收器、发射器及收发器的成品装置 系列:MultiModem® CDMA 标准包装:5 系列:MultiModem® iCell 功能:收发器,HSPA,调制解调器 调制或协议:GPRS,GSM,EDGE 频率:850MHz,900MHz,1.8GHz,1.9GHz 应用:- 接口:RS-232,USB 灵敏度:- 功率 - 输出:- 数据传输率 - 最大:7.2 Mbps 特点:- 电源电压:9 V ~ 32 V,USB 其它名称:881-1125
MTCBA-C1X-N2-NAM 功能描述:MODEM CDMA 800MHZ 1.9GHZ RoHS:是 类别:RF/IF 和 RFID >> RF 接收器、发射器及收发器的成品装置 系列:MultiModem® CDMA 标准包装:5 系列:MultiModem® iCell 功能:收发器,HSPA,调制解调器 调制或协议:GPRS,GSM,EDGE 频率:850MHz,900MHz,1.8GHz,1.9GHz 应用:- 接口:RS-232,USB 灵敏度:- 功率 - 输出:- 数据传输率 - 最大:7.2 Mbps 特点:- 电源电压:9 V ~ 32 V,USB 其它名称:881-1125
MTCBA-C1X-N3 功能描述:MODEM CDMA FOR VERIZON NETWORKS RoHS:是 类别:RF/IF 和 RFID >> RF 接收器、发射器及收发器的成品装置 系列:MultiModem® CDMA 标准包装:5 系列:MultiModem® iCell 功能:收发器,HSPA,调制解调器 调制或协议:GPRS,GSM,EDGE 频率:850MHz,900MHz,1.8GHz,1.9GHz 应用:- 接口:RS-232,USB 灵敏度:- 功率 - 输出:- 数据传输率 - 最大:7.2 Mbps 特点:- 电源电压:9 V ~ 32 V,USB 其它名称:881-1125
MTCBA-C1X-N3-NAM 功能描述:MODEM CDMA FOR VERIZON NETWORKS RoHS:是 类别:RF/IF 和 RFID >> RF 接收器、发射器及收发器的成品装置 系列:MultiModem® CDMA 标准包装:5 系列:MultiModem® iCell 功能:收发器,HSPA,调制解调器 调制或协议:GPRS,GSM,EDGE 频率:850MHz,900MHz,1.8GHz,1.9GHz 应用:- 接口:RS-232,USB 灵敏度:- 功率 - 输出:- 数据传输率 - 最大:7.2 Mbps 特点:- 电源电压:9 V ~ 32 V,USB 其它名称:881-1125
MTCBA-C-B-N12 制造商:Multi-Tech Systems 功能描述:CDMA,800/1900MHZ(BM)(BT)