Specifications
CUSTOMATCOMMANDS
209 ATCommandsforHSPA‐H5Modems
if<paramType>=1,<param>indicatestheADCpinnumber;supportedrangeisfrom1toavaluethat
dependsonthehardware.Default:1.
if<paramType>=2,<param>indicatestheADCHighvoltagethresholdintherange0–2000mV.Default:0.
if<paramType>
=3,<param>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>indicatestheADCLowvoltage
thresholdintherange0 –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,
<param>indicatesthetimeoutinmilliseconds.Itisthemaximumtimeintervalwithin
whichaDTMFtonemustbedetectedafterdetectingtheprevious one,tobeconsideredasbelongingtothe
DTMFstring.Therangeis(500–5000).Default:1000.
Notes
DTMFstringmonitoringis 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(givenin
the<pdu>)equalszero,
theSMSCaddresssetwithcommand+CSCAisused;inthiscasetheSMSCType‐of‐
Addressoctetisnotpresentinthe<pdu>.
Ifmessageissuccessfullysenttothenetwork,thentheresultissentintheformat:
#CMGS:<mr>
where
<mr>‐messagereference
number;3GPPTS23.040TP‐Message‐Referenceininteger
format.
Note:Ifmessagesendingfailsforsomereason,anerrorcodeisreported.