| Github Repo | C Header | C source | JS source | 
|---|---|---|---|
| mongoose-os-libs/location | mgos_location.h | 
Provides a function to get latitude and longtitude; so far it merely
returns the configured values. Example usage, in the app's mos.yml:
libs:
  - origin: https://github.com/mongoose-os-libs/location
config_schema:
  - ["device.location.lat", 53.3242381]
  - ["device.location.lon", -6.385785]
bool mgos_location_get(struct mgos_location_lat_lon *loc);
edit this docFills provided
locwith the device location data (currently device just uses values from the config), seestruct mgos_location_lat_lon. Returnstrueon success,falseotherwise.