Chapter 9 – Short Messages Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 67
Syntax: Command Syntax: AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr>
Command Possible responses
AT+CNMI=2,1,0,0,0
Note: <mt>=1 OK
AT+CMTI: “SM”,1
Note: message received
AT+CNMI=2,2,0,0,0
Note: <mt>=2 OK
+CMT: “123456”,”98/10/01,12:30 00+00”,129,4,32,240,
“15379”,129,5<CR><LF>
Note: message received
AT+CNMI=2,0,0,1,0
Note: <ds>=1 OK
AT+CMGS=”+33146290800”<CR>
Happy Birthday! <ctrl-Z>
Note: Send a message in text mode
+CMGS: 7
OK
Note: Successful transmission
+CDS: 2, 116, ”+33146290800”, 145, “98/10/01,12:30:07+04”,
“98/10/01
12:30:08+04”, 0
Note: message was correctly delivered