beautypg.com

V24-v25 commands – Westermo GD-01 User Manual

Page 115

background image

115

6196-2220

V24-V25 commands

+IPR – Fixed DTE rate

Description:

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

Syntax:

AT+IPR

Command example

Possible responses

Note

AT+IPR?

+IPR: 9600

Current rate is 9600 bps

OK

AT+IPR=?

+IPR: (0,2400,4800,

Possible value (*)

9600,19200),
(300,600,1200,38400,
57600,115200)

OK

AT+IPR=38400

OK

Disable autobauding and
set rate to 38400 bps

AT+IPR=0 OK

Enable

autobauding

(*) the first set of values indicates the range of auto-detectable speeds.

The second set of values indicates all possible speeds that can be used by the DCE.
Autobauding is supported (operating from 1200 to 38400 baud). However some con-
straints have to be taken into account: any AT command issued by the DTE must start
with a capital ‘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 re-synchronize the modem.
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 de-synchronised. 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.

B A C K