Loadable Function: srl_baudrate (serial, baudrate)\
Loadable Function: br = srl_baudrate (serial)

Set new or get existing serial interface baudrate parameter. Only standard values are supported.

Inputs

serial - instance of octave_serial class.
baudrate - the baudrate value used. Supported values: 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600 19200, 38400, 57600, 115200 and 230400.

If baudrate parameter is omitted, the srl_baudrate() shall return current baudrate value as the result br.

Outputs

br - The currently set baudrate

This function is obsolete. Use get and set method instead.

Package: instrument-control