beautypg.com

Rainbow Electronics MG260 User Manual

Page 79

background image

FLYFOT-MG260-MODULE

Page: 79 / 246

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

simply type, character (ASCII 26). The text can contain all existing characters except
and (ASCII 27). This command can be aborted using the character when entering text. In
PDU mode, only hexadecimal characters are used (‘0’…’9’,’A’…’F’).

Syntax :

Command syntax in PDU mode :
AT+CMGS=
PDU is entered
Command

Possible responses

AT+CMGS=.28.
0031000BA13105119226F40000AD0AA8C3F6
30885E9ED301
Note : Send a message in PDU mode

+CMGS:
OK
Note : Successful transmission

AT+CMGS=? +CMGS:

OK

AT+CMGS
AT+CMGS?

+CMS ERROR: 3
Note: not supported.


The message reference, , which is returned to the application is allocated by the product. This number
begins with 0 and is incremented by one for each outgoing message (successful and failure cases); it is
cyclic on one byte (0 follows 255).
Note:
this number is not a storage number – outgoing messages are not stored.

Defined values :

See above paragraphs.


9.10 Write Message to Memory +CMGW

Description :

This command stores a message in memory (either SMS-SUBMIT or SMSDELIVERS). The memory
location is returned (no choice possible as with phonebooks +CPBW).
Text or PDU is entered as described for the Send Message +CMGS command.

Syntax :

Command syntax in PDU mode :
AT+CMGW= [,]
give PDU
Response syntax: