WIFI library for WIFI Shield of Seeed Studio

Fork of WiflyInterface by mbed official

Revision:
5:26ae56c7cb3d
Parent:
1:fb4494783863
--- a/Wifly/Wifly.h	Fri Aug 24 13:48:36 2012 +0000
+++ b/Wifly/Wifly.h	Thu Dec 19 09:56:59 2013 +0000
@@ -28,9 +28,9 @@
 #define WIFLY_H
 
 #include "mbed.h"
-#include "CBuffer.h"
+#include "CircBuffer.h"
 
-#define DEFAULT_WAIT_RESP_TIMEOUT 500
+#define DEFAULT_WAIT_RESP_TIMEOUT 1500
 
 enum Security {
     NONE = 0,
@@ -52,13 +52,11 @@
     *
     * @param tx mbed pin to use for tx line of Serial interface
     * @param rx mbed pin to use for rx line of Serial interface
-    * @param reset reset pin of the wifi module ()
-    * @param tcp_status connection status pin of the wifi module (GPIO 6)
     * @param ssid ssid of the network
     * @param phrase WEP or WPA key
     * @param sec Security type (NONE, WEP_128 or WPA)
     */
-    Wifly(  PinName tx, PinName rx, PinName reset, PinName tcp_status, const char * ssid, const char * phrase, Security sec);
+    Wifly(  PinName tx, PinName rx, const char * ssid, const char * phrase, Security sec);
 
     /*
     * Connect the wifi module to the ssid contained in the constructor.
@@ -192,8 +190,6 @@
 
 protected:
     Serial wifi;
-    DigitalOut reset_pin;
-    DigitalIn tcp_status;
     char phrase[30];
     char ssid[30];
     const char * ip;