Notes, Send message #cmgs, Syntax – Synaccess Networks NP-0801DTM User Manual

Page 209: Parameters and values for pdu mode

Advertising
background image

CUSTOM AT COMMANDS 

 

 

209 

HSPA+ AT Commands Reference Guide

 

ƒ

if <paramType> = 1, <param> indicates the ADC pin number; supported range is from 1 to a value that 
depends on the hardware. Default: 1

ƒ

if <paramType> = 2, <param> indicates the ADC High voltage threshold in the range 0 – 2000 mV. Default: 0

ƒ

if <paramType> = 3, <param> indicates the time interval in seconds after that the selected ADC pin above 
the value specified with <paramType> = 1 causes the event. The range is 0 – 255. Default: 0

„

If <label> is ADCL1, <paramType> can assume values in the range 0 ‐ 3. 

ƒ

If <paramType> = 1, <param> indicates the ADC pin number; supported range is from 1 to a value that 
depends on the hardware. Default: 1

ƒ

If <paramType> = 2, <param> indicates the ADC Low voltage threshold in the range 0 – 2000 mV. Default: 0

ƒ

If <paramType> = 3, <param> indicates the time interval in seconds after that the selected ADC pin under 
the value specified with <paramType> = 1 causes the event. The range is 0 – 255. Default: 0

„

If <label> is DTMFX, <paramType> can assume values in the range 0 ‐ 2. 

ƒ

If <paramType> = 1, <param> indicates the DTMF string; the single DTMF characters have to belong to the 
range ((0‐9),#,*,(A‐D)); the maximum number of characters in the string is 15 

ƒ

If <paramType> = 2, <param> indicates the timeout in milliseconds. It is the maximum time interval within 
which a DTMF tone must be detected after detecting the previous one, to be considered as belonging to the 
DTMF string. The range is (500 – 5000). Default: 1000

Notes 

„

DTMF string monitoring is available only if the DTMF decode is enabled. See #DTMF command. 

Send Message   #CMGS 

For both Text mode and PDU mode, Execute command sends a message to the network. 

Test command returns the OK result code. 

Syntax 

Command 

Command type 

AT#CMGS=<length>,<pdu> 

Execute. PDU mode. 

AT#CMGS=<da>,<text> 

Execute. Text mode.  

AT#CMGS=? 

Test 

Parameters and Values for PDU Mode 

<length> 

Length of the PDU to be sent in bytes, excluding the SMSC address octets.

 

7‐164 

 

<pdu> 

PDU in hexadecimal format—each octet of the PDU is given as two IRA character 
long hexadecimal number—and given in one line. 

 

Note: When the length octet of the SMSC address (given in the <pdu>) equals zero, 
the SMSC address set with command +CSCA is used; in this case the SMSC Type‐of‐
Address octet is not present in the <pdu>. 
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 for some reason, an error code is reported. 

Advertising