GDP group 24 node core

Dependencies:   EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue

Revision:
27:61e67ab47da5
Parent:
23:b57a47c7862a
diff -r 172b585fbb10 -r 61e67ab47da5 http.cpp
--- a/http.cpp	Wed Jan 28 20:22:48 2015 +0000
+++ b/http.cpp	Wed Jan 28 20:40:15 2015 +0000
@@ -17,6 +17,11 @@
     #endif
 }
 
+bool http::isEthernetConnected()
+{
+    return string(eth.getIPAddress()).size() > 0;
+}
+
 string http::get(string address, int port, string url, int replyTimeout)
 {
     #ifdef DEBUG