Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ATParser
Fork of ESP8266 by
hwnamedriver.h@2:3a8e1a6c0524, 2015-05-14 (annotated)
- Committer:
- mbedAustin
- Date:
- Thu May 14 01:29:46 2015 +0000
- Revision:
- 2:3a8e1a6c0524
- Parent:
- 1:7fcb6d791d62
- Child:
- 4:844719bff1b1
added function ideas, nothing implimented yet.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbedAustin | 1:7fcb6d791d62 | 1 | /* NetworkInterface Base Class |
| mbedAustin | 1:7fcb6d791d62 | 2 | * Copyright (c) 2015 ARM Limited |
| mbedAustin | 1:7fcb6d791d62 | 3 | * |
| mbedAustin | 1:7fcb6d791d62 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| mbedAustin | 1:7fcb6d791d62 | 5 | * you may not use this file except in compliance with the License. |
| mbedAustin | 1:7fcb6d791d62 | 6 | * You may obtain a copy of the License at |
| mbedAustin | 1:7fcb6d791d62 | 7 | * |
| mbedAustin | 1:7fcb6d791d62 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| mbedAustin | 1:7fcb6d791d62 | 9 | * |
| mbedAustin | 1:7fcb6d791d62 | 10 | * Unless required by applicable law or agreed to in writing, software |
| mbedAustin | 1:7fcb6d791d62 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| mbedAustin | 1:7fcb6d791d62 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| mbedAustin | 1:7fcb6d791d62 | 13 | * See the License for the specific language governing permissions and |
| mbedAustin | 1:7fcb6d791d62 | 14 | * limitations under the License. |
| mbedAustin | 1:7fcb6d791d62 | 15 | */ |
| mbedAustin | 1:7fcb6d791d62 | 16 | |
| mbedAustin | 1:7fcb6d791d62 | 17 | #ifndef HWNAME_DRIVER_H |
| mbedAustin | 1:7fcb6d791d62 | 18 | #define HWNAME_DRIVER_H |
| mbedAustin | 1:7fcb6d791d62 | 19 | |
| mbedAustin | 2:3a8e1a6c0524 | 20 | /* |
| mbedAustin | 2:3a8e1a6c0524 | 21 | These functions can vary greatly between networking devices. The only requirement is they provide |
| mbedAustin | 2:3a8e1a6c0524 | 22 | the functionality needed by the Socket and Interface API's. |
| mbedAustin | 2:3a8e1a6c0524 | 23 | */ |
| mbedAustin | 2:3a8e1a6c0524 | 24 | |
| mbedAustin | 2:3a8e1a6c0524 | 25 | /* |
| mbedAustin | 2:3a8e1a6c0524 | 26 | Functions to impliment |
| mbedAustin | 2:3a8e1a6c0524 | 27 | - Initialize(SingleConnection/MultiConnection) // return object to track current endpoint? |
| mbedAustin | 2:3a8e1a6c0524 | 28 | - Reset() // its initialize but as a handy human readable implimentation |
| mbedAustin | 2:3a8e1a6c0524 | 29 | - OpenConnection(Type TCP/UDP, IPV4/6, blocking/non-blocking) |
| mbedAustin | 2:3a8e1a6c0524 | 30 | - CloseConnection() // empty if single mode, provide return from initialize if in multi mode |
| mbedAustin | 2:3a8e1a6c0524 | 31 | - Send(data) // make a vector to have implicit size? |
| mbedAustin | 2:3a8e1a6c0524 | 32 | - Recieve(dataBuffer, blocking timeout?) // recieve data with a blocking timeout |
| mbedAustin | 2:3a8e1a6c0524 | 33 | |
| mbedAustin | 2:3a8e1a6c0524 | 34 | */ |
| mbedAustin | 2:3a8e1a6c0524 | 35 | |
| mbedAustin | 2:3a8e1a6c0524 | 36 | #endif // HWNAME_DRIVER_H |
