wifly/socket interface for wifly modules

Dependents:   PROJET_MATTHIEU_2019 PROJET_MATTHIEU_2019

Revision:
8:9a3cd07ed7e8
Parent:
7:a92dbed32890
Child:
11:b912f91e3212
--- a/Wifly/Wifly.h	Thu Aug 23 12:59:19 2012 +0000
+++ b/Wifly/Wifly.h	Thu Aug 23 14:08:08 2012 +0000
@@ -42,7 +42,7 @@
 
 public:
     /*
-    * Constructor for joining open, wep or wpa secured networks
+    * Constructor
     *
     * @param tx mbed pin to use for tx line of Serial interface
     * @param rx mbed pin to use for rx line of Serial interface
@@ -50,7 +50,7 @@
     * @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 wpa true if wpa security false otherwise
+    * @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);