# Serial Open

Opens a serial port.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MGNrRhE4X1yoH0bXC6I%2F-MGNsZjeYMKt8-HvBB5n%2FTodos%20menos%20IOS.PNG?alt=media\&token=25a0b0e6-f318-4a38-b3f3-5b71460a3fb0)

### Parameters

* **Serial Port** *\<unquoted string> -* The name of the port that user wants to open. Typically its a Com Port, and user could choose from pre-defined Com Ports from Com0 to Com13. It's also possible defined a port dynamically by choosing option *dynamic* for this parameter. In Win32 (Desktop/Mobile/CE) if this value is negative it will refer to a LPT port. In Android it **DeviceString** is not specified it will try to find a port on the system with a number matching this specified number, but in you should always use **DeviceString** parameter in Android.
* **Baud Rate** *\<numeric> -* The baud rate for the serial port that user wants to open. There are several pre-defined values for this parameter. For more information, see the notes.
* **Data Bits** *\<unquoted string> -* The number of data bits transmitted throw the serial port. The possible values for this parameter are: *7 bits*, *8 bits* or *dynamic*.
* **Stop Bits** *\<unquoted string> -* The number of stop bits in the serial port. The possible values for this parameter are: *1 bit*, *2 bits* or *dynamic*.
* **Parity** *\<unquoted string> -* The parity of bits in the serial port. The possible values for this parameter are: *None*, *Even*, *Odd* or *dynamic*.
* **Timeout** *\<numeric> -* The timeout in milliseconds defined for this serial port.
* **Tries** *\<numeric> -* The number of tries defined for this serial port.
* **Device String** *\<string> -* The name of the device string specifying the serial port to open. Leave empty for system default in Windows. For example "BT1:" in Windows or "/dev/ttyS1" in Android.

{% hint style="info" %}
The pre-defined values for the **Baud Rate** are: 110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 38400, 56000, 57600, 115200 and 128000.
{% endhint %}

{% hint style="info" %}
If **Device String** value is specified, the actual number in **Serial Port** is ignored to open the port, but you must specify the same **Serial Port** in subsequent **Serial ...** actions called to use the same port opened in this action.
{% endhint %}

{% hint style="info" %}
In Win10 for Bluetooth devices you can use **Device String** to specify the name of the Bluetooth device you want to connect to, specifying the COM port number for Bluetooth virtual COM port will not work.
{% endhint %}
