Short message-related instruction
Short message-related instruction
CSMS
Select information service
0 compatible GSM07.05 Phase 2 Version 4.7.0
1 Compatible with GSM07.05 Phase 2 Version
AT CSMS = 0
CSMS: 1, 1, 1
AT CSMS = 1
CSMS: 1, 1, 1
SMS-Mo
SMS-MT
SMS-CB (Community Broadcast)
All support
CNMA
New SMS receives confirmation
CPMS
Preferred SMS storage area
SM is the SIM card area, BM is the memory area, default is SM
AT CPMS =?
CPMS: (("SM", "BM"), ("SM"))
AT CPMS = "SM" CPMS: 3, 25, 3, 25
AT CPMS = "BM" CPMS: 0, 20, 3, 25
(1) Information for reading and deletion
(2) Information for writing and sending
Use 1, total 1, has been used 2, total 2
Cmgf
Set SMS coding mode (1 text format, 0 is PDU format)
CSAS
Store CSCA and CSMP related information on E2PROM
Cres
Restore relevant information from E2PROM
CSDH
Display text format parameters (1 is displayed, 0 is not displayed)
AT CDSH = 1
CMT: " 8613501154105", "01/09 / 12, 18: 04: 09 32", 145, 4, 0, 0, " 8613800100500", 145, 3
AAA
AT CSDH = 0
CMT: " 8613501154105", "01/09/12, 18: 04: 48 32"
AAA
Related information with CMTI, CMT, CDS, CMGR, CMGL
Two examples of the left are also SMSs that send and receive AAA as content.
CNMI
SMS output method
AT CNMI = 2, 2, 0, 0, 0
CMT: " 8613501154105", "01/09 / 13, 11: 04: 09 32"
AAA
AT CNMI = 2, 1, 0, 0, 0
CMTI: "SM", 4
The second bit determines whether the SMS direct output is still stored in "SM"
The two examples of the left are also SMS that transmits and receives AAA as content, and does not receive
CMGR
Read the information stored in "SM"
AT CMGR = 1 CMGR: "Rec Read", " 8613501154102", "01/08/14, 10: 46: 47 32"
X000E8
AT CMGR = 4 CMGR: "Rec unread", " 8613501154105", "01/09/13, 11: 02: 06 32"
AAA
AT CMGR = 2 CMGR: "Rec Read", " 8613501154105", "01/08 / 23, 16: 32: 34 32"
DCS Format Error
AT cmgf = 0; cmgr = 2 cmgr: 1,, 26
0891683108100005F0040D91683105114501F500081080326123432306004400460044
Read article 1
Source 13501154102
Read article 4
Source 13501154105
Read the DCS format error after reading the 2nd, and then read the data after transferring into a PDU format.
Source 13501154105
Cmgl
Information list, ( cmgl: index, type, length
AT cmgl = 4 cmgl: 1, 1,, 26
0891683108100005f0040d91683105114501f20000108041016474230658180C56C401
CMGL: 2, 1, 26
0891683108100005F0040D91683105114501F500081080326123432306004400460044
CMGL: 3, 1,, 32
0891683108100005F0040D91683105114501F50008108032617492230C0034003100320031003200333
Cmgl: 4, 1,, 23
0891683108100005F0040D91683105114501F500001090311120602303C16010
Types of
"Rec unread" 0
"Rec Read" 1
"STO unsent" 2
"STO SENT" 3
"All" 4
Cmgs
Send SMS, you can follow text or PDU
AT cmgf = 1 ok
AT cmgs = 13501154105> AAA <^ z>
Cmgs: 204
OK
AT cmgf = 0 ok
AT cmgs = 18
> 0011000D91683105114501F500040103414141 <^ z>
Cmgs: 205
OK
Send according to text
Send according to PDU
CMGW
Write information to memory
AT CMGW = " 8613501154105"> AAA <^ z>
CMGW: 5
OK
AT CMGW =
Write according to text
Write according to PDU mode
CMSS
Send information from memory
AT CMSS = 5 CMSS: 207
OK
CMT:, 23
0891683108100005F0040D91683105114501F500001090316163932303C16010
AT CMSS = 5, 8613501154102 CMSS: 210
OK
Sending Article 5 in the memory
Receive information
You can also send the 5th information to the designated user.
CSMP
Set text format parameters, CSMP:
AT CSMP?
CSMP: 1,167,0,0
OK
Where
0-143: (VP 1) * 5 minutes 143-167: 12 hours (VP-143) * 30 minutes
168-196: (VP-166) * 1 day
197-255: (VP-192) * 1 week
CMGD
Delete information, AT CMGD =
CSCA
Short message service center number
AT CSCA?
CSCA: " 8613800100500", 145
OK
Beijing Short Message Service Center Number
CSCB
Select cell broadcast information type
WCBM
Community broadcast information identifier
WMSC
Information status correction
WMGO
Information rewriting