3GPPTS27.005ATCOMMANDSFORSMSANDCBS
131 HSPA+ATCommandsReferenceGuide
Syntax
Command Commandtype
AT+CNMA Execute
AT+CNMA[=<n>[,<length>[<CR>PDUisgiven<ctrl‐Z/ESC]]] Execute
PDUmode
AT+CNMA Execute
Testmode
AT+CNMA=? Test
PDUmode
AT+CNMA=? Test
Textmode
ParametersandValues
<n> ForPDUmode,typeofacknowledgement.
0 SendRP‐ACKwithoutPDU(sameasTEXTmode).
1 SendRP‐ACKwithoptionalPDUmessage.
2 SendRP‐ERRORwithoptionalPDUmessage.
<length> LengthofthePDUmessage.
Notes
IfadirectlyroutedmessagemustbebufferedinME/TA(possiblewhen+CNMIparameter<mode>equals0or2)
orATinterpreterremainstoolonginastatewhereresultcodescannotbesenttoTE(forexampleuseris
enteringamessageusing+CMGS),acknowledgement(RP‐ACK)issenttothenet
workwithoutwaiting+CNMA
commandfromTE.
Youmayneedtoresolveanincoherenceproblem,duetothefactthatitispossibletohavecontemporan eous
differentsettingsofparameter<mt>and<ds>ofthe+CNMIcommandindifferentsessions.See#PORTCFGand
+CMUX.Onlythe<mt>and<ds>settingforsession“0”areconsideredasvalidtodeci
deif+CNMA
acknowledgmentisexpectedornot.
Reference3GPPTS27.005.
Examples
(PDUMode)
AT+CSMS=1
+CSMS: 1,1,1
OK
Set PDU mode.
AT+CMGF=0
OK
AT+CNMI=2,2,0,0,0
OK
Commentaires sur ces manuels