ACTUALIZED LIBRARY 0 Open (Default) 1 WEP-128 2 WPA1 3 Mixed WPA1 & WPA2-PSK 4 WPA2-PSK 5 Not Used 6 Adhoc, Join any Adhoc network
Dependents: mbed_Arduino_sensor
Fork of WiflyInterface by
Diff: WiflyInterface.cpp
- Revision:
- 7:a92dbed32890
- Parent:
- 4:74bfdd00362a
--- a/WiflyInterface.cpp Thu Aug 23 11:49:33 2012 +0000 +++ b/WiflyInterface.cpp Thu Aug 23 12:59:19 2012 +0000 @@ -1,7 +1,7 @@ #include "WiflyInterface.h" -WiflyInterface::WiflyInterface(PinName tx, PinName rx, PinName reset, PinName tcp_status, const char * ssid, const char * phrase, bool wpa) : - Wifly(tx, rx, reset, tcp_status, ssid, phrase, wpa) {ip_set = false;} +WiflyInterface::WiflyInterface(PinName tx, PinName rx, PinName reset, PinName tcp_status, const char * ssid, const char * phrase, Security sec) : + Wifly(tx, rx, reset, tcp_status, ssid, phrase, sec) {ip_set = false;} int WiflyInterface::init() { dhcp = true;