Storing Short Messages; Examples; At+Cmss - Command For Selecting A Short Message From The Memory And Sending It - 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.6.2 Storing Short Messages

This command stores short messages in PDU mode (+CMGF=0).
Write
command
Function
Response
Parameter description
<stat>: storage status of short messages.
<length>: number of characters of the actually sent TPDU / 2.
<index>: location number in the memory; a decimal number consisting of digits 0–9;
value range: 0–(maximum capacity of the memory - 1).
<ctrl-Z>: indicates the end of an entry of PDU data. The character is '0x1A'.
<ESC>: cancels the sending of the current short message. The character is '0x1B'.

11.6.3 Examples

Example:
Store a short message in PDU mode.
AT+CMGF=0
AT+CMGW=56
>07813108608805F911000B813109732008F70000FF30547419347EBBE965371DF
13683DAE5F93C7C2E83EE693A1A0427D741ED37B90C3ABFCB7310BA2C2F834
2<Ctrl-Z>
+CMGW: 10
OK
11.7 AT+CMSS - Command for Selecting a Short Message
from the Memory and Sending It
The AT+CMSS command sends a short message at the specified index location.
Issue 02 (2010-11-23)
AT+CMGW=<length>[,<stat>]<CR>PDU is given <ctrl-Z/ESC>
Stores short messages in PDU mode.
In case of successful execution:
<CR><LF>+CMGW: <index><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>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Short Messages
166

Advertisement

Table of Contents
loading

Table of Contents