modified by ohneta

Dependents:   HelloESP8266Interface_mine

Fork of NetworkSocketAPI by NetworkSocketAPI

EthernetInterface.h

Committer:
ohneta
Date:
2015-11-10
Revision:
20:efe7e291422b
Parent:
18:dd05ebdd2546

File content as of revision 20:efe7e291422b:

/* 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