# GPS Connect

Connect to a GPS NMEA device or to the LocationProvider in Android or Windows 10.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MGIW3wIXgRupIGNu8-p%2F-MGIiDGuNcrVFP-DbUma%2FTodos.PNG?alt=media\&token=406123c5-e2bb-4ec6-8044-9533b8686f6f)

### Parameters

* **Serial Port** *\<unquoted string> -* The name of the port that user wants to connect to GPS. Tipically is a Com Port, and user could choose from pre-defined Com Ports from Com1 to Com13. It's also possible defined a port dynamically by choosing option *dynamic* for this parameter.\
  This parameter is ignored by Android and Windows 10 clients. In these clients the GPS API from the device will be used for internal GPS.<br>
* **Baud Rate** *\<numeric> -* The baud rate for the serial port that user wants to connect the GPS. There are several pre-defined values for this parameter. For more information, see the notes.<br>
* **Data Bits** *\<unquoted string> -* The number of data bits transmitted throw the GPS connection. The possible values for this parameter are:&#x20;
  * *7 bits*
  * *8 bits*
  * *dynamic*<br>
* &#x20;**Stop Bits** *\<unquoted string> -* The number of stop bits in the GPS connection. The possible values for this parameter are:
  * *1 bit*
  * *2 bits*
  * *dynamic*<br>
* **Parity** *\<unquoted string> -* The parity of bits in the GPS connection. The possible values for this parameter are:&#x20;
  * *None*
  * *Even*
  * *Odd*&#x20;
  * *Dynamic*<br>
* **Device String** *\<string> -* The name of the device where the GPS is connected. If the user wants to specify a different device string for the connection, he must define a string is this parameter.<br>
* &#x20;**Accuracy** \<numeric>&#x20;
  1. High - To receive coordinates only from the GPS that has high accuracy.
  2. Low - To receive coordinates only from the network connection that has low accuracy.
  3. Any - To receive coordinates from any source, GPS or network connection.

{% hint style="info" %}
When testing the use of this action in the simulator, it may not work correctly.
{% endhint %}

{% hint style="info" %}
On Win32 (Desktop, Mobile and CE) the **Accuracy** parameter is ignored. Only GPS can be used.
{% endhint %}

{% hint style="info" %}
On Windows 10 the **Accuracy** parameter with option **2-Low** can also report high precision coordinates from the GPS, so it works like option **3-Any**.
{% endhint %}
