![](/media/cache/profiles/b5c4ec91390a6fbccf8d918d443563ed.jpg.50x50_q85.jpg)
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/aconnoConfig.h@8:2bf886335fd0, 2018-11-30 (annotated)
- Committer:
- jurica238814
- Date:
- Fri Nov 30 16:19:41 2018 +0100
- Revision:
- 8:2bf886335fd0
- Child:
- 9:f943c09d9173
Aconno init commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jurica238814 | 8:2bf886335fd0 | 1 | /** |
jurica238814 | 8:2bf886335fd0 | 2 | * aconnoConfig.h |
jurica238814 | 8:2bf886335fd0 | 3 | * Config file for SAP project |
jurica238814 | 8:2bf886335fd0 | 4 | * Made by Jurica Resetar @ aconno |
jurica238814 | 8:2bf886335fd0 | 5 | * More info @ aconno.de |
jurica238814 | 8:2bf886335fd0 | 6 | * All rights reserved |
jurica238814 | 8:2bf886335fd0 | 7 | */ |
jurica238814 | 8:2bf886335fd0 | 8 | |
jurica238814 | 8:2bf886335fd0 | 9 | #ifndef __ACONNO_CONFIG_H__ |
jurica238814 | 8:2bf886335fd0 | 10 | #define __ACONNO_CONFIG_H__ |
jurica238814 | 8:2bf886335fd0 | 11 | |
jurica238814 | 8:2bf886335fd0 | 12 | #define USE_C030_BOARD (1) |
jurica238814 | 8:2bf886335fd0 | 13 | |
jurica238814 | 8:2bf886335fd0 | 14 | #define USER_BUTTON (PC_13) |
jurica238814 | 8:2bf886335fd0 | 15 | #define USER_LED (PE_7) |
jurica238814 | 8:2bf886335fd0 | 16 | |
jurica238814 | 8:2bf886335fd0 | 17 | /* Definitions */ |
jurica238814 | 8:2bf886335fd0 | 18 | #define OUTPUT_ENTER_KEY "\r" |
jurica238814 | 8:2bf886335fd0 | 19 | #define AT_PARSER_BUFFER_SIZE (256) |
jurica238814 | 8:2bf886335fd0 | 20 | #define AT_PARSER_TIMEOUT (8*1000) // Milliseconds |
jurica238814 | 8:2bf886335fd0 | 21 | #define STANDBY_TIME_SECONDS (25) |
jurica238814 | 8:2bf886335fd0 | 22 | #define TARGET_STM (1) |
jurica238814 | 8:2bf886335fd0 | 23 | #define UDP_MSG_SIZE_B (50) |
jurica238814 | 8:2bf886335fd0 | 24 | |
jurica238814 | 8:2bf886335fd0 | 25 | #define START_ALARM_S (1) |
jurica238814 | 8:2bf886335fd0 | 26 | #define STOP_ALARM_S (5) |
jurica238814 | 8:2bf886335fd0 | 27 | #define BUTTON_PRESSED_SIGNAL (0x12002300) |
jurica238814 | 8:2bf886335fd0 | 28 | #define ALARM_SIGNAL (0x12341230) |
jurica238814 | 8:2bf886335fd0 | 29 | #define ALARM_OFF_SIGNAL (0x12341231) |
jurica238814 | 8:2bf886335fd0 | 30 | #define IDLE_SIGNAL (0x12341232) |
jurica238814 | 8:2bf886335fd0 | 31 | |
jurica238814 | 8:2bf886335fd0 | 32 | #define UPDATE_LOCATION_TIME_MS (5000) |
jurica238814 | 8:2bf886335fd0 | 33 | |
jurica238814 | 8:2bf886335fd0 | 34 | #endif // __ACONNO_CONFIG_H__ |