Extending the X_NUCLEO_IDW01M1 to allow configuration of the board as an access point

Dependents:   X_NUCLEO_IDW01M1_AP_Test

Fork of X_NUCLEO_IDW01M1 by ST

Revision:
9:d2dfbf8e7f49
Parent:
8:0f302a13e21b
Child:
12:3799f8475c8a
--- a/Spwf_API/SpwfSADevice.cpp	Thu May 12 07:36:13 2016 +0000
+++ b/Spwf_API/SpwfSADevice.cpp	Fri May 13 06:59:56 2016 +0000
@@ -238,13 +238,13 @@
         wait_for_socket_data = true;
         recv_timer.stop();
         recv_timer.reset();
-        wait_ms(10);
+        wait_ms(1);
         if(bytes_read == 0) //<bytes_to_read?? 
             return -1;//return error if no bytes are read!
         else 
             return bytes_read;//return amount of data arrived so far
     }
-    wait_ms(10); //CHECK:TODO: Need to wait to allow other IRQ's to run in case of non-blocking call?
+    wait_ms(1); //CHECK:TODO: Need to wait to allow other IRQ's to run in case of non-blocking call?
     return -1;    
 }