Справочник Пользователя для Motorola G24

Скачать
Страница из 642
SMS
3-144
 AT Commands Reference Manual
December  31, 2007
+CMGS: 11
OK   // RI is asserted for 1.5 seconds
// The next example assumes SMS storage is full
AT+CMGF=1  // switching to text mode
OK
AT+CPMS?
+CPMS: "MT",20,76,"ME",0,56,"SM",20,20
OK
AT+MRICS=1
OK
AT+CNMI=,2
OK
AT+CNMI?
+CNMI: 0,2,0,0,0 // mt = 2
OK
AT+CMGS="0544565199"
>hi <ctr+z>
+CMGS: 12
OK
+CMT: "+972544565199",,"07/04/25,12:34:06+08"
hi
// RI is asserted for 1.5 seconds
// The next example show alerting on status report SMS
AT+CMGF=1// text mode
OK
AT+CSMP=49
OK
AT+MRICS=2 // configure to status report
OK
AT+CMGS="0522123456"// just a phone number
>hi <ctr+z>
+CMGS: 13
OK // after status report has been received, RI is asserted for 1.5 seconds
DCS handling
Sending or Storing SM
When sending or storing SM in TEXT mode, only the specified <dcs>s in 
, +CSMP command definitions, will be supported. Handling will be as shown in 
.