CAI JINYONG
2018-3-30
CHONGHAN CH-M4 WIRELESS MODEM USER MANUAL
页
14
OK
// Return value
+CREC: 2,1,0,5,7270
// Value representation: command, first,
audio format, time, content length
AT+CREC=3,1<CR>
// Delete the recording. Value
representation: command, first
OK
// Return value
AT+CREC=4,1,0,80<CR>
// Play the tape. Value representation:
command, first, audio format, volume
OK
// Return value
AT+CREC=5<CR>
// Stop playing
+CREC: 0
// Return value
OK
// Return value
AT+CREC=7<CR>
// Audio list
+CREC: 7,1,7846,0
// First
+CREC: 7,2,16230,0
// Second
OK
// Return value
9.
SMS Function
9.1.
GSM/GPRS SMS Function
The follow section fit for : GSM/GPRS/LTE series modem.
9.1.1.
GSM/GPRS Message Relate
Command
AT+CMGF=1<CR>
// setting ASCII mode
AT+CMGL="ALL"<CR>
// query the SMS list
AT+CMGR=N<CR>
// read the SMS, location value is n
AT+CMGD=N<CR>
// delete the SMS, location value is n
9.1.2.
GSM/GPRS Query SMS Center
AT+CSCA?<CR>
// query the SMS center number which auto get
from network
+CSCA : "+8613800755500" , 145
OK
9.1.3.
GSM/GPRS ASCII Message
AT+CSCS="GSM"<CR>
// setting SMS character set
OK
AT+CMGF=1<CR>
// setting SMS format
OK
AT+CMGS="13691978232"<CR>
// destination number
> www.szchonghan.com
→
// message by ASCII sets, terminate character
"
→
" means CTRL+Z(0X1A)
+CMGS
:
xxx
// message stamp
OK