Sending Messages (Using At+Cmgs); Deleting Messages (Using At+Cmgd) - Motorola AT Commands G24-L Developer's Manual

At commands reference manual
Hide thumbs Also See for AT Commands G24-L:
Table of Contents

Advertisement

Sending Messages (Using AT+CMGS)

Sends an SM from the G24-L to the network in TEXT mode, the header parameters will be set
according to CSMP settings. In text mode (+CMGF=1):
AT+CMGS="054565028" //Writing a message to be sent to specified destination address
>This is the message body <CTRL+Z> //<CTRL+Z> ends the prompt text mode and returns to
regular AT command mode
+CMGS: 238
OK
AT+CMGS="+97254565028",145
>message text <CTRL/Z>
+CMGS: 239
OK

Deleting Messages (Using AT+CMGD)

AT+CMGD=179
OK
AT+CMGR=179
+CMS ERROR: invalid memory index
Delete a group of messages. Note that deletion of a number of messages may take a short time.
AT+CMGD=1, 1
OK
AT+CMGD= 1,2
OK
AT+CMGD= 1,3
OK
AT+CMGD= 1,4
OK
April 15, 2008
//Message successfully sent. Returns the Message Reference
//Writing a message to be sent to specified destination address
//Message successfully sent . Returns the Message Reference
//Delete a message using its index
//The message index is now empty
//Delete all read messages
//Delete all read and sent messages
//Delete all read, sent and unsent messages
//Delete all messages
G24-L AT Commands Reference Manual
Chapter 4: Using the Commands
4-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G24-lc

Table of Contents