Name
GetBaudRate -- get baud rate for serial port connection (V8.0)
Synopsis
baud = GetBaudRate(id)
Function
This command can be used to get the baud rate for the serial port connection specified in id. This serial port connection must have been opened using OpenSerialPort() before.

The return value will be one of the following special constants:

#BAUD_300:
300 bits per second.
#BAUD_2400:
2400 bits per second.
#BAUD_4800:
4800 bits per second.
#BAUD_9600:
9600 bits per second.
#BAUD_19200:
19200 bits per second.
#BAUD_38400:
38400 bits per second.
#BAUD_57600:
57600 bits per second.
#BAUD_115200:
115200 bits per second.
#BAUD_460800:
460800 bits per second.

Inputs
id
identifier of the serial port connection to use
Results
baud
current baud rate as a special constant (see above)

Show TOC