Added support to NetworkSocket API with Wifi.

Dependencies:   FP MQTTPacket

Dependents:   IDW01M1_Cloud_IBM IDW01M1-MQTT IDW01M1-MQTT-1 IDW01M1-MQTT3 ... more

Fork of MQTT by ST Expansion SW Team

Revision:
48:66826ea709ea
Parent:
47:24f2bf2819a5
--- a/MQTTSocket.h	Wed Sep 28 13:11:35 2016 +0000
+++ b/MQTTSocket.h	Wed Sep 28 15:34:12 2016 +0000
@@ -29,8 +29,7 @@
 // int start = t.read_ms();
         int rc = mysock.recv((char*)buffer, len);
 // int stop = t.read_ms();       
-        if (rc>0) 
-//           printf ("recv File: %s, Line: %d Read nB: %d rc: %d timeout: %d elaps: %d\n\r",__FILE__,__LINE__, len, rc, timeout, stop-start);        
+//        if (rc>0) printf ("recv File: %s, Line: %d Read nB: %d rc: %d timeout: %d elaps: %d\n\r",__FILE__,__LINE__, len, rc, timeout, stop-start);        
         return rc;
     }