> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/mss-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-kalipso-to-mss/gps/ext_gps_getcoordinates.md).

# EXT\_GPS\_GetCoordinates

Function to get the coordinates of the current location.

*Input parameters*:

* inTimeout – Timeout in seconds to wait for the coordinates;

*Output parameters*:

* outResultCode – Return code: 1 – Coordinates obtained / 0 – Error getting coordinates;
* outErrorMessage – Error message if any error occurred getting the coordinates;
* outLongitude – Longitude of the current place;
* outLatitude – Latitude of the current place;
* outAltitude – Altitude of the current place;
