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

Committer:
jurica238814
Date:
Wed Dec 19 15:12:25 2018 +0100
Revision:
9:f943c09d9173
Parent:
8:2bf886335fd0
Stable version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jurica238814 8:2bf886335fd0 1 /*
jurica238814 8:2bf886335fd0 2 * U-Blox SARA UDP class
jurica238814 8:2bf886335fd0 3 * Made by Jurica @ aconno
jurica238814 8:2bf886335fd0 4 * More info @ aconno.de
jurica238814 8:2bf886335fd0 5 */
jurica238814 8:2bf886335fd0 6
jurica238814 8:2bf886335fd0 7 #ifndef __UDP_H__
jurica238814 8:2bf886335fd0 8 #define __UDP_H__
jurica238814 8:2bf886335fd0 9
jurica238814 8:2bf886335fd0 10 #include "mbed.h"
jurica238814 8:2bf886335fd0 11
jurica238814 8:2bf886335fd0 12 class Udp
jurica238814 8:2bf886335fd0 13 {
jurica238814 8:2bf886335fd0 14 public:
jurica238814 8:2bf886335fd0 15 Udp(char *ip, int port);
jurica238814 8:2bf886335fd0 16 uint8_t open();
jurica238814 8:2bf886335fd0 17 uint8_t close();
jurica238814 8:2bf886335fd0 18 char *_ip;
jurica238814 8:2bf886335fd0 19 int _port;
jurica238814 8:2bf886335fd0 20 private:
jurica238814 8:2bf886335fd0 21 protected:
jurica238814 8:2bf886335fd0 22 };
jurica238814 8:2bf886335fd0 23
jurica238814 8:2bf886335fd0 24 #endif //__UDP_H__