Chapter 3: AT Commands Reference

+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.

 

 

 

 

Command

Syntax

Response/Action

Remarks

Type

 

 

 

 

 

 

 

 

 

 

 

Set

+CGSMS=[<service>]

OK

The Set command selects the service

 

 

+CME ERROR: <err>

or service preference used to send

 

 

 

SMS messages. The value that is set is

 

 

 

not retained after a power cycle.

 

 

 

 

Read

+CGSMS?

+CGSMS: <service>

The Read command displays the

 

 

+CME ERROR: <err>

current SMS service preference

 

 

 

setting.

Test

+CGSMS=?

+CGSMS: (list of

The Test command displays a list of

 

 

currently available

currently available <service>s on the

 

 

<service>s)

network.

 

 

+CME ERROR: <err>

 

 

 

 

 

 

 

 

 

The following table shows the +CGSMS parameters.

 

 

 

Table 3-69: +CGSMS Parameters

 

 

 

 

 

 

 

 

 

 

 

 

<Parameter>

 

Description

 

 

 

 

 

 

 

 

 

 

<service>

Indicates the service or service preference to be used.

 

 

 

0

GPRS

 

 

 

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.

Example

AT+CGSMS=?

CGSMS:(0-3)

OK

AT+CGSMS?

CGSMS: 1

OK

April 15, 2008

G24-L AT Commands Reference Manual

3-109

Page 173
Image 173
PIONEERPOS G24-LC manual +CGSMS, Select Service for MO SMS Messages, 69 +CGSMS Parameters