beautypg.com

Rainbow Electronics MG260 User Manual

Page 157

background image

FLYFOT-MG260-MODULE

Page: 157 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

16 Data commands

16.1 Using AT Commands during a data connection

To use AT Commands during a data connection (e.g. while the product is in online mode), it is necessary
either to switch to offline mode, or to use the specific +WMUX command to enable Commands / Data
multiplexing.

Switch from online to offline mode

To switch from online mode to offline mode, the “+++” sequence must be sent. Following this, the product
gets back to offline mode with an “OK” response, and a AT command can be sent.
Note : the “+++” sequence will only work with the +ICF command using one of the following settings:

z

8 data bits, with no parity

z

7 data bits, with even parity

Switch from offline to online mode

See the ATO command description.

16.2 Bearer type selection +CBST

Description :

This command applies to both outgoing and incoming data calls, but in a different way. For an outgoing
call, the two parameters (e.g. and ) are meaningful, whereas for an incoming call, only the

parameter is used.
Note 1) For incoming calls, if is set to ‘T’ only and the network offers only ‘NT’ or vice versa, then
the call is released.
Note 2) Values 2 and 3 for parameter are equivalent to former values 100 and 101. Those values are
managed for compatibility purpose, but they shouldn’t be used in new code (2 as former 100, and 3 as
former 101).

Syntax :

Command syntax: AT+CBST= , ,
Command

Possible responses

AT+CBST=?
Note : Test command

+CBST: (7,71),(0),(1)
OK
Note : Data 14,4 kbps not supported

AT+CBST=?
Note : Test command

+CBST: (7,71),(0),(1)
OK
Note : Data 14,4 kbps supported

AT+CBST=7,0,1

OK