summaryrefslogtreecommitdiff
path: root/telelogger
diff options
context:
space:
mode:
Diffstat (limited to 'telelogger')
-rw-r--r--telelogger/config.h3
-rw-r--r--telelogger/telelogger.ino2
2 files changed, 4 insertions, 1 deletions
diff --git a/telelogger/config.h b/telelogger/config.h
index e55ee89..38d3b9c 100644
--- a/telelogger/config.h
+++ b/telelogger/config.h
@@ -15,6 +15,9 @@
#define LOG_FORMAT FORMAT_TEXT
#define STREAM_FORMAT FORMAT_TEXT
+// change this to your own URL
+#define SERVER_URL "http://live.freematics.com/test"
+
/**************************************
* Accelerometer & Gyro
**************************************/
diff --git a/telelogger/telelogger.ino b/telelogger/telelogger.ino
index bd5a5ba..05d2866 100644
--- a/telelogger/telelogger.ino
+++ b/telelogger/telelogger.ino
@@ -441,7 +441,7 @@ private:
strcat(p, q + 1);
}
#endif
- gprs.httpConnect("http://home.mediacoder.net.au:8000/tick", gprs.response);
+ gprs.httpConnect(SERVER_URL, gprs.response);
}
break;
case HTTP_CONNECTING: