Hardware Information

+CBAUD, Baud Rate Regulation

This command sets the baud rate. The baud rate of the G24-L is changed/set to the request value <rate> written in the command.

Specifying a value of 9 or 0 disables the function and allows operation only at rates automatically detectable by the G24-L. The specified rate takes effect following the issuing of any result code(s) associated with the current command line.

The UART is configured according to the request, or to the specific constant baud rate or auto baud rate after output "OK" response to the terminal. For example, AT+CBAUD=8 is equivalent to AT+CBAUD=57600. Using AT+CBAUD with the <rate> value other than 9 or 0 disables the auto baud rate detection feature.

 

 

 

Command Type

Syntax

Response/Action

 

 

 

 

 

 

Set

AT+CBAUD=<n>

OK

 

AT+CBAUD=<rate>

or:

 

 

ERROR

 

 

 

Read

AT+CBAUD?

+CBAUD: <rate>

 

 

 

Test

AT+CBAUD=?

+CBAUD: (list of supported <n>s, list of

 

 

supported <rate>s)

 

 

 

 

 

 

The following table shows the +CBAUD parameters.

Table 3-84: +CBAUD Parameters

 

 

 

<Parameter>

 

Description

 

 

 

 

 

 

<n> <rate>

0

Auto baud rate

 

1

600

 

2

1200

 

3

2400

 

4

4800

 

5

9600

 

6

19200

 

7

38400

 

8

57600

 

9

Auto baud rate

 

10

115200

 

11

300

 

12

230400

 

13

460800

 

The default value is 9.

 

 

 

 

 

 

Example

AT+CBAUD=57600

 

or

 

AT+CBAUD=8

//These commands have the same effect

OK

 

3-132

G24-L AT Commands Reference Manual

April 15, 2008

Page 196
Image 196
PIONEERPOS G24-LC manual +CBAUD, Baud Rate Regulation, 84 +CBAUD Parameters, Parameter Description Rate