HUAWEI MC509 CDMA LGA Module

 

AT Command Interface Specification

SMS Interface Commands

<format>: Specifies the encoding format of a short message. The values are as follows:

0:GSM 7 bit (not supported at present)

1:ASCII encoding (when the encoding range is not greater than 7F)

2:IA5 (not supported at present)

3:octet (not supported at present)

4:Latin (not supported at present)

5:Latin_Hebrew (not supported at present)

6:UNICODE encoding (when the encoding range is greater than 7F) <Prv>: Specifies the confidentiality level. The values are as follows:

0:normal (default value after startup)

1:restricted

2:confidential

3:secret

8.9^HCMGSCommand for Sending a Short Message

8.9.1 Syntax

 

Command

 

 

Possible Response(s)

 

 

 

 

 

 

 

 

If PDU mode (+CMGF=0):

 

 

If PDU mode (+CMGF=0):

 

 

^HCMGS=<length><CR><Lay

 

 

<CR><LF>^HCMGS: <mr><CR><LF>

 

 

er3 packet><ctrl-z/ESC>

 

 

 

 

 

 

<CR><LF>OK<CR><LF>

 

 

If text mode (+CMGF=1):

 

 

 

 

 

 

If TEXT mode (+CMGF=1):

 

 

^HCMGS=<da>[,<toda>]<CR>

 

 

 

 

 

 

 

 

 

text is entered<ctrl-z/ESC>

 

 

<CR><LF>^HCMGSS: <mr><CR><LF>

 

 

 

 

 

<CR><LF>OK<CR><LF>

 

 

 

 

 

In case of an SMS-related error:

 

 

 

 

 

<CR><LF>+CMS ERROR:<err><CR><LF>

 

 

 

 

 

 

 

 

^HCMGS=?

 

 

<CR><LF>OK<CR><LF>

 

 

 

 

 

 

 

8.9.2Interface Description

This command sends a short message to the network. The short message is sent in two steps:

PDU mode:

Firstly, ^HCMGS=<length> end with (CR),

Issue 01 (2011-08-26)

Huawei Proprietary and Confidential

95

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 95
Image 95
Huawei MC509 manual HCMGS-Command for Sending a Short Message, Case of an SMS-related error CRLF+CMS ERRORerrCRLF