CUSTOMATCOMMANDS
209 HSPA+ATCommandsReferenceGuide
if<paramType>=1,<para m>indicatestheADCpinnumber;supportedrangeisfrom1toavaluethat
dependsonthehardware.Default:1.
if<paramType>=2,<para m>indicatestheADCHighvoltagethresholdintherange0–2000mV.Default:0.
if<paramType>=3,<para
m>indicatesthetimeintervalinsecondsafterthattheselectedADCpinabove
thevaluespecifiedwith<paramType>=1causestheevent.Therangeis0–255.Default:0.
If<label>isADCL1,<paramType>canassumevaluesintherange0‐3.
If<paramType>=1,<param>indicatestheADCpinnumber;supportedrangeisfrom1toavaluethat
dependsonthehardware.Default:1.
If<paramType>=2,<param>indicatestheADCLowvoltagethresholdinth
erange0–2000mV.Default:0.
If<paramType>=3,<param>indicatesthetimeintervalinsecondsafterthattheselectedADCpinunder
thevaluespecifiedwith<paramType>=1causestheevent.Therangeis0–255.Default:0.
If<label>isDTMFX,<paramType>canassumevaluesintherange0‐2.
If<paramType>=1,<param>indicatestheDTMFstring;thesingleDTMFcharactershavetobelongtothe
range((0‐9),#,*,(A‐D));themaximumnumberofcharactersinthestringis15
If<paramType>=2,<para
m>indicatesthetimeoutinmilliseconds.Itisthemaximumtimeintervalwithin
whichaDTMFtonemustbedetectedafterdetectingthepreviousone,tobeconsideredasbelongingtothe
DTMFstring.Therangeis(500–5000).Default:1000.
Notes
DTMFstringmonitoring is availableonlyiftheDTMFdecodeisenabled.See#DTMFcom mand.
SendMessage#CMGS
ForbothTextmodeandPDUmode,Executecommandsendsamessagetothenetwork.
TestcommandreturnstheOKresultcode.
Syntax
Command Commandtype
AT#CMGS=<length>,<pdu> Execute.PDUmode.
AT#CMGS=<da>,<text> Execute.Textmode.
AT#CMGS=? Test
ParametersandValuesforPDUMode
<length> LengthofthePDUtobesentinbytes,excludingtheSMSCaddressoctets.
7‐164
<pdu>
PDUinhexadecimalformat—eachoctetofthePDUisgivenastwoIRAcharacter
longhexadecimalnumber—andgiveninoneline.
Note:WhenthelengthoctetoftheSMSCaddress(giveninthe<p
du>)equalszero,
theSMSCaddresssetwithcommand+CSCAisused;inthiscasetheSMSCType‐of‐
Addressoctetisnotpresentinthe<pdu>.
Ifmessageissuccessfullysenttothenetwork,thentheresultissentintheformat:
#CMGS:<mr>
where
<mr>‐messagereferencenumber;3GPPTS23.
040TP‐Message‐Referenceininteger
format.
Note:Ifmessagesendingfailsforsomereason,anerrorcodeisreported.
Commentaires sur ces manuels