Huawei MC509 manual HCMGW-Command for Storing a Short Message, Wmsothergeneralproblemsmorelasts

Models: MC509

1 156
Download 156 pages 43.92 Kb
Page 99
Image 99

HUAWEI MC509 CDMA LGA Module

 

AT Command Interface Specification

SMS Interface Commands

109:WMS_OTHER_GENERAL_PROBLEMS_MORE_LAST_S

8.12^HCMGWCommand for Storing a Short Message

8.12.1 Syntax

 

Command

 

 

Possible Response(s)

 

 

 

 

 

 

 

 

If PDU mode enabled

 

 

<CR><LF>^HCMGW:<index><CR><LF

 

 

^HCMGW=<length>,<tag><CR><Layer3

 

>

 

 

 

 

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

 

 

packet><ctrl-z/ESC>

 

 

 

 

If TEXT mode enabled

 

 

In case of an SMS-related error:

 

 

^HCMGW=<oa/da>[,<tooa/toda>],<stat>

 

 

<CR><LF>+CMS

 

 

 

 

ERROR:<err><CR><LF>

 

 

,<ptr>,<type>,<format>,<lang>[,<year,

 

 

 

 

 

 

 

 

 

<month>,<day>,<hour>,<minute>,

 

 

 

 

 

<second>]<CR><text><ctrl-Z/ESC>

 

 

 

 

 

 

 

 

 

 

 

^HCMGW=?

 

 

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

 

 

 

 

 

 

 

8.12.2Interface Description

This command stores a short message to the storage location specified by <mem2> in the +CPMS command. The short message can be saved to the "SM" or "ME".

PDU mode:

Save a message to memory, there are two steps:

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

TE wait for <CR><LF>< greater_than ><space>(IRA 13, 10, 62, 32) from the MTand input the message content that end with<ctrl-Z> (IRA 26).

TEXT mode:

Save a message to memory, there are two steps:

Firstly, ^HCMGW=<oa/da>[,<tooa/toda>],<stat>,<ptr>,<type>,<format>,<lang>

[,<year>,<month>,<day>,<hour>,<minute>,<second>] end with(CR)

TE wait for <CR><LF>< greater_than ><space>(IRA 13, 10, 62, 32) from the MTand input the text content that end with<ctrl-Z> (IRA 26)

8.12.3Parameter Description

<oa/da>: Specifies the number of the sender or recipient of a short message. It is a string with double quotation marks, consisting of a maximum of 20 characters. The value can be 0–9, *, #, and +. The + symbol can only be placed at the beginning of a number.

Issue 01 (2011-08-26)

Huawei Proprietary and Confidential

99

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 99
Image 99
Huawei MC509 HCMGW-Command for Storing a Short Message, Wmsothergeneralproblemsmorelasts, Crlf+Cms, HCMGW=? Crlfokcrlf