Motorola G24 Guide Developer's Manual page 195

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

In text mode: (+CMGF=1):
+CMT: <oa>,<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>] <CR><LF><data>
(about parameters in italics, refer command Show Text Mode Parameters +CSDH).
In PDU mode: (+CMGF=0):
+CMT: [<alpha>],<length><CR><LF><pdu>
The following table shows the +CMT parameters.
<Parameter>
<oa>
<scts>
<toda>
<fo>
<pid>
<dcs>
<sca>
<tosca>
<data>
<alpha>
<length>
<pdu>
After sending a +CMT unsolicited response to the TE, the G24 will expect a +CNMA (new
message acknowledgement) from the TE within a predefined timeout of 60 seconds. The G24
will not send another +CMT unsolicited response to the TE before the previous one is
acknowledged. If the +CMT is acknowledged within the timeout, the new SM is not saved in the
message storage. If the +CMT is not acknowledged and the timeout has expired, the new SM is
saved in the message storage and +CNMI parameter <mt> is set to 0.
Example
AT+CNMI=,2
OK
AT+CSDH=1
OK
AT+CMSS=142,"054565034" // send to myself
+CMSS: 74
OK
+CMT: "+972544565034",,"04/11/04,09:48:36+08",145,4,0,0,"+97254120032",145,3
ABC
AT+CNMA
OK
AT+CMGF=0
OK
December 31, 2007
Table 3-61: +CMT Parameters
Message origination address.
Service center time stamp.
Type of origination address
First octet of the SM
Protocol Identifier
Data Coding Scheme
Service Center Address
Type of Service Center Address
Message contents.
Alpha ID of message.
In PDU mode: Size of message, in octets, excluding SMSC data.
In TEXT mode: number of characters included in the <data>
Message header and contents in PDU mode format. See description in
+MMGR, Read Message" on page
AT Commands Reference Manual
Chapter 3: AT Commands Reference
Description
3-118.
"+CMGR,
3-111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents