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 u-blox

aconnoConfig/aconnoConfig.h

Committer:
jurica238814
Date:
2018-11-30
Revision:
8:2bf886335fd0
Child:
9:f943c09d9173

File content as of revision 8:2bf886335fd0:

/**
 * 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__