Checking Whether The Command For Sending Short Messages Is Available; Sending A Short Message At The Specified Location - Huawei MG323 At Command Interface Specification

Gsm m2m module
Hide thumbs Also See for MG323:
Table of Contents

Advertisement

HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
11.7.1 Checking Whether the Command for Sending Short
Messages Is Available
Test
command
Function
Response

11.7.2 Sending a Short Message at the Specified Location

Write
command
Function
Response
Parameter description
<index>: location of short messages on the SIM card.
<da>: number of the short message receiver. Value range: 0–9, +, *, and #. This
parameter consists of not more than 20 characters. "+" must be the first character.
<toda>: a 1-byte number, which indicates the address coding mode. This parameter
takes effect only when the address code has eight bits. The default value is 0.
The four most significant bits indicate the number type:
The four least significant bits indicate the number plan:
<mr>: identifier of short messages, which is a decimal number consisting of digits 0–
9. Value range: 0–255.
Issue 02 (2010-11-23)
AT+CMSS=?
Checks whether the AT+CMSS command is available.
In case of available command: <CR><LF>OK<CR><LF>
In case of unavailable command: <CR><LF>ERROR<CR><LF>
In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>
AT+CMSS=<index>[,<da>[,<toda>]]
Sends a short message at the specified index location.
When the short message is in PDU mode (+CMGF=0) and the
short message is successfully sent:
<CR><LF>+CMSS:
<mr>[,<ackpdu>]<CR><LF><CR><LF>OK<CR><LF>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>
0: UNKNOWN
1: INTERNATIONAL
0: UNKNOWN
1: TELEPHONY
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Short Messages
167

Advertisement

Table of Contents
loading

Table of Contents