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.cpp	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
+*/
+
+#include "mbed.h"
+#include "STM32Bsp.h"
+
+/*
+DigitalOut redLed(RED_LED_PIN);
+DigitalOut blueLed(BLUE_LED_PIN);
+DigitalOut greenLed(GREEN_LED_PIN);
+*/
+void bsp_init()
+{
+    bsp_ctrl_led(redLed, LED_OFF);
+	bsp_ctrl_led(greenLed, LED_OFF);
+	bsp_ctrl_led(blueLed, LED_OFF);
+}
+
+void bsp_ctrl_led(DigitalOut led, led_state state)
+{
+    led = state;
+}
+
+void bsp_toggle_led(DigitalOut led)
+{
+    led = !led;
+}
+
+int bsp_read_button()
+{
+    //return userButton.read();
+}