Motorola G24 Manuale Utente

Pagina di 642
SMS
3-104
 AT Commands Reference Manual
December  31, 2007
+CSMP, Set Text Mode Parameters
This command is a basic command and is used to select values for additional parameters needed 
when SM is sent to the network or placed in storage when TEXT mode is selected.
The following table shows the +CSMP parameters.
Command 
Type
Syntax
Response/Action
Remarks
Set
+CSMP=[<fo>[,<vp>
[,<pid>[,<dcs>]]]]
OK
or:
+CMS ERROR: <err>
The set command selects values for 
additional parameters needed when SM is 
sent to the network or placed in storage 
when text format message mode is 
selected.
Read
AT+CSMP?
+CSMP: 
<fo>,<vp>,<pid>,<dcs>
OK
or:
+CMS ERROR: <err>
The read command returns the current 
parameters value.
Test
AT+ CSMP =?
OK
or:
+CMS ERROR: <err>
The test command just returns OK.
Table 3-56: +CSMP Parameters
<Parameter>
Description
<fo>
first octet of GSM 03.40. in integer format. For details see +CMGW definitions.
The default value at power-up is 17 (Message type is: SMS-SUBMIT and relative VP 
format).
<vp>
Validity Period. depending on SMS-SUBMIT <fo>, TP-Validity-Period-Format bits 
setting. Either in integer format (see 
) or in time-string format 
("yy/MM/dd,hh:mm:ss±zz").
If there is no correlation between the VPF and the VP value. an error message will be 
returned.