From 8d73a665c0c9854a05b569d944733686946f2574 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Tue, 19 May 2015 21:23:31 +1000 Subject: Update Telelogger --- telelogger/config.h | 3 +++ telelogger/telelogger.ino | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3