> 4.9 | AT+IPR Set Bitrate of local Asynchronous Serial Interface

> AT+IPR allows to query and set the bitrate of the local asynchronous serial interfaces between TC65 and TA.
> The test command returns the values of supported automatically detectable bitrates and the values of the supported fixed bitrates.
> The read command returns the current bitrate of the interface.
> The write command specifies the bitrate to be used for the interface. Delivery bitrate value (<rate>) is 115200bps on ASC0 and 115200bps on ASC1. This will not be restored with AT&F. If you set a fixed rate, make sure that both TC65 and TA are configured to the same rate. A selected bitrate takes effect after the write commands returns OK, and the setting is stored in non-volatile memory. Using a minimum bitrate of 9600 bps is recommended. The current setting of AT+IPR will be preserved when you download firmware (i.e. a firmware update does not restore the factory setting) or in the event of power failure.
> However, in case of autobaud mode (AT+IPR=0) the detected TA bitrate will not be saved and, therefore, needs to be resynchronized after any restart of the ME (for details refer Section 4.9.1, Autobauding).
> In Multiplex mode the write command will not change the bitrate currently used, but the new bitrate will be stored and becomes active, when the module is restarted.
> If Java is running, the firmware will ignore any settings made with AT+IPR. Responses to the read, write or test command will be invalid or deliver "ERROR". Also refer "TC65 Java User's Guide" [4], Section "Configuring serial interface".
> Generally, AT+IPR should be used as a standalone command. If nevertheless combinations with other commands on the same command line cannot be avoided, there are several constraints to be considered:

> • | Avoid combinations with the AT commands listed in Section 1.4.2, Combining AT commands on the same command line.

> • | Take into account, that a pause of 100ms is required between the response to the last command (e.g. OK) and the next command.

> • | If local echo is active (ATE1) and AT+IPR=x is entered with other commands you may encounter the following problem: If switching to the new bitrate takes effect while a response is being transmitted, the last bytes may be sent with the new bitrate and thus, not properly transmitted. The following commands will be correctly sent at the new bitrate.

> Syntax

> Test Command AT+IPR=?
> Response(s)
> +IPR: (list of supported auto-detectable <rate>s) , (list of supported fixed-only <rate>s)
> OK

> Read Command AT+IPR?
> Response(s)
> +IPR: <rate>
> OK

> Write Command AT+IPR=<rate>
> Response(s)
> OK
> ERROR
> +CME ERROR

> Reference(s) |  | PIN |  | ASC0 | ASC1 | USB | MUX1 | MUX2 | MUX3 |  |  | Charge | Q | Last
> V.250 |  | - |  | + | ± | - | ± | ± | ± |  |  | - | + | -

> Parameter Description

> <rate>(num)(&V)

> bitrate per second (bps)
> 0
> Activates autobauding. Not supported on ASC1. Not usable with Java. See Section 4.9.1, Autobauding for further details.
> 300
> 600
> 1200
> 2400
> 4800
> 9600
> 14400
> 19200
> 28800
> 38400
> 57600
> 115200
> 230400
> 460800
> (Not available for TC65 Terminal)