Notes text mode, Notes, Write message to memory +cmgw – Synaccess Networks NP-0801DTM User Manual

Page 139: Pdu mode, Text mode, Syntax

Advertising
background image

3GPP TS 27.005 AT COMMANDS FOR SMS AND CBS

 

 

139 

HSPA+ AT Commands Reference Guide

 

Notes Text Mode 

„

The DCD signal is in ON state while text is entered. 

„

The echo command E controls the echoing of entered characters back from the TA. 

To send the message issue Ctrl‐Z char (0x1A hex). 

To exit without sending the message issue ESC char (0x1B hex). 

If message is successfully sent to the network, the result is sent in the format: 

+CMGS: <mr> 

where 

<mr> ‐ message reference number; 3GPP TS 23.040 TP‐Message‐Reference in integer format. 

„

If message sending fails for some reason, an error code is reported. 

„

Make sure no other SIM interacting commands are issued during the command execution, which may take 
several seconds. 

„

It is possible to send a concatenation of at most 10 SMs. The maximum number of characters depends on the 
<dcs>: 1520 characters if 3GPP TS 23.038 default alphabet is used, 1330 characters if 8‐bit is used, 660 
characters if UCS2 is used. If entered text is longer than this maximum value an error is raised 

Notes 

„

To avoid malfunctions, wait for the +CMGS: <mr> or +CMS ERROR: <err> response before issuing further 
commands. 

„

Reference GSM 27.005. 

Write Message to Memory   +CMGW 

PDU Mode 

Execute command writes in the <memw> memory storage a new message. 

Text Mode 

Execute command writes in the <memw> memory storage a new message. 

Test command returns the OK result code. 

Syntax 

Command 

Command type 

(PDU Mode) 
AT+CMGW=<length>[,<stat>

 

(Text Mode) 
AT+CMGW[=<da>[,<toda>[,<stat>]]] 

 

AT+CMGW=? 

Test 

Advertising