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/aconnoHelpers/aconnoHelpers.h	Fri Nov 30 16:19:41 2018 +0100
@@ -0,0 +1,30 @@
+/**
+ * aconno helpers header
+ */
+
+#ifndef __ACONNO_HELPERS_H__
+#define __ACONNO_HELPERS_H__
+
+#include "gnss.h"
+
+#define CHECK_TALKER(s) 		((buffer[3] == s[0]) && (buffer[4] == s[1]) && (buffer[5] == s[2]))
+
+/**
+ * Standard integer to string function
+ * @param  num  	Integer to convert
+ * @param  str  	Pointer to the buffer
+ * @param  base 	Number's base
+ * @return      	Pointer to the output string
+ */
+
+extern "C" char* itoa(int num, char* str, int base);
+
+/**
+ * Standard string reverse function
+ * @param str 		Pointer to the string
+ */
+void reverse(char *str);
+
+bool getGPSData(char *location, GnssSerial *gnss);
+
+#endif	//