Rainbow Electronics MG260 User Manual

Page 73

Advertising
background image

FLYFOT-MG260-MODULE

Page: 73 / 246

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

Command

Possible responses

AT+CPMS=?
Notes: List possible parameters.

+CPMS: ("SM")
Note: Read, list, delete: SMS, CBM or SMS
Status Report
Write, send: SMS

AT+CPMS=”BM”
Notes: Select CBM message storage

+CME ERROR 3
Note:

At present MG260 MODULE, only

support “SM” storage.

AT+CPMS=”SR”
Notes: set status report storage

+CME ERROR 3
Note:

At present MG260 MODULE, only

support “SM” storage.

AT+CPMS?
Note : Read

+CPMS: "SM",3,10,"SM",3,10
OK
Note : Read, write SMS from/to SIM 3 SMS are
stored in SIM. 10 is the total

memory available

in SIM

AT+CPMS +CMS

ERROR:

3

Note: action command is not supported.

Defined values :

<mem1>: Memory used to list, read and delete messages. It can be:

-“SM”: SMS message storage in SIM (default)

-“BM”: CBM message storage (in volatile memory).

-“SR” : Status Report message storage (in SIM if the EF-SMR file exists,
otherwise in the ME non volatile memory)

Note :
“SR” ME non volatile memory is cleared when another SIM card is inserted. It
is kept, even after a reset, while the same SIM card is used.

<mem2>: Memory used to write and send messages

-“SM” : SMS message storage in SIM (default).
If the command is correct, the following message indication is sent:

+CPMS: <used1>,<total1>,<used2>,<total2>
When <mem1> is selected, all following +CMGL, +CMGR and +CMGD
commands are related to the type of SMS stored in this memory.


Advertising