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

Revision:
8:2bf886335fd0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/STM32Bsp/STM32Bsp.h	Fri Nov 30 16:19:41 2018 +0100
@@ -0,0 +1,35 @@
+/*
+* Aconno Board Support Packet
+* Made by Jurica Resetar @ aconno
+* More info @ aconno.de
+*/
+
+#ifndef __STM_BSP_H__
+#define __STM_BSP_H__
+
+#include "mbed.h"
+
+#define BUTTON_TRUE		(1)
+#define BUTTON_FALSE	(!BUTTON_TRUE)
+
+#define USER_BUTTON_PIN     (PC_13)
+#define RED_LED_PIN			(PE_4)
+#define GREEN_LED_PIN		(PE_3)
+#define BLUE_LED_PIN		(PE_1)
+
+extern DigitalOut redLed;
+extern DigitalOut blueLed;
+extern DigitalOut greenLed;
+
+
+enum led_state{
+    LED_ON = 0,
+    LED_OFF = 1
+};
+
+void bsp_init();
+int bsp_read_button();
+void bsp_ctrl_led(DigitalOut led, led_state state);
+void bsp_toggle_led(DigitalOut led);
+
+#endif // __STM_BSP_H__