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 Samuel Mokrani

Revision:
10:81445de1fe27
Parent:
3:10b3866f0ea2
--- a/Socket/Endpoint.cpp	Thu Aug 23 15:18:48 2012 +0000
+++ b/Socket/Endpoint.cpp	Thu Aug 23 16:03:52 2012 +0000
@@ -23,6 +23,8 @@
 
 Endpoint::Endpoint()  {
     wifly = Wifly::getInstance();
+    if (wifly == NULL)
+        printf("Endpoint constructor error: no wifly instance available!\r\n");
     reset_address();
 }
 Endpoint::~Endpoint() {}