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: Socket/Endpoint.cpp
- Revision:
- 10:81445de1fe27
- Parent:
- 3:10b3866f0ea2
diff -r aeddb7353e6e -r 81445de1fe27 Socket/Endpoint.cpp --- 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() {}