Moxa Technologies G2150I manual Select Service for MO SMS Messages +CGSMS, 10-10

Models: G2150I

1 131
Download 131 pages 36.25 Kb
Page 101
Image 101

OnCell G2150I AT Command Set

GPRS Commands

 

 

 

 

AT+CGCLASS=?

+CGCLASS: (“CG”,”CC”)

 

 

OK

 

AT+CGCLASS?

+CGCLASS: “CC”

 

 

OK

Defined values:

<class>: a string parameter that indicates the GPRS mobile class (in descending order of functionality)

A class A (highest)

B class B

CG class C in GPRS only mode

CC class C in circuit switched only mode (lowest)

Other values are reserved and will result in an ERROR response to the set command. If the MT is GPRS attached when the set command is issued with a <class> = CC specified, a GPRS detach request is sent to the network. If the MT is GSM attached when the set command is issued with a <class> = CG specified, a GSM detach request is sent to the network.

Class A is not supported by G2150I GPRS software.

Remark: During switch-On in CG class, the MS always performs an automatic GPRS attach (the ATTACH-STATUS parameter of +WGPRS is ignored). But, if the MS is not already GPRS attached when switching from B/CC class to CG class then no automatic GPRS attach is performed.

Example about automatic attachment (see remark above):

AT+CGCLASS? +CGCLASS: “B” OK AT+CGATT? +CGATT: 0

OK AT+CGCLASS=“CG” OK AT+CGATT?

+CGATT: 0

OK AT+CGATT=1

OK AT+CPOF OK AT+CFUN=1

OK AT+CGCLASS? +CGCLASS: “CG” OK AT+CGATT? +CGATT: 1

OK

Select Service for MO SMS Messages: +CGSMS

Description: The set command is used to specify the service or service preference that the MT will use to send MO SMS messages. The read command returns the currently selected service or service preference. The test command is used for requesting information on the currently available services and service preferences.

Command syntax:

10-10

Page 101
Image 101
Moxa Technologies G2150I Select Service for MO SMS Messages +CGSMS, At+Cgclass=? +Cgclass Cg,Cc At+Cgclass? +Cgclass Cc