GSM Module
2.5
Message Service Command
2.5.1
+CSCA: SMS center number
Description
This command is used to set SMS center number.
Format AT+CSCA=<sca>[,<tosca>]
Example AT+CSCA="+861380****500"
OK
AT+CSCA?
+CSCA: "8613800755500", 145
OK
Set SMS center number
Check SMS center number
Parameters
<sca>
:
SMS center address
<tosca>: SMS center format
2.5.2
+CNMA: message acknowledgement
Description
This command is used for message acknowledgement.
Format AT+CNMA
Example at+cnmi=2,2,0,0,0
OK
at+csms=1
+CSMS: 1,1,1
OK
+CMT:,60
…………
AT+CNMA
OK
Set message indication format
Set message service format
Message acknowledgement
Parameters
Valid when CNMI=2,2,0,0,0 and +CSMS=1,1,1,1
2.5.3
+CMGF: SMS mode
Description
This command is used to set SMS input method.
Format AT+CMGF=<num>
Example AT+CMGF=1
OK
AT+CMGF?
+CMGF
:
1
AT+CMGF=?
+CMGF=(0-1)
OK
Set the text mode
Check current input method
Current settings as text mode
Check current setting range
Parameters
0
:
PDU mode
1
:
Text mode
31