Writing, Saving And Sending Messages (Using At+Cmgw And At+Cmss) - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

SMS
Writing, Saving and Sending Messages (Using AT+CMGW
and AT+CMSS)
Writing messages into the database, with or without destination address. In TEXT mode, the
header parameters will be set according to CSMP settings:
AT+CMGW
> message text <ctrl z>
+CMGW: 142
OK
AT+CMGW="054565132"
> message text <ctrl z>
+CMGW: 143
OK
:
AT+CMSS=143
using the message index
OK
AT+CMSS=143,"054565029"
destination address with which it was stored (if any), using the message index
OK
AT+CMSS=3,"054565029"
OK
AT+CSMP=25,"05/03/15,21:22:23+08"
OK
AT+CMGW="0544565034"
A<CTRL+Z>
+CMGW: 129
OK
AT+CMGR=129
+CMGR: "STO UNSENT", "0544565034",,129,25,0,0,"05/03/15,21:22:23+08","+972521100059",145,1
A
OK
AT+CMGF=0
OK
AT+CMGR=129
+CMGR: 2,,1
079179521201009519FF0A8150446505430000503051122232800141
AT+CMGW=24
> 079179521201009519000c917952428650290000AABBAABBAABB010441424344
+CMGW: 146
OK
4-12
//Writing a message without destination address
//Writing a message with destination address
//Send a message to the destination address with which it was stored,
//Send a message to a destination address, regardless of the
//In this way, received messages (stored in the inbox) can also be sent
AT Commands Reference Manual
December 31, 2007

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents