# GPS Connect

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

Action available for the following operating systems:

![](/files/-MGIiDGuNcrVFP-DbUma)

### 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:
  * *7 bits*
  * *8 bits*
  * *dynamic*<br>
* **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:
  * *None*
  * *Even*
  * *Odd*
  * *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>
* **Accuracy** \<numeric>
  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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-gps/gps-connect.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
