Parameters and values for text mode, Notes, Examples – Synaccess Networks NP-0801DTM User Manual

Page 210

Advertising
background image

 

CUSTOM AT COMMANDS

 

HSPA+ AT Commands Reference Guide 

210

 

Parameters and Values for Text Mode 

<da> 

String type, destination address represented in the currently selected character set. 
See +CSCS.

 

<text> 

Text to send. 

 

Enclose entered text between double quotes. Format text as follows: 

„

If current <dcs> indicates that GSM03.38 default alphabet is used and 
current <fo> indicates that 3GPP TS 23.040 TP‐User‐Data‐Header‐
Indication is not set, then ME/TA converts the entered text into GSM 
alphabet, according to GSM 27.005, Annex A. For more information 
about <dcs> and <fo>, see +CSMP. 

„

If current <dcs> indicates that 8‐bit or UCS2 data coding scheme is 
used or current <fo> indicates that 3GPP TS 23.040 TP‐User‐Data‐
Header‐Indication is set. For more information about <dcs> and <fo>, 
see +CSMP.  

Entered text consists of two IRA character long hexadecimal 
numbers which ME/TA converts into 8‐bit octet. For example the 
‘asterisk’ is entered as 2A (IRA50 and IRA65) and this is converted 
to an octet with integer value 0x2A. 

If message is successfully sent to the network, then the result is sent in the format: 
#CMGS: <mr> 
where 
<mr> ‐ message reference number; 3GPP TS 23.040 TP‐Message‐Reference in integer 
format. 
Note: If message sending fails, an error code is reported. 

Notes 

„

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

„

Reference: GSM 27.005. 

Examples 

SMS text mode example 

AT+CMGF=1

AT#CMGS=6125553333,

"this is my message"  

<CR LF>

#CMGS: 2

OK

SMS PDU mode example 

AT+CMGF=0

AT#CMGS=30,07913121139418F011000A9155454433330000AA13C27A1EC47EDF59A06999CD0621D367740
8

<CR LF>

#CMGS: 3

OK

Advertising