Specifications
3GPPTS27.005ATCOMMANDSFORSMSANDCBS
HSPA+ATCommandsReferenceGuide 138
NotesPDU Mode
TheDCDsignalisinONstatewhilePDUisgiven.
TheechoingofgivencharactersbackfromtheTAiscontrolledbyechocommandE.
ThePDUishexadecimalformat(eachoctetofthePDUisgivenastwoIRAcharacterlonghexadecimalnumber)
andgiveninoneline.
WhenthelengthoctetoftheSMSCaddress(giveninthePDU)equalszero,theSMSCaddresssetwithcommand
+CSCAisused;inthiscasetheSMSCType‐of‐AddressoctetisnotpresentinthePDU.
TosendthemessageissueCtrl‐Zchar(0x1Ahex).
ToexitwithoutsendingthemessageissueESCchar(0x1Bhex).
Ifmessageissuccessfullysenttothene
twork,thentheresultissentintheformat:
+CMGS:<mr>
where
<mr>‐messagereferencenumber;3GPPTS23.040TP‐Message‐Referenceinintegerformat.
Ifmessagesendingfailsforsomereason,anerrorcodeisreported.
EnsurenootherSIMinteractingcommandsareissuedduringthecommandexecution,whichmaytakeseveral
seconds.
ParametersandValuesTextMode
<da>
Destinationaddress,stringtyperepresentedinthecurrentlyselectedcharacter
set.See+CSCS.
<toda> Typeofdestinationaddress.
129 Numberinnationalformat.
145 Numberininternationalformat.Containsthe"+".
Aftercommandlineisterminatedwith<CR>,thedevicerespondssendingafour
charactersequenceprompt:
<CR><LF><greater_than><space>(IRA13,10
,62,32)
Afterthisprompttextcanbeentered.Formatthetextasfollows:
Ifcurrent<dcs>(see+CSMP)indicatesthatGSM03.38default
alphabetisusedandcurrent<fo>(see+CSMP)indicatesthat
3GPPTS23.040TP‐User‐Data‐Header‐Indicationisnotset,then
ME/TAconvertstheenteredtextintoGSMalphabet,accordingto
GSM27.005,AnnexA;backspacecanbeusedtodeletelast
characterandcarriagereturnscanbeused
;afterevery<CR>
enteredbytheuserthesequence
<CR><LF><greather_than><space>issenttotheTE.
Ifcurrent<dcs>(see+CSMP)indicatesthat8‐bitorUCS2data
codingschemeisusedorcurrent<fo>(see+CSMP)indicatesthat
3GPPTS23.040TP‐User‐Data‐Header‐Indicationisset.Entered
textconsistsoftwoIRAcharacterlonghexadecimalnumbers
whichME/TAconvertsinto8‐bitoctet(forexampl
ethe‘asterisk’
isenteredas2A(IRA50andIRA65)andthisisconvertedtoan
octetwithintegervalue0x2A)