Specifications
3GPPTS27.005ATCOMMANDSFORSMSANDCBS
HSPA+ATCommandsReferenceGuide 140
ParametersandValuesPDUMode
<length> LengthinbytesofthePDUtobewritten.
7‐164
<stat> Messagestatus.
0
Newmessage.Receivedunreadmessage.DefaultforDELIVERmessages(3GPP
TS23.040SMS‐DELIVERmessages)
1 Readmessage
2
Storedmessagenotyetsent.DefaultforSUBMITmessages(3GPPTS23.040
SMS‐SUBMITmessages).
3 Storedmessagealreadysent.
Thedevicerespondstoth
ecommandwiththeprompt'>'andwaitsforthe
specifiednumberofbytes.
TowritethemessageissueCtrl‐Zchar(0x1Ahex).
ToexitwithoutwritingthemessageissueESCchar(0x1Bhex).
Ifmessageissuccessfullywritteninmemory,theres
ultissentintheformat:
+CMGW:<index>
where:
<index>‐messagelocationindexinthememory<memw>.
Ifmessagestoringfailsforsomereason,anerrorcodeisreported.
Note:EnsurethatnootherSIMinteractingcommandsareissuedduringthe
commandexecution.
Note:InPDUmode,notonlySUBMITmes
sagescanbestoredinSIM,butalso
DELIVERandSTATUSREPORTmessages(3GPPTS23.040SMS‐STATUS‐REPORT
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.