Christopher Haster / ESP8266Interface

Dependencies:   ESP8266

Fork of ESP8266Interface by NetworkSocketAPI

Revision:
50:2d7f6b97234e
Parent:
49:750ed1b67483
Child:
51:eb8c3577e22d
--- a/ESP8266Interface.h	Fri Feb 26 17:33:55 2016 +0000
+++ b/ESP8266Interface.h	Mon Feb 29 23:05:00 2016 +0000
@@ -36,7 +36,7 @@
     virtual int32_t connect(
         const char *ssid,
         const char *pass,
-        wifi_security_t security = WI_NONE);
+        ns_security_t security = NS_SECURITY_NONE);
 
     virtual int32_t disconnect();
 
@@ -44,7 +44,7 @@
     virtual const char *getIPAddress();
     virtual const char *getMACAddress();
 
-    virtual SocketInterface *createSocket(socket_protocol_t proto);
+    virtual SocketInterface *createSocket(ns_protocol_t proto);
     virtual void destroySocket(SocketInterface *socket);
 
 private: