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
Diff: UBloxSara/udp.h
- Revision:
- 8:2bf886335fd0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/UBloxSara/udp.h Fri Nov 30 16:19:41 2018 +0100
@@ -0,0 +1,24 @@
+/*
+ * U-Blox SARA UDP class
+ * Made by Jurica @ aconno
+ * More info @ aconno.de
+ */
+
+#ifndef __UDP_H__
+#define __UDP_H__
+
+#include "mbed.h"
+
+class Udp
+{
+ public:
+ Udp(char *ip, int port);
+ uint8_t open();
+ uint8_t close();
+ char *_ip;
+ int _port;
+ private:
+ protected:
+};
+
+#endif //__UDP_H__
