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
aconnoConfig.h
00001 /** 00002 * aconnoConfig.h 00003 * Config file for SAP project 00004 * Made by Jurica Resetar @ aconno 00005 * More info @ aconno.de 00006 * All rights reserved 00007 */ 00008 00009 #ifndef __ACONNO_CONFIG_H__ 00010 #define __ACONNO_CONFIG_H__ 00011 00012 #define USE_C030_BOARD (1) 00013 00014 #define USER_BUTTON (PC_13) 00015 #define USER_LED (PE_7) 00016 00017 /* Definitions */ 00018 #define OUTPUT_ENTER_KEY "\r" 00019 #define AT_PARSER_BUFFER_SIZE (256) 00020 #define AT_PARSER_TIMEOUT (8*1000) // Milliseconds 00021 #define STANDBY_TIME_SECONDS (25) 00022 #define TARGET_STM (1) 00023 #define UDP_MSG_SIZE_B (50) 00024 00025 // Max wait time to get new location [s] 00026 #define MAX_TIME_GNSS_WAIT_S (10) 00027 #define START_ALARM_S (1) 00028 #define STOP_ALARM_S (5) 00029 #define BUTTON_PRESSED_SIGNAL (0x12002300) 00030 #define ALARM_SIGNAL (0x12341230) 00031 #define ALARM_OFF_SIGNAL (0x12341231) 00032 #define IDLE_SIGNAL (0x12341232) 00033 #define LOCATION_SEARCH_DONE (0x12341233) 00034 00035 #define UPDATE_LOCATION_TIME_MS (5000) 00036 00037 #endif // __ACONNO_CONFIG_H__
Generated on Tue Jul 12 2022 15:46:17 by 1.7.2