# EXT\_GPS\_GetCoordinates

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-kalipso-to-mss/gps/ext_gps_getcoordinates
>
> EXT_GPS_GetCoordinates obtém longitude, latitude e altitude da localização atual, com tempo limite de espera em segundos.

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;
