Rainbow Electronics MG260 User Manual

Page 79

Advertising
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, <ctrl-Z> character (ASCII 26). The text can contain all existing characters except <ctrl-Z>
and <ESC> (ASCII 27). This command can be aborted using the <ESC> character when entering text. In
PDU mode, only hexadecimal characters are used (‘0’…’9’,’A’…’F’).

Syntax :

Command syntax in PDU mode :
AT+CMGS= <length> <CR>
PDU is entered <ctrl-Z / ESC >
Command

Possible responses

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

+CMGS: <mr>
OK
Note : Successful transmission

AT+CMGS=? +CMGS:

OK

AT+CMGS
AT+CMGS?

+CMS ERROR: 3
Note: not supported.


The message reference, <mr>, 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 <index> 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= <length> [,<stat>] <CR>
give PDU<ctrl-Z / ESC>
Response syntax:

Advertising