OnCell G2150I AT Command Set

Short Message Commands

 

 

 

 

AT+CMGD=1,0

OK

 

 

Note: The message from the preferred message storage at the

 

 

location 1 is deleted

 

 

 

 

AT+CMGD=1,1

OK

 

 

Note: All READ messages from the preferred message storage are

 

 

deleted

 

 

 

 

AT+CMGD=1,2

OK

 

 

Note: All READ messages and SENT mobile originated messages

 

 

are deleted

 

 

 

 

AT+CMGD=1,3

OK

 

 

Note: All READ, SENT, and UNSENT messages are deleted

 

 

 

 

AT+CMGD=1,4

OK

 

 

Note: All messages are deleted

 

 

 

Defined values:

<index> If <DelFlag> = 0

(1-20) if the preferred message storage is “BM”

SIM dependant integer values (in the range of SIM location number) if the preferred message storage is “SM” or “SR”.

If <DelFlag> is > 0, <index> is ignored.

<DelFlag>

0 Delete message at location <index> (default value).

1 Delete All READ messages

2 Delete All READ and SENT messages

3 Delete All READ, SENT and UNSENT messages

4 Delete All messages

If <DelFlag> is omitted, default value is used.

Note: When the preferred message storage is “SR”, as SMS status reports are assumed to have a “READ” status, if <DelFlag> is greater than 0, all SMS status reports will be deleted.

Service Center Address: +CSCA

Description: This command is used to indicate to which service center the message must be sent. The product has no default value for this address. If the application tries to send a message without having indicated the service center address, an error will be generated. Therefore, the application must indicate the SC address when initializing the SMS. This address is then permanently valid. The application may change it if necessary.

Command syntax: AT+CSCA=<sca>

Command

 

Possible responses

AT+CMGS= “+33146290800”<CR>

 

+CMS ERROR: 330

Hello, how are you?<ctrl-Z>

 

Note: service center unknown

Note: Send a message

 

 

AT+CSCA=“0696741234”

 

OK

Note: Service center initialization

 

 

AT+CMGS=“+33146290800”<CR>

 

+CMGS: 1

Happy Birthday ! <ctrl-Z>

 

OK

 

 

Note: Successful transmission

 

7-15

 

Page 68
Image 68
Moxa Technologies G2150I manual Service Center Address +CSCA, Location 1 is deleted, Deleted, Are deleted