Rainbow Electronics MG260 User Manual

Page 80

Advertising
background image

FLYFOT-MG260-MODULE

Page: 80 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

+CMGW: <index> or +CMS ERROR: <err> if writing fails
Command

Possible responses

AT+CMGW=.28.<CR>
0031000BA13105119226F40000AD0AA8C3F6
30885E9ED301 <ctrl-Z>
Note : Write a message in PDU mode

+CMGW: 4
OK
Note : Message stored in index 4

AT+CMGW=?

OK

AT+CMGW
AT+CMGW?

+CMS ERROR: 3
Note: not supported.

Defined values :

None.

9.11 Send Message From Storage +CMSS

Description :

This command sends a message stored at location value <index>.

Syntax :

Command syntax: AT+CMSS=<index>[,<da> [,<toda>] ]
Response syntax:
+CMSS : <mr> or +CMS ERROR: <err> if sending fails
If a new recipient address <da> is given, it will be used instead of the one stored with the message.

Command

Possible responses

AT+CMGW=25<CR>

+CMSS: <mr>
OK
Note: Message stored with index 25 is send
successfully

AT+CMSS=5, 13901011234
Note : Send the message 5 to a different
destination number

AT+CMSS:<mr>
OK
Note : Successful transmission

AT+CMSS=5, 13901011234, 129
Note : Send the message 5 to a different
destination number and different <toda>

+CMSS :<mr>
OK
Note : Successful transmission

AT+CMSS
AT+CMSS?

+CMS ERROR: 3
Note: not supported.

Advertising