- Auto reconnect - Added is_associated

Fork of WiflyInterface by mbed official

Files at this revision

API Documentation at this revision

Comitter:
bogdanm
Date:
Wed Oct 23 14:34:33 2013 +0000
Parent:
6:5176e0864078
Child:
8:e387c1d18663
Commit message:
Fix the issue with the library and the RTOS working together by using the new thread safe RawSerial class (instead of Serial).

Changed in this revision

Wifly/Wifly.h Show annotated file Show diff for this revision Revisions of this file
--- a/Wifly/Wifly.h	Thu Oct 17 23:23:00 2013 +0000
+++ b/Wifly/Wifly.h	Wed Oct 23 14:34:33 2013 +0000
@@ -28,6 +28,7 @@
 #define WIFLY_H
 
 #include "mbed.h"
+#include "RawSerial.h"
 #include "CBuffer.h"
 
 #define DEFAULT_WAIT_RESP_TIMEOUT 500
@@ -208,7 +209,7 @@
     };
 
 protected:
-    Serial wifi;
+    RawSerial wifi;
     DigitalOut reset_pin;
     DigitalIn tcp_status;
     char phrase[30];