LAT and LON Commands - Manual Coordinates
Allow manual configuration of the device’s GPS coordinates, useful for equipment in fixed locations.
What is it for?
- 🏠 Fixed equipment — Home alarms, industrial sensors, monitoring equipment
- 🚫 No GPS signal — Tunnels, mines, basements, underground installations
- 🔋 Power saving — Avoid GPS module consumption when not necessary
- 📍 Known position — Devices in permanent and predefined locations
Command Summary
| Command | Function | Range |
|---|---|---|
SLAT<value> | Configure latitude | -90.0° to +90.0° |
SLON<value> | Configure longitude | -180.0° to +180.0° |
QLAT | Query latitude | — |
QLON | Query longitude | — |
Parameters
Latitude (SLAT)
| Value | Hemisphere |
|---|---|
| Positive (+) | North |
| Negative (-) | South |
Longitude (SLON)
| Value | Hemisphere |
|---|---|
| Positive (+) | East |
| Negative (-) | West |
Coordinates must be entered in decimal format, not in degrees/minutes/seconds. Example: -27.78089 instead of 27°46'51"S.
Typical Use Cases
| Case | Description |
|---|---|
| 🏭 Industrial equipment | Sensors in production plants |
| 🏠 Home alarms | Residential security systems |
| 🚇 Underground installations | Tunnels, parking garages, mines |
| 📡 Monitoring stations | Weather or environmental equipment |
Examples
Configure complete location
>SLAT-26.82414<
// Configure latitude: 26.82414° South
>SLON-65.20619<
// Configure longitude: 65.20619° WestVerify configuration
>QLAT<
// Response: RLAT-26.82414
>QLON<
// Response: RLON-65.20619Location in northern/eastern hemisphere
>SLAT40.71278<
// Latitude: 40.71278° North (e.g.: New York)
>SLON-74.00594<
// Longitude: 74.00594° WestManually configured coordinates are retained after device restart. If the equipment has active GPS, the manual position may be overwritten by the real position.
Compatibility
💾Firmware v1.03.00
SPLegacy
ULLegacy
MTLegacy
💾Firmware v1.00.00
SP-IOT
SM-IOT
ZE-IOT
See Also
Last updated