OnCell G2150I AT Command Set

Short Message Commands

Select Message Service: +CSMS

Description: The supported services are originated (SMS-MO) and terminated short message (SMS-MT) + Cell Broadcast Message (SMS-CB) services.

Command syntax: AT+CSMS=<service>

Command

Possible responses

AT+CSMS=0

+CSMS: 1,1,1

Note: SMS AT command Phase 2 version

OK

Note: SMS-MO, SMS-MT and SMS-CB supported

4.7.0

 

AT+CSMS=1

+CSMS: 1,1,1

Note: SMS AT command Phase 2 +

Note: SMS-MO, SMS-MT and SMS-CB supported

AT+CSMS?

+CSMS: 0,1,1,1

Note: Current values ?

OK

 

Note: GSM 03.40 and 03.41 (SMS AT command

 

Phase 2 version 4.7.0

AT+CSMS=?

+CSMS: (0,1)

Note: Possible services

OK

Defined values: <service>

0:SMS AT commands are compatible with GSM 07.05 Phase 2 version 4.7.0.

1:SMS AT commands are compatible with GSM 07.05 Phase 2 + version.

New Message Acknowledgement: +CNMA

Description: This command allows reception of a new message routed directly to the TE to be acknowledged.

In TEXT mode, only positive acknowledgement to the network (RP-ACK) is possible.

In PDU mode, either positive (RP-ACK) or negative (RP-ERROR) acknowledgement to the network is possible.

Acknowledge with +CNMA is possible only if the +CSMS parameter is set to 1 (+CSMS=1) when a +CMT or +CDS indication is shown (see +CNMI command). If no acknowledgement is given within the network timeout, an RP-ERROR is sent to the network, the <mt> and <ds> parameters of the +CNMI command are then reset to zero (do not show new message indication).

Command syntax in text mode: AT+CNMA

Command syntax in PDU mode: AT+CNMA [ = <n> [ , <length> [ <CR> PDU is entered <ctrl-Z / ESC> ] ] ]

Note: PDU is entered using <ackpdu> format instead of <pdu> format (e.g.. SMSC address field is not present).

Example of acknowledgement of a new message in TEXT mode

Command

Possible responses

AT+CSMS=1

OK

Note: SMS AT commands compatible

 

with GSM 07.05

 

Phase 2 + version

 

AT+CMGF=1

OK

Note: Set TEXT mode

Note: TEXT mode valid

7-3

Page 56
Image 56
Moxa Technologies G2150I manual Select Message Service +CSMS, New Message Acknowledgement +CNMA, Defined values service