OnCell G2150I AT Command Set

V24-V25 Commands

Fixed DTE Rate: +IPR

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

yThe serial autobauding feature is supported, and covers the following serial speeds (only): 2400, 4800, 9600, 19200, 38400, 57600 bps. Beyond those serial speeds, proper operation of the G2150I is not guaranteed.

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

yThe DTE waits for 1 ms 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 desynchronized. 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 baud.

Command syntax:

AT+IPR=<rate>

 

 

 

Command

 

Possible responses

AT+IPR?

 

+IPR: 9600

 

 

OK

 

 

Note: Current rate is 9600 bps

AT+IPR=?

 

+IPR: (0, 2400, 4800, 9600, 19200, 38400, 57600), (300,

 

 

600, 1200, 115200)

 

 

OK

 

 

Note: Possible values, according to V25ter

 

 

Recommendation: the first set of values indicates the range of

 

 

auto-detectable baud rates (including 0). The second set of

 

 

values indicates the baud rates supported by the DCE but not

 

 

auto-detectable.

AT+IPR=38400

 

OK

 

 

Note: Disable autobauding and set rate to 38400 bps

AT+IPR=0

 

OK

 

 

Note: Enable autobauding

Defined values: <rate>: baud rates that can be used by the DCE

0 (enables autobauding)

300

600

1200

2400

4800

9600

19200

38400

57600

115200

9-2

Page 83
Image 83
Moxa Technologies manual Fixed DTE Rate +IPR, OnCell G2150I AT Command Set V24-V25 Commands, Auto-detectable