GDP group 24 node core
Dependencies: EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue
Diff: main.cpp
- Revision:
- 15:1d98f45717bc
- Parent:
- 10:13176e7bd4c8
- Child:
- 21:a32666afce7a
--- 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, "/");