for testing wifi

Dependents:   ESP8266_Test_WIFI

Fork of ESP8266Interface by Steve Kim

Revision:
21:690526f05fe6
Parent:
13:41098c907200
Child:
28:91e65e22e63a
--- a/Socket/Socket.cpp	Mon Dec 01 09:28:02 2014 +0000
+++ b/Socket/Socket.cpp	Tue Dec 02 04:16:26 2014 +0000
@@ -19,6 +19,8 @@
 #include "Socket.h"
 #include <cstring>
 
+extern Serial pc;
+
 Socket::Socket() : _blocking(true), _timeout(1500) {
     wifi = ESP8266::getInstance();
     if (wifi == NULL)
@@ -26,6 +28,7 @@
 }
 
 void Socket::set_blocking(bool blocking, unsigned int timeout) {
+    pc.printf("set blocking: %d %d\r\n", blocking, timeout);
     _blocking = blocking;
     _timeout = timeout;
 }