Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3-111
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.
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+CS DH= 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+CM GF= 0
OK
Table 3-61:+CMT Parameters
<Parameter> Description
<oa> Message origination address.
<scts> Service center time stamp.
<toda> Type of origination address
<fo> First octet of the SM
<pid> Protocol Identifier
<dcs> Data Coding Scheme
<sca> Service Center Address
<tosca> Type of Service Center Address
<data> Message contents.
<alpha> Alpha ID of message.
<length> In PDU mode: Size of message, in octets, excluding SMSC data.
In TEXT mode: number of characters included in the <data>
<pdu> Message header and contents in PDU mode format. See description in “+CMGR,
+MMGR, Read Message” on page 3-118.