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
Child:
9:f943c09d9173
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/UBloxSara/uBloxSara.h	Fri Nov 30 16:19:41 2018 +0100
@@ -0,0 +1,28 @@
+/**
+ * U-Blox SARA nb-iot module class
+ * Made by Jurica Resetar @ aconno
+ * More info @ aconno.de
+ */
+
+#ifndef __U_BLOX_SARA_H__
+#define __U_BLOX_SARA_H__
+
+#include "mbed.h"
+#include "udp.h"
+
+class UBloxSara
+{
+	public:
+		UBloxSara(ATCmdParser *at, Udp udp);
+		bool setup();
+		void sendCommand(char *command);
+		void sendUdpMsg(char *msg, char *flags = "");
+		uint8_t connectNB();
+		void checkNetworkStatus(char *response);
+	private:
+		ATCmdParser *_at;
+		Udp _udp;
+	protected:
+};
+
+#endif // __U_BLOX_SARA_H__