diff options
Diffstat (limited to 'location/location.h')
-rw-r--r-- | location/location.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/location/location.h b/location/location.h new file mode 100644 index 0000000..8ffa3ed --- /dev/null +++ b/location/location.h @@ -0,0 +1,13 @@ +#ifndef LOCATION_H +#define LOCATION_H + +#include "legato.h" + +// Used to convert GPS int to double +#define GPS_DECIMAL_SHIFT 6 +// Used for distance calculations +#define MIN_REQUIRED_HORIZ_ACCURACY_METRES 10 // TODO validate this +#define POLL_PERIOD_SEC 2 * 60 +#define RETRY_PERIOD_SEC 1 + +#endif // LOCATION_H |