A fork of the original interface for OS/2. Features a correctly-implemented recv (but retains the old behavior via recv2).

Dependencies:   BufferedSerial

Dependents:   weather_clock weather_clock

Revision:
41:264902b160ea
Parent:
40:0a83315aea0a
Child:
42:3f62103a4f3c
--- a/ESP8266/ESP8266.cpp	Mon May 04 12:04:54 2015 +0000
+++ b/ESP8266/ESP8266.cpp	Thu May 07 03:37:55 2015 +0000
@@ -224,7 +224,7 @@
 
     } else {
         // Failure
-        DBG("getIPAddress() failed");
+        ERR("getIPAddress() failed");
         ip = NULL;
     }
     return ip;
@@ -342,7 +342,7 @@
     Timer tmr;
     int result = 0;
 
-    DBG("will send: %s\r\n",cmd);
+    DBG("sendingCommand: %s",cmd);
 
     attach_rx(true);
 
@@ -379,7 +379,7 @@
                 while (readable())
                     getc();
 
-                DBG("check: %s\r\n", checking.c_str());
+                DBG("check: %s", checking.c_str());
 
                 attach_rx(true);
                 return -1;