Chapter 20 – Host Application Scenarios
SMS
Mobile Originated (MO) Messages
The AT+CMGS command is used to originate SMS messages. Up to 140 characters may be sent in a text
message. Note that a ctrl-Z terminates the message text entry. The Short Message Service Control Commands
section contains more information. For example:
at+cmgs="9195551212"
> hi, there.<ctrl-Z>
+CMGS: 150
OK
+WORG:
+WCNT: 6
+WEND: 29
It is recommended that you enable ASCII mode for text messages using the AT+WSCL command.
Sending Binary Data
Binary data can be sent as short messages using AT+CMGS command. Since the usual text entry terminator,
ctrl-Z, might be legitimate data, you define the message length in bytes in the AT+CMGS command. At the text
entry prompt, enter the bytes of the message. The message is sent when the number of bytes equal to the
message length has been entered.
at+cmgs="9195551212",10
> hi, there.
+CMGS: 151
OK
+WORG:
+WCNT: 6
+WEND: 29
It is recommended that you enable octet mode for binary messages using the AT+WSCL command.
Sending Text to Email Address
Many carriers support SMS-to-email gateways, allowing you to send short messages to an e-mail address.
To send a message to an email address, enter 6245 (this spells mail) in the Address field, enter the recipient's
email address in the beginning of the message field, followed by a space and then the text of the message.
Note: 6245 – SMS gateway number for most carriers.
Up to 140 characters may be sent in a text message. The count includes recipient‘s email address, space and the
message to be sent.
For example:
at+cmgs="6245"
>someone@example.com hi, there.<ctrl-Z>
+CMGS: 150
OK
+WORG:
+WCNT: 6
+WEND: 29
Mobile Terminated (MT) Messages
The device reports the receipt of messages using the +CMT unsolicited response. The contents of the +CMT
unsolicited response and the disposition of the received short message itself are determined by the +CNMI
command. The message can be transmitted to the TE or can be stored in non-volatile memory on the device. For
example, to transmit a received message to the TE:
at+cnmi=2,2,2,1,0
OK
+WANS: 3
+WCNT: 6
+CMT: "9195551212","09/07/20,13:43:55",129,0,2,0,,10
hi there.
+WEND: 25
Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide (PN S000478C)
120
相关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)