EasyManua.ls Logo

Motorola g20 - Another Possible Option for Setting the CNMI Notification Indication; Writing and Saving Messages (Using AT+CMGW and AT+CMSS)

Motorola g20
352 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using the Commands
268 98-08901C68-O
+CMTI: "MT",4 //When a new MT message is received, the unsolicited response
+CMTI will be displayed, denoting the message index
AT+CMGR=4 //Use the new message index to read it
+CMGR: "REC UNREAD","+97254565132"
msg text
OK
AT+CMGD=4 //Delete the message after reading it
OK
5.2.3 Another Possible Option for Setting the CNMI Notification Indication
AT+CNMI=,2 //To have new incoming MT messages displayed on the terminal, the
second parameter of +CNMI should be set to 2
OK
+CMT: "+97254565132","2003/3/24,15:38:55" msg text //When a new MT message is received, the unsolicited response
+CMT is displayed along with the message
AT+CNMA //To acknowledge receipt of a message, use the AT+CNMA
command within 60 seconds of the +CMT unsolicited response
OK
The acknowledged message is not saved in the database. If the +CMT unsolicited response was not acknowledged within
60 seconds, the new message is saved in database.
5.2.4 Writing and Saving Messages (Using AT+CMGW and AT+CMSS)
Writing messages into the database, with or without destination address:
AT+CMGW //Writing a message without destination address
> message text
+CMGW: 142
OK
AT+CMGW="054565132" //Writing a message with destination address
> message text
+CMGW: 143
OK
:

Table of Contents

Related product manuals