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:
- 8:2bf886335fd0
- Child:
- 9:f943c09d9173
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aconnoConfig/aconnoConfig.h Fri Nov 30 16:19:41 2018 +0100 @@ -0,0 +1,34 @@ +/** + * aconnoConfig.h + * Config file for SAP project + * Made by Jurica Resetar @ aconno + * More info @ aconno.de + * All rights reserved + */ + +#ifndef __ACONNO_CONFIG_H__ +#define __ACONNO_CONFIG_H__ + +#define USE_C030_BOARD (1) + +#define USER_BUTTON (PC_13) +#define USER_LED (PE_7) + +/* Definitions */ +#define OUTPUT_ENTER_KEY "\r" +#define AT_PARSER_BUFFER_SIZE (256) +#define AT_PARSER_TIMEOUT (8*1000) // Milliseconds +#define STANDBY_TIME_SECONDS (25) +#define TARGET_STM (1) +#define UDP_MSG_SIZE_B (50) + +#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 UPDATE_LOCATION_TIME_MS (5000) + +#endif // __ACONNO_CONFIG_H__