![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/6/e3/6e35dc88-09f5-4506-bfb8-8724554a1fd5/6e35dc88-09f5-4506-bfb8-8724554a1fd5-bgad.png)
Chapter 3: AT Commands Reference
April 15, 2008 G24-L AT Commands Reference Manual 3-109
+CGSMS, Select Service for MO SMS Messages
This command handles the selection of the service or service preference used by the G24-L to
send mobile-originated SMS messages.
Note: This command is network dependent, which means that the network must support SMS
over GPRS.
The following table shows the +CGSMS parameters.
Example
AT+CGSMS=?
CGSMS:(0-3)
OK
AT+CGSMS?
CGSMS: 1
OK
Command
Type
Syntax Response/Action Remarks
Set
+CGSMS=[<service>] OK
+CME ERROR: <err>
The Set command selects the service
or service preference used to send
SMS messages. The value that is set is
not retained after a power cycle.
Read
+CGSMS? +CGSMS: <service>
+CME ERROR: <err>
The Read command displays the
current SMS service preference
setting.
Test
+CGSMS=? +CGSMS: (list of
currently available
<service>s)
+CME ERROR: <err>
The Test command displays a list of
currently available <service>s on the
network.
Table 3-69: +CGSMS Parameters
<Parameter> Description
<service> Indicates the service or service preference to be used.
0GPRS
1 Circuit switched (default)
2 GPRS preferred (use circuit switched if GPRS is not available)
3 Circuit switched preferred (use GPRS if circuit switched is not available)
Other values are reserved and will result in an ERROR response to the Set command.