
AL7024S Quick Start Manual
3.8SMS Commands
| Command |
|
| AT Manual pages |
|
| Function |
|
|
|
|
|
|
|
|
| AT+CMGS |
|
|
|
|
| Send SMS. Example: |
|
|
| Send message, p.178 |
|
| AT+CMGS=”0764537865”<cr> | |
|
|
|
|
|
|
| This is test SMS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Example: AT+CNMI=2,1,0,0,0 |
|
|
|
|
|
|
| Now, if an SMS is arriving, the following is displayed: |
| AT+CNMI |
|
| New message |
|
| AT+CMTI: “SM”,2 |
|
|
|
|
| Meaning: SMS was stored in location 2 of “SM”- | ||
|
|
| indication, p.164 |
|
| ||
|
|
|
|
|
| memory on | |
|
|
|
|
|
|
| |
|
|
|
|
|
|
| receiving SMS can be changed with the AT+CPMS |
|
|
|
|
|
|
| command. (see below) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Read message from memory selected with |
| AT+CMGR |
|
| Read message, p.171 |
|
| AT+CPMS command |
|
|
|
|
| Example: AT+CMGR=2 : read the second SMS in | ||
|
|
|
|
|
|
| |
|
|
|
|
|
|
| memory |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Read messages from memory selected with |
|
|
|
|
|
|
| AT+CPMS command. |
|
|
|
|
|
|
| Example: |
| AT+CMGL |
|
| List message, p.169 |
|
| AT+CMGL=”ALL” list all messages |
|
|
|
|
| AT+CMGL=”REC UNREAD” list unread received | ||
|
|
|
|
|
|
| |
|
|
|
|
|
|
| msg. |
|
|
|
|
|
|
| There are more possible parameters for this |
|
|
|
|
|
|
| command |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| The storage memory for messages can be selected. |
|
|
|
|
|
|
| Example: AT+CPMS=”SM” (“SM” being the most |
| AT+CPMS |
|
| Preferred Message |
|
| usual mem.) |
|
|
| Storage, p.160 |
|
| For a list of all possible memory areas see “AT | |
|
|
|
|
|
| ||
|
|
|
|
|
|
| Commands Interface Guide”, p.70 (AT+CPBS |
|
|
|
|
|
|
| command) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Delete message from preferred message storage. |
|
|
|
|
|
|
| Example: |
| AT+CMGD |
|
| Delete message, p.176 |
|
| AT+CMGD=2 : delete second message |
|
|
|
|
| AT+CMGD=1,1: delete all read messages | ||
|
|
|
|
|
|
| |
|
|
|
|
|
|
| For exact use, consult “AT Commands Interface |
|
|
|
|
|
|
| Guide” |
|
|
|
|
|
|
|
|
| AT+CSCA |
|
| Service center address, |
|
| Enter the phone number of the SMS service center |
|
|
| p.162 |
|
| (network operator). E.g.: AT+CSCA=”0796664444” | |
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
No. | Altec Electronic AG | Seite 15 / 18 |