Short Message Examples - Multitech MTCBA-C-IP-N12 Reference Manual

Cdma modems multimodem, mmcmodem, socketmodem series
Table of Contents

Advertisement

Short Message Examples

Receive Short Message
AT+CNMI=2,1,1,1,0
OK
+CMTI:"MT",0
AT+CNMI=2,2,1,1,0
OK
+CMT:"8585551212","02/05/17,10 :43 :07",129,1,2,0,"5550000",17
Test SMS Message
AT+CNMA
OK
Send Short Message
AT+CMGS="8585551212"
This is the first text line
This is the last text line
+CMGS: 1
+CDS:2,1,"8582431439",129,"02/05/17,10 :14 :17","02/05/17,10 :14 :27",32768
Send Unicode Short Message
AT+WSCL=6,4
OK
AT+CMGS="8585551212"
<Unicode formatted record>
<Unicode record terminator>
+CMGS: 2
+CDS:2,1,"8585551212",129,"02/05/17,10 :14 :17","02/05/17,10 :14 :27",32768
Send Short Message with Priority and Call Back Number
AT+CMGW="8585551212",24,2,"2345678901"
This is the message line
+CMGW: 0
OK
AT+CMSS=0 Send the SMS message stored at location index 0
+CMSS: 3 Success: message reference 3 is returned from the SMS Service Center
OK
+CDS:2,1,"8582431437",129,"03/04/11,14 :10 :56","03/04/11,14 :11 :02",32768
Read Short Message
AT+CPMS="MT"
OK
AT+CPMS?
+CPMS:2,10,1,10
OK
AT+CMGL="ALL"
+CMGL:0,"REC READ","8585551111",1,2,15
Test message #1
+CMGL:1,"REC UNREAD","8585552222",1,2,15
Test message #2
+CMGL:0,"STO UNSENT","8585551212",1,2,24
Test message to be sent.
OK
AT+CMGR=1
+CMGR:"REC UNREAD","8585552222","02/05/15,15 :54 :04",1,2,0,"5550000",15
Test message #2
OK
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
SMS-DELIVER stored in NV, SMS-STATUS-REPORT routed to TE
New message received and stored in "MT" memory at index 0
SMS-DELIVER routed to TE
Received message.
Acknowledge the received message to the network.
Send a SMS-SUBMIT to mobile phone <CR> (0x0D)
Enter first line and press carriage return <CR> (0x0D)
Enter last line and send message by press <ctrl-Z> (0x1A)
Success: message reference 1 is returned from the SMS Service Center
Success: report of successful message delivery received. Time of sending of the message
and receiving of the acknowledgment from the SMS Service Center is reported along with the
status code.
Specify SMS in Chinese language and Unicode format
Send a SMS-SUBMIT to mobile phone
0x81 0x05 0x13 0x53 0x95 0xA6 0x8F 0xFF (See section 20.11)
Record must end with 0x00 0x1A
Success: message reference 2 is returned from the SMS Service Center
Success: report of successful message delivery received. Time of sending of the message
and receiving of the acknowledgment from the SMS Service Center is reported along with the
status code.
Store SMS message in mobile phone, length 24 characters, priority 2, call back number
"2345678901"
The SMS will be stored when 24 characters are entered
The SMS message is stored in the first location
Success: report of successful message delivery received. Time of sending of the message
and receiving of the acknowledgment from the SMS Service Center is reported along with the
status code.
Set Mobile Terminated as preferred memory storage
Display current message status
There are 2 MT and 1 MO messages stored
List all stored messages
Read the first message in currently selected memory storage (previously set by AT+CPMS).
Chapter 22 – AT Command Examples
174

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MTCBA-C-IP-N12 and is the answer not in the manual?

Questions and answers

Table of Contents