Synaccess-networks NP-0801DTM Uživatelský manuál Strana 211

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 210
CUSTOMATCOMMANDS
211 HSPA+ATCommandsReferenceGuide
WriteMessagetoMemory#CMGW
ForbothPDUmodeandtextmode,Executecommandwritesanewmessageinthe<memw>memorystorage.
TestcommandreturnstheOKresultcode.
Syntax
Command Commandtype
AT#CMGW=<length>,<pdu> Execute,PDUmode
AT#CMGW=<da>,<text> Execute,Textmode
AT#CMGW=? Test
ParametersandValuesforPDUMode
<length> lengthinbytesofthePDUtobewritten.
7164
<pdu>
PDUinhexadecimalformat(eachoctetofthePDUisgivenastwoIRAcharacter
longhexadecimalnumber)andgiveninoneline.
Ifmessageissuccessfullywritteninthememory,thentheresultissentinthe
format:
#CMGW:<index>
where:
<index>‐mess
agelocationindexinthememory<memw>.
Ifmessagestoringfailsforsomereason,anerrorcodeisreported.
ParametersandValuesforTextMode
<da>
Stringtype,destinationaddressrepresentedinthecurrentlyselectedcharacter
set.See+CSCS.
7164
<text>
Texttowrite.Encloseenteredtextbetweendoublequotes.Formattextas
follows:
Ifcurrent<dcs>indicatesthatGSM03.38defaultalphabetisused
andcurrent<fo>indicatesthat3GPPTS23.040TPUserData
HeaderIndicationisnotset,thenME/TAconvertstheentered
textintoGSMalphabet,accordingtoGSM27.005,AnnexA.For
moreinformationabout<dcs>and<fo>,see+CSMP.
Ifcurrent<dcs>indicatesthat8bitorUCS2datacodingschemeis
usedorcurrent<fo>indicatesthat3GPPTS23.040TPUserData
HeaderIndicationisset.Formoreinformationabout<dcs>and
<fo>,see+CSMP.
EnteredtextconsistsoftwoIRAcharacterlonghexadecimal
numberswhichME/TAconvertsinto8bitoctet.Forexample
the‘asterisk’isenter
edas2A(IRA50andIRA65)andthisis
convertedtoanoctetwithintegervalue0x2A.
Ifmessageissuccessfullywritteninmemory,theresultissentintheformat:
#CMGW:<index>
where:
<index>‐messagelocationindexinthememory<memw>.
Ifmessagestoringfailsforsomereason,anerrorcodeisreported.
Zobrazit stránku 210
1 2 ... 206 207 208 209 210 211 212 213 214 215 216 ... 329 330

Komentáře k této Příručce

Žádné komentáře