GDP group 24 node core

Dependencies:   EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue

Files at this revision

API Documentation at this revision

Comitter:
Trumple
Date:
Tue Jan 13 21:43:39 2015 +0000
Parent:
13:344f559bf5ec
Child:
17:215899ba8b8e
Commit message:
Remove redundant second call to getLocalAddress for basenode

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Jan 13 21:34:08 2015 +0000
+++ b/main.cpp	Tue Jan 13 21:43:39 2015 +0000
@@ -12,7 +12,7 @@
 time_t pollInterval = 30;
 
 
-bool isBasenode = false;
+bool isBasenode = true;
 string fieldID = "testfield";
 
 http h = http();
@@ -239,7 +239,6 @@
     
     if (isBasenode)
     {
-        getLocalAddress();
         h.connect();
         
         string timestampStr = h.get("time.bitnode.co.uk", 80, "/");