Specifications

3GPPTS27.005ATCOMMANDSFORSMSANDCBS
HSPA+ATCommandsReferenceGuide 140
ParametersandValuesPDUMode
<length> LengthinbytesofthePDUtobewritten.
7164
<stat> Messagestatus.
0
Newmessage.Receivedunreadmessage.DefaultforDELIVERmessages(3GPP
TS23.040SMSDELIVERmessages)
1 Readmessage
2
Storedmessagenotyetsent.DefaultforSUBMITmessages(3GPPTS23.040
SMSSUBMITmessages).
3 Storedmessagealreadysent.
Thedevicerespondstoth
ecommandwiththeprompt'>'andwaitsforthe
specifiednumberofbytes.
TowritethemessageissueCtrlZchar(0x1Ahex).
ToexitwithoutwritingthemessageissueESCchar(0x1Bhex).
Ifmessageissuccessfullywritteninmemory,theres
ultissentintheformat:
+CMGW:<index>
where:
<index>‐messagelocationindexinthememory<memw>.
Ifmessagestoringfailsforsomereason,anerrorcodeisreported.
Note:EnsurethatnootherSIMinteractingcommandsareissuedduringthe
commandexecution.
Note:InPDUmode,notonlySUBMITmes
sagescanbestoredinSIM,butalso
DELIVERandSTATUSREPORTmessages(3GPPTS23.040SMSSTATUSREPORT
messages).SUBMITmessagescanonlybestoredwithstatus2or3;DELIVER
andSTATUSREPORTmessagescanonlybestoredwithstatus0or1.
ParametersandValuesTextMode
<da>
Destinationaddress,stringtyperepresentedinthecurrentlyselectedcharacter
set.See+CSCS.
<toda> typeofdestinationaddress.
129 Numberinnationalformat.
145 Numberininternationalformat.Containsthe"+".
<stat> Messagestatus.
"REC
UNREAD"
Newreceivedmessageunread.DefaultforDELIVERmessages.
"RECREAD" Receivedmessageread
"STO
UNSENT"
Messagestorednotye
tsent.DefaultforSUBMITmessages.
"STOSENT" Messagestoredalreadysent.