Components / ESP8266

Dependencies:   ATParser

Dependents:   ESP8266Interface

Fork of ESP8266 by NetworkSocketAPI

hwnamedriver.h

Committer:
mbedAustin
Date:
2015-05-14
Revision:
2:3a8e1a6c0524
Parent:
1:7fcb6d791d62
Child:
4:844719bff1b1

File content as of revision 2:3a8e1a6c0524:

/* NetworkInterface 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 HWNAME_DRIVER_H
 #define HWNAME_DRIVER_H
 
 /*
  These functions can vary greatly between networking devices. The only requirement is they provide
  the functionality needed by the Socket and Interface API's. 
 */
 
 /*
 Functions to impliment
- Initialize(SingleConnection/MultiConnection) // return object to track current endpoint? 
- Reset() // its initialize but as a handy human readable implimentation
- OpenConnection(Type TCP/UDP, IPV4/6, blocking/non-blocking)
- CloseConnection() //  empty if single mode, provide return from initialize if in multi mode
- Send(data) // make a vector to have implicit size?
- Recieve(dataBuffer, blocking timeout?) // recieve data with a blocking timeout 
 
 */
 
 #endif // HWNAME_DRIVER_H