summaryrefslogtreecommitdiff
path: root/telelogger
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2015-05-19 21:23:31 +1000
committerStanley Huang <stanleyhuangyc@gmail.com>2015-05-19 21:23:31 +1000
commit8d73a665c0c9854a05b569d944733686946f2574 (patch)
treec0caa84e1f11b0f16178b4a155ec6d48a482578f /telelogger
parent063932b9ebad74d711049bf8f2b3727956a17c93 (diff)
download2021-arduino-obd-8d73a665c0c9854a05b569d944733686946f2574.tar.gz
2021-arduino-obd-8d73a665c0c9854a05b569d944733686946f2574.tar.bz2
2021-arduino-obd-8d73a665c0c9854a05b569d944733686946f2574.zip
Update Telelogger
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: