Rainbow Electronics MG260 User Manual

Page 143

Advertising
background image

FLYFOT-MG260-MODULE

Page: 143 / 246

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

15 V24-V25 commands

15.1 Fixed DTE rate +IPR

Description:

This command specifies the data rate at which the DCE will accept commands.
Notes :

z

Autobauding is supported (operating from 1200 to 38400 baud).

z

Any AT command issued by the DTE must start with both capital ‘A’ and ‘T’ (or ‘/’) or both lower
case ‘a’ and ‘t’ (or ‘/’), otherwise the DCE may return some garbage characters and become
desynchronized. Should this happen, the DTE simply issues ‘AT\r’ (at 2400 or 4800 bauds) once
or twice or just ‘AT’ (at 9600 bauds) to resynchronize the modem.

z

The DTE waits for 1ms after receiving the last character of the AT response (which is always ‘\n’
or 0x0A) to send a new AT command at either the same rate or a new rate. Should this delay be
ignored, the DCE can become desynchronised. Once again, sending ’AT\r’ once or twice or just
‘AT’ causes the DCE to recover.


Caution:

when starting up, if autobauding is enabled and no AT command has yet been received, the product

sends all unsolicited responses (like RING) at 9600 bauds.

Syntax:

Command syntax : AT+IPR=<n> or AT+IPR=<m>
Command

Possible responses

AT+IPR?
Note :

+IPR: 9600
OK
Note : Current rate is 9600 bps

AT+IPR=?
Note :

+IPR:
(300,600,1200,2400,4800,9600,14400,19200,
3 8400,57600),(115200) OK
Note : Possible value (*)

AT+IPR=38400
Note :

OK
Note : Disable autobauding and set rate to
38400 bps

AT+IPR=0
Note :

OK
Note : Enable autobauding

Advertising