
ī
CUSTOMīATīCOMMANDS
ī
HSPA+īATīCommandsīReferenceīGuideī 210
ī
ParametersīandīValuesīforīTextīModeī
<da>ī
Stringītype,īdestinationīaddressīrepresentedīinītheīcurrentlyīselectedīcharacterīset.ī
Seeī+CSCS.ī
<text>ī Textītoīsend.ī
ī Encloseīenteredītextībetweenīdoubleīquotes.īFormatītextīasīfollows:ī
ī Ifīcurrentī<dcs>īindicatesīthatīGSM03.38īdefaultīalphabetīisīusedīandī
currentī<fo>īindicatesīthatī3GPPīTSī23.040īTPāUserāDataāHeaderā
Indicationīisīnotīset,īthenīME/TAīconvertsītheīenteredītextīintoīGSMī
alphabet,īaccordingītoīGSMī27.005,īAnnexīA.īForīmoreīinformationī
aboutī<dcs>īandī<fo>,īseeī+CSMP.ī
ī Ifīcurrentī<dcs>īindicatesīthatī8ābitīorīUCS2īdataīcodingīschemeīisī
usedīorīcurrentī<fo>īindicatesīthatī3GPPīTSī23.040īTPāUserāDataā
HeaderāIndicationīisīset.īForīmoreīinformationīaboutī<dcs>īandī<fo>,ī
seeī+CSMP.īī
EnteredītextīconsistsīofītwoīIRAīcharacterīlongīhexadecimalī
numbersīwhichīME/TAīconvertsīintoī8ābitīoctet.īForīexampleītheī
āasteriskāīisīen
teredīasī2Aī(IRA50īandīIRA65)īandīthisīisīconvertedī
toīanīoctetīwithīintegerīvalueī0x2A.ī
Ifīmessageīisīsuccessfullyīsentītoītheīnetwork,īthenītheīresultīisīsentīinītheīformat:ī
#CMGS:ī<mr>ī
whereī
<mr>īāīmessageīreferenceīnumber;ī3GPPīTSī23.040īTPāMessageāReferenceīinīintegerī
format.ī
Note:īIfīmessageīsendingīfails,īanīerrorīcodeīisīreported.ī
Notesī
ī Toīavoidīmalfunctions,īwaitīforītheī#CMGS:ī<mr>īorī#CMSīERROR:ī<err>īresponseībeforeīissuingīfurtherī
commands.ī
ī Reference:īGSMī27.005.ī
Examplesī
SMSītextīmodeīexampleī
AT+CMGF=1
AT#CMGS=6125553333,"thisīisīmyīmessage"īī
<CR LF>
#CMGS: 2
OK
SMSīPDUīmodeīexampleī
AT+CMGF=0
AT#CMGS=30,07913121139418F011000A9155454433330000AA13C27A1EC47EDF59A06999CD0621D367740
8
<CR LF>
#CMGS: 3
OK
Commenti su questo manuale