ap

Dependencies:   DnsQuery

Dependents:   WizFi310_TCP_Echo_Server_Example

Fork of NetworkSocketAPI by NetworkSocketAPI

Revision:
18:dd05ebdd2546
Child:
21:35ed15069189
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EthernetInterface.h	Sat Aug 29 07:30:52 2015 +0000
@@ -0,0 +1,42 @@
+/* EthernetInterface Base Class
+ * Copyright (c) 2015 ARM Limited
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ETHERNETINTERFACE_H
+#define ETHERNETINTERFACE_H
+
+#include "NetworkInterface.h"
+
+///* wifi_security_t enum for encryption types
+// */
+//typedef enum wifi_security_t {
+//    WI_NONE = 0,    /*!< No security for connection */
+//    WI_WEP,         /*!< WEP  encryption */
+//    WI_WPA,         /*!< WPA  encryption */
+//    WI_WPA2,        /*!< WPA2 encryption */
+//} wifi_security_t;
+
+/** EthernetInterface class.
+    This is a common interface to handle how ethernet connects to a router
+ */
+class EthernetInterface : public NetworkInterface
+{
+public:
+
+    // make sure to import the base symbol that needs an implementation for classes that have ap and phrase in the constructor
+    using NetworkInterface::connect;
+};
+
+#endif