The program sends the current location over the cellular network.
Dependencies: aconno_I2C ublox-at-cellular-interface gnss ublox-cellular-base Lis2dh12 ublox-cellular-base-n2xx ublox-at-cellular-interface-n2xx low-power-sleep
Fork of example-gnss by
Diff: aconnoConfig/aconnoConfig.h
- Revision:
- 9:f943c09d9173
- Parent:
- 8:2bf886335fd0
--- a/aconnoConfig/aconnoConfig.h Fri Nov 30 16:19:41 2018 +0100 +++ b/aconnoConfig/aconnoConfig.h Wed Dec 19 15:12:25 2018 +0100 @@ -22,12 +22,15 @@ #define TARGET_STM (1) #define UDP_MSG_SIZE_B (50) +// Max wait time to get new location [s] +#define MAX_TIME_GNSS_WAIT_S (10) #define START_ALARM_S (1) #define STOP_ALARM_S (5) #define BUTTON_PRESSED_SIGNAL (0x12002300) #define ALARM_SIGNAL (0x12341230) #define ALARM_OFF_SIGNAL (0x12341231) #define IDLE_SIGNAL (0x12341232) +#define LOCATION_SEARCH_DONE (0x12341233) #define UPDATE_LOCATION_TIME_MS (5000)