Select message service +csms, New message acknowledgement +cnma – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 56

Advertising
background image

Chapter 8 – Short Messages Commands

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

56

Select Message Service +CSMS

Description: This command is used to display the supported SMS services. The supported services are

originated (SMS-MO) and terminated short message (SMS-MT) + Cell Broadcast Message
(SMS-CB) services.

Values:

<MO>

0: Mobile Originated SMS not supported.
1: Mobile Originated SMS supported.

<MT>

0: Mobile Terminated SMS not supported.
1: Mobile Terminated SMS supported.

<CB>

0: Broadcast SMS not supported.
1: Broadcast SMS supported.

Syntax:

Command syntax: AT+CSMS?

Command

Possible Responses

AT+CSMS?
Note: Display current values

+CSMS: <MO>,<MT>,<CB>
OK
Note: SMS-MO, SMS-MT and SMS-CB support

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.

Acknowledge with +CNMA is possible only when a +CMT or +CDS indication is shown (see
+CNMI command).

Note: This AT command is not designed for input of the command into the Hyper terminal by
hand since the acknowledgement will not be quick enough to be received by the network.
However, it is possible for the client system to automatically send this command when the
+CNMI is set to “2,2,0,0,0”.

Syntax:

Command syntax: AT+CNMA

Command

Possible Responses

AT+CNMI=2,2,0,0,0

OK

+CMT:”8587351530”,”02/04/03,11

:06

:38”,129,7,0<CR><LF>
Testing
Note: Message received

AT+CNMA
Note: Acknowledge the message received

OK
Note: Send positive acknowledgement to the network

AT+CNMA
Note: Try to acknowledge again

+CMS ERROR : 340
Note: No +CNMA acknowledgment expected

Advertising