Specifications
Chapter 11 – GPRS Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 205
11.13 AT+CGSMS Select Service for MO SMS Messages
Description: The test command is used for requesting information on which services and service preferences
can be set by using the AT+CGSMS write command.
The read command returns the currently selected service or service preference.
The write command is used to specify the service or service preference that the MT will use to
send MO SMS messages. If parameter <service> is not given, the current value remains
unchanged.
Syntax: Test Command: AT+CGSMS=?
Response: +CGSMS: (list of supported <service>s)
OK
Read Command: AT+CGSMS?
Response: +CGSMS: <service>
OK
Write Command: AT+CGSMS=[<service>]
Response: OK
ERROR
+CME ERROR: <err>
Parameter:
<service>
A numeric parameter which indicates the service or service preference to be used. The parameter is global for all
interfaces and is volatile.
0 GPRS
1 Circuit switched
2 GPRS preferred (use circuit-switched SMS transfer if GPRS SMS transfer is not possible;
for example, when the mobile is not GPRS attached or the network does not support SMS
over GPRS).
3 Circuit switched preferred (use GPRS if circuit switched is not available). Default (This is
the factory default value; it will be restored to '3' with AT&F. It is also a powerup default
which is not stored at power down).
Notes:
• Sending SMS via GPRS is only possible when mobile is attached using AT+CGATT.
• This command is PIN protected.
• This command is supported in airplane mode.