A library for talking to Multi-Tech's Cellular SocketModem Devices.

Dependents:   M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more

Files at this revision

API Documentation at this revision

Comitter:
jengbrecht
Date:
Tue Dec 31 22:09:21 2013 +0000
Parent:
118:da77017d6c09
Child:
120:3051dd49fa3a
Commit message:
Added small delay after Wifi close so that subsequent isOpen calls would return correctly.

Changed in this revision

wifi/Wifi.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/wifi/Wifi.cpp	Tue Dec 31 22:02:07 2013 +0000
+++ b/wifi/Wifi.cpp	Tue Dec 31 22:09:21 2013 +0000
@@ -332,7 +332,8 @@
             return false;
         }
     }
-
+    
+    wait(1); //Wait so the subsequent isOpen calls return correctly.
     io->rxClear();
     io->txClear();