Altech Auto Security AL7024S manual SMS Commands

Page 15

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 <ctrl-Z>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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 SIM-Card. The memory used for

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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. AL7020S-QSM-101

Altec Electronic AG

Seite 15 / 18

Image 15
Contents GSM Socket Modem AL7024S Quick Start Manual Table of Contents Checklist for first Tests First steps firstInstruction AT+CMEE, AT+CR, AT+CRC, ATV, AT+CREG, AT+CGREG Initialisation-StepsAnalog V.32 Data Connection Data applicationsIsdn V.110 Data Connection Phase Modem A-Side Modem B-SideRS-232 Commands Most useful AT-CommandsAT+CSNS Data CommandsAT+CBST AT&QGeneral Commands AT&WnAT&Fn Information Commands AT+CPWD Security Commands AT+CPIN AT+CLCKNetwork Commands Audio Commands SMS Commands DTE-baud-rates Troubleshooting-guideMake speech-connection to phone RingingRemarks for Swiss Customers Make data-connection