Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual

Page 449

Advertising
background image


Short message Commands

New Message Acknowledgement +CNMA

©Restricted

Page:

103 / 202

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

WM_DEV_OAT_UGD_049 - 001

VOLUME 3

August 23, 2007

Test command

AT+CNMA=?

OK

17.15.3 Parameters and Defined Values
<n>:

type of acknowledgement in PDU mode

0

send RP-ACK without PDU (same as TEXT mode)

1

send RP-ACK with optional PDU message

2

send RP-ERR with optional PDU message

<length>:

length of the PDU message

Please refer to GSM 03.40 Recommendation [4] for other PDU

negative acknowledgement codes.

17.15.4 Parameter Storage
None.

17.15.5 Examples
Example of acknowledgement of a new message in TEXT mode:

Command

Responses

AT+CSMS=1

Note: SMS AT commands compatible with GSM

07.05 Phase 2 + version [1]

OK

AT+CMGF=1

Note: Set TEXT mode

OK

Note: TEXT mode valid

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

Note: <mt>=2

OK

+CMT: "123456","98/10/01,12:30
00+00",129,4,32,240,"15379",129,5

Received message

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